How to Make a Retro 2D JavaScript Game