Game logic

Game logic has been improved