add form validation/game logic