Update README.md
This commit is contained in:
parent
4f731fd35a
commit
04d692b15f
1 changed files with 4 additions and 3 deletions
|
@ -22,11 +22,12 @@
|
|||
|
||||
## Список команд, используемых в игре:
|
||||
#### host:
|
||||
- createRoom(host, countWinners)
|
||||
- createRoom(host, countRoundWinners, countGameWinners)
|
||||
- startGame(roomId)
|
||||
- askQuestion(roomId, question)
|
||||
- askQuestion(roomId, tokenId), так как вопросы хоста представляются в виде уникальных NFT-токенов, то мы передаем их ID
|
||||
- endQuestion(roomId)
|
||||
- finishGame(roomId)
|
||||
- getRoundWinner(roomId)
|
||||
- manuallyFinishGame(roomId)
|
||||
#### player:
|
||||
- joinRoom(roomId)
|
||||
- confirmReadiness(roomId)
|
||||
|
|
Loading…
Add table
Reference in a new issue