Making 16 Beads Game In HTML CSS And Javascript | battisi | letsbug
Hey everyone in this article we are making game in HTML CSS and Javascript. We are going to use canvas element to make the game. Name of the game is 16 Beads or battisi . If you don't know the rules of the game or how to play it you can view it here . I assume you know HTML canvas and Javascript and how to work. folder structure: -/scripts/ -/main.js -/piece.js -/spot.js -/styles/ -/main.css -/index.html Making 16 Beads Game code: index.html <!DOCTYPE html> <html lang= "en" > <head> <meta charset= "UTF-8" > <meta http-equiv= "X-UA-Compatible" content= "IE=edge" ...