A Dice Game for Kids. Very simple and enjoyable trivia game that is built entirely out of Javascript and uses [ChanceJS] (https://chancejs.com/index.html) for random number generation and [Tabulator] (https://tabulator.info/) for presenting scores in a nicely formatted table.
This game was built for kids. But, generally anyone likes to play trivia games can try. It's a way to relieve your stress and have fun with your kids.
Currently, this game can only be played on one device sharing controls with other players. It is best presented on laptops, tablets and desktop computers. In the future, I might introduce a better version to play the game remotely using another device.
If you have no one to play, the game presents a robot player called "Shakuni". Shakuni is a mythological character derived from the Hindu epic "Mahabharata", wherein, Shakuni is mastermind behind a dice game that leads Pandavas and Kauravas go for a epical war. In this game, the player Shakuni has been configured to play in three levels which is from naive to clever. You can choose your level and play with him.
Note that the last dice has to match with the number you need to hit the target. For example, if you are on 95 and need 5 more point to reach 100, you must get 5 or less to move forward. A six point dice will not make you reach 100.
The game is designed such a way that you mine gold and diamond coins as you race. The gold and diamond coins will be added when your Total Score lands on the magical numbers that are associated with Gold and Diamond. Landing on some numbers will also grab them off from your bucket. If your audio is on, you will hear sounds of coin collection and loss. Winning a game means, you earn 10 Golds and 1 Diamond from the mining authority. Remaining ones, you should mine.
The game has a scoreboard that you can access when you complete a game. It maintains the scores, gold, diamonds data of all the players. It also provides a glimpse of how many games each player has played so far and how many of them the player has won. Double-clicking on each row will take you to the corresponding player's profile.
The games provides a way to customize your avatar and view game assets. When you get started with the game, you will gain access to use 1 avatar. As you earn more gold and diamond, remaining avatars will be unlocked automatically. Try checking the profiles page after you earn 5 diamonds or 50 gold coins.
There are 4 ways to get started:
- If you want to run this locally on your computer, simply download the zip file of this repository, extract the files and click on the index.html
- If you have git installed on your computer, simply clone the respositor using the following command in your terminal:
git init https://github.com/arjunken/Raceto100.git
. This will create a separate folder with the repository name. Open the folder and click on index.html. - If you have a personal website, copy the entite folder to a specific path and access your website.
- I have made this app accessible to all at this path https://arjunken.github.io/Raceto100/.
I would like to see if people are liking this trivia game. If you like it, please "star" this repository or fork it to customize.