finished game logic, which needs debuggin...!