Building games inn jvascript is not that difficult , all you need is keep testing & practicing it.
Mke a goal and follow it sincerely and believe me you will ultimately master the art of creating games in javsscript.
You can play the game at github
At the end i will show you how can easily make one with your theme.
its all about interrogation is you are a suspect (in the game, obviously) and we will ask you some dozens of questions and you need to be loyal at every time.
if you lie then the game will over and a scorecard appears in. the more you remember the high will be the score!
Is'nt amazing? It improves your memory give it a try!
We ask you the question and you set each unique question's answer then on the next time if that particular question appear you need to select the answer which you'd chosen first that's within 10 seconds.
The question will come in random sequence and the optons too.
Each questions option will too come in random sequence.
The timer ticks upto 10 seconds!
Be fast & LOYAL.
Purpose behind the game
I found this game in google play store Indefinite: Interrogation Game by Brandon li.
BUILD YOUR OWN IN A MINUTE
here is a code shot
There are some random question i picked a different theme you may pick any depending upon your imagination. and can easily tune it to make your own one.
This shows that you need to a assign a question as
quiz[index] = new Question("___your question_____", "__option1___", "___option2___", "___option3____" , "____option4____");
quiz = new Question("What is your name?", "Ayush", "vicki", "mehul" , "kavya");
The game have 4 options and will appear in random.