Skip to content

Releases: Daffabot/russian-roulette

Game Russian Roulette Released Version1.0.0

21 Dec 13:47
00a93d7
Compare
Choose a tag to compare

@Daffabot create a game russian roulette using

  • xhtml
  • javascript
  • css

game mechanics.
option value gives the loaded bullet number value then uses the math.random javascript function to calculate the probability and feeds it into the javascript condition.

if it is shot it will modify the classlist in the iframe tag to display an animation of being shot, alert that it was shot and play the audio of the shot

if it fails to get shot it will modify the classlist in the iframe tag to display the failed shot animation, alert that it is safe and play the failed shot audio