sample user input game loop

half implemented game loop