Plot game logic api