adding simples version of game logic