Basic game logic implemented