game-bingo

2.0.5 • Public • Published

game-bingo

Known Vulnerabilities domino-game npm version Rate this package

NodeBingo é jogo multiplayer no qual vence quem tiver todos os numeros sorteados primeiro.

Screenshot Felipe Mateus Bingo Game

Installing

Para instalar digite o codigo abaixo

npm i node-bingo-game

Building

npm run build 

Running

npm start

How game works

The server draws in a certain time several numbers of a range each user can dial the numbers as the server races, the user is only declared winner if they complete with all the numbers drawn if the user presses the bingo button in a different declared situation loser.

Diagram

Note right of Client: Client open connection

Client->Server: Send "NEW CONNECTION"
Server-->Client: Send "NEW NUMBER POINTS"
Server-->Client: Send "NUMBERS DRAW"
Server-->Client: Send "NEW CARD"

Note right of Server:  Server draw a number
Server->Client: Send "DRAW NUMBER"

Note right of Server:  Stastistic info
Server->Client: Send "INFO"

Note right of Client:  Select number
Server->Client: Send "select number"

Note right of Client: Button Bingo
Client->Server: Send "button bingo"
Server-->Client:Send  "YOU LOST"
Note right of Client: The server send "you lost" or "you win"
Server-->Client:Send  "YOU WIN"

Veja mais sobre o Bingo.

Author

Dependents (0)

Package Sidebar

Install

npm i game-bingo

Weekly Downloads

1

Version

2.0.5

License

CC-BY-4.0

Unpacked Size

1.37 MB

Total Files

28

Last publish

Collaborators

  • felipefm32