completed game logic; starting work on input handling
added some input handling