Skip to content

Multiplayer Macao game build with javascript and react, using mqtt and http

License

Notifications You must be signed in to change notification settings

ddereszkiewicz/http-and-mqtt-based-macao-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http-and-mqtt-based-macao-game

Macao Game made in javascript using http and mqtt protocols.

Tech Stack

Backend

  • async-mqtt
  • express

Frontend

  • react
  • async-mqtt
  • axios
  • redux

Features

Login Page

2021-03-24

Select Room Page

You can create a new room, or join already existing room provided that you know the room id. 2021-03-24 (1)

Waiting Lobby

Room with chat, list of players and number of spectators. List of players is refreshing everytime a player joins the room. 2021-03-24 (6)

Game Room

  • Rules are just like in a standard macao game.
  • In the left bottom corner is the chat.
  • In the right bottom corner the panel with information about current effect is displayed.
  • Above the panel on the right there is a button, where you can ask other players if you can revert your last move. To revert every player in the game has to agree. 2021-03-24 (7) If your card of choice has some effect requiring you to select some value a panel pops out. 2021-03-24 (9) When the game is finished, the information about the winner pops out and all the players go back to the Waiting lobby with the possibility to start another game. 2021-03-24 (10)

Game Room from spectator perspective

2021-03-24 (8)

About

Multiplayer Macao game build with javascript and react, using mqtt and http

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published