Gambling Mathematics is a project developed by the Department of Visual Media (DVM) for the APOGEE 2024 Technical Fest of BITS Pilani. It was utilized for a Math-based quiz conducted by the Mathematics Association.
In this game, users select a category and place a bet on whether they will answer its corresponding question correctly. Based on their answer, they either gain points or lose them. The game continues until the user runs out of points or completes all the available categories.
The project is built using ReactJS and integrates with backend-fetched randomized data through provided APIs.
- User selects a category.
- User places a bet on whether they will answer the question correctly or not.
- A question related to the selected category is displayed.
- User answers the question.
- If the answer is correct, the user gains points; otherwise, they lose points.
- Steps 2-5 repeat until the user has exhausted all their points or completed all the categories.
To run the application, follow these instructions:
- Clone this repository using:
git clone https://github.com/bit-by-bits/Gambling-Mathematics
- Navigate to the project directory:
cd Gambling-Mathematics
- Install the necessary dependencies:
yarn install
- Run the application:
yarn dev
This command will start the development server and open the application in the default browser.
Contributions to this project are welcome. Please open an issue or submit a pull request if you have any suggestions or improvements.
This project is licensed under the MIT License. See the LICENSE file for details.