first infrastructure to implement game logic