Skip to content

Game Russian Roulette Released Version1.0.0

Latest
Compare
Choose a tag to compare
@Daffabot Daffabot released this 21 Dec 13:47
· 66 commits to main since this release
00a93d7

@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