make docker-server
- Install node
- Install yarn (
npm i -g yarn
)
make dev-gui
make test-gui
- User sends
/start
. Common for any TG bot. - Bot greets user with info message about how to use the bot.
- User sends
/challenge
command to a bot - Bot creates PENDING game for this user.
- Bot sends button with link to this game to a user. Button is the link in following format:
t.me/botName?start=GAME_ID
- User forwards message with the button to the opponent
- Opponent clicks the button and clicks 'start' button in the bot
- Both players get prompt to run the app from bot menu
- Players play the game and get prompt to
/challenge
someone again