The game consists of multiple rounds. In each round players are presented a question, a choice of answers, and have to select one answer within the allotted time (10 seconds or so). Players that chose a correct answer advance to the next round. Those who chose the wrong answers are eliminated. The game continues until there’s only one winner left.
- The application runs in completely automatic mode - i.e no admin intervention should be required to start the game (once a minimum number of players have joined) or advance the game to the next round.
- The application allows running multiple games simultaneously.
- The application allows a reasonably large number of players to participate in each game (think hundreds).
- The application displays statistics about player choices at the end of each round (how many players have chosen each answer).
- Pull the project to your local system from the development branch of of the git repository in some directory.
- Point to the project directory which contains manage.py file from the Terminal.
- Create a virtual environment and activate it.
- Install the requirements from the ' pip install -r requirements.txt ' command.
- Run python manage.py runserver
- Request http://127.0.0.1:8000/ and Check if home page appears in the browser.
- If sucessfull, Run 'python manage.py createsuperuser' and create a superadmin
- Login to admin site http://127.0.0.1:8000/admin/
- Add question with question number, marks, answer options and set the correct answer.
- To play quiz in real time redis server has to be run in the background.
- Install docker and run ' docker run -p 6379:6379 -d redis:5'
- Register Users and Join to play the game.
Note : .env file has to be added that contains secret key(ping me)