Extracted a draw function to use in a game loop.

The function draws all of the platforms in the game to the screen, using
ncurses.