Implemented basic game input polling.