Game logic has been fully implemented

Game logic has been completed according to the tutorial.