Fixed recursive call and change to game logic