What knowledge do you need to create a game? Ex console

·

if you wanted to make a video game from scratch. How long would that take? Also what knowledge is needed to accomplish this?