/russian-roulette

Game russian roulette yang dikembangkan oleh Daffa Ahmad Ibrahim

Primary LanguageHTMLMIT LicenseMIT

Russian-Roulette Javascript

Game russian roulette HTML and Javascript created and developed by Daffa Ahmad Ibrahim

revolver

Demo

You can Click here for demo.

How to install

  1. Clone repository
git clone https://github.com/Daffabot/russian-roulette.git
  1. Open russian-roulette/index.html file in your browser

Example Usage

function fireit(){
var spin = Math.floor(Math.random()*6);

if (spin<=document.fire.bullets.value-1) {
//Use code to declare defeat
}
else{
//Use code to declare a win
}
}

Collaborators

Feel free to contribute! You can collaborate with us.