html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!--
It took me a month to totally design and make everything work properly i left it a few times that it cannot be completed but fixed all of them finally today
Im planning make the bot play like a beast in John Wick mode in my next project i'll try to make a intelligent algorithm for bot that will hunt everypiece making it difficult for the player to win
Your 1 upvote will give me soo much confidence 🔥🔥🔥
NEW RULE (Added on 17th Jan 2022) ::: -+>
You cannot go to the redhome without killing the opponent atleast once but the bot has the power to go as it is weaker than you
You can choose to apply this rule or not by clicking 'OK' or 'Cancel' <+-
-->
<!DOCTYPE html>
<html>
<head>
<title>Ludo by Vinay K</title>
</head>
<body>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
* {
border: 0;
padding: 0;
margin: 0;
outline: 0;
box-sizing:border-box;
}
body {
background-image: url(https://i.ibb.co/PN5V5YS/Capture-2021-09-29-10-31-35-01.jpg);
background-size:cover;
background-repeat:repeat;
background-attachment: fixed;
}
.game {
display: flex;
flex-wrap: wrap;
margin: 20px auto;
position: relative;
width: 100vw;
height: 100vw;
position:absolute;
Enter to Rename, Shift+Enter to Preview
js
js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
window.onload = function () {
var diceMove1 = new Audio("https://dl.dropboxusercontent.com/s/z7kwanleo6vni5x/1%20dice.mp3?dl=0");
diceMove1.preload="auto";
var diceMove2 = new Audio("https://dl.dropboxusercontent.com/s/eq23l4kqjpcc9wf/2%20dice.mp3?dl=0");
diceMove2.preload="auto";
var diceMove3 = new Audio("https://dl.dropboxusercontent.com/s/w1kz4j6rn03o6ti/3%20dice.mp3?dl=0");
diceMove3.preload="auto";
var diceMove4 = new Audio("https://dl.dropboxusercontent.com/s/wxcdu13y1u5qy6d/4%20dice.mp3?dl=0");
diceMove4.preload="auto";
var diceMove5 = new Audio("https://dl.dropboxusercontent.com/s/c3ca85oz3j7gta7/5%20dice.mp3?dl=0");
diceMove5.preload="auto";
var diceMove6 = new Audio("https://dl.dropboxusercontent.com/s/6l73tj7qybhncza/6%20dice.mp3?dl=0");
diceMove6.preload="auto";
var diceDie = new Audio("https://dl.dropboxusercontent.com/s/c2wrdqdnyku82we/Die%20sound.mp3?dl=0");
diceDie.preload ="auto";
var diceSound = new Audio("https://dl.dropboxusercontent.com/s/6sji3hofyb4ztb5/Dice%20roll.mp3?dl=0");
diceSound.preload = "auto";
var pantaSound = new Audio("https://dl.dropboxusercontent.com/s/g956e4zuulplkxr/panta_tone.mp3?dl=0");
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run