Game logic first version