Hey everyone,
I have to make a simple Javascript game for a school assignment. I tried a lot of stuff already, but I can't get it to work.
My idea is a russian roulette game, where your able to chose the amount of bullets you want to put in the revolver. The higher the amount, how more chance you have to lose offcourse. It is kind of the idea of this version I found:
http://www.javascriptkit.com/script/...roulette.shtml
The only problem is, that I'm not allowed to use it in html. I have to use console.log instead of the picture. A seperated window to be more precise.
Anyone that can help me making this game? I don't think it's very hard but I just started Javascripts and I don't understand anything of it. Especially making the computer chose a random number between 1-6 to decide whether you are dead or not.
Thank you in advance,
Houstyn