add game logic client side