Game russian roulette HTML and Javascript created and developed by Daffa Ahmad Ibrahim
You can Click here for demo.
- Clone repository
git clone https://github.com/Daffabot/russian-roulette.git
- Open russian-roulette/index.html file in your browser
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
}
}
Feel free to contribute! You can collaborate with us.