Skip to content

vmayushan/MathQuiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MathQuiz

A real-time browser-based math game for up to 10 concurrent users. The game is structured as a continuous series of rounds, where all connected players compete to submit the correct answer first. The number of rounds is not limited, players can connect at any time and start competing.

Getting Started

Docker way

To start run the following command in root directory

docker-compose up -d

To stop serving run

docker-compose down -v

Running the tests

Run the following command in ./src/backend/ directory

dotnet test

Scheme of work

Broadcast event bus messages

  • UserConnected
  • UserDisconnected
  • ChallengeFinished
  • ChallengeUpdated
  • UserScoreUpdated

Broadcast messages are used as SignalR backplane, to notify users on all application nodes.

Round-robin event bus messages

  • ChallengeStarting

Round-robin message ChallengeStarting performs load balancing between all application nodes for generating and starting new math challenges.

Built With

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published