game logic iplementation started