Trying to build game logic