Coding Challenge #71: Minesweeper



In this challenge, I attempt to code the classic game Minesweeper in JavaScript with the p5.js library. This video builds on some previous tutorials related to the Prototypes and multi-dimensional arrays in JavaScript.

Link to the code: https://github.com/CodingTrain/Rainbow-Code/tree/master/CodingChallenges/CC_71_minesweeper

Support this channel on Patreon: https://patreon.com/codingtrain
To buy Coding Train merchandise: https://codingtrain.storenvy.com
To Support the Processing Foundation: https://processingfoundation.org/support

Send me your questions and coding challenges!: https://github.com/CodingTrain/Rainbow-Topics

Contact:
Twitter: https://twitter.com/shiffman
The Coding Train website: http://thecodingtrain.com/

Links discussed in this video:
Minesweeper on Wikipedia: https://en.wikipedia.org/wiki/Minesweeper_(video_game)
Minesweeper suggestion on GitHub: https://github.com/CodingTrain/Rainbow-Topics/issues/164
Flood fill on Wikipedia: https://en.wikipedia.org/wiki/Flood_fill

Related tutorials:
2D Arrays in JavaScript: https://youtu.be/OTNpiLUSiB4
Prototypes in JavaScript: https://youtu.be/hS_WqkyUah8

Source Code for the all Video Lessons: https://github.com/CodingTrain/Rainbow-Code

p5.js: https://p5js.org/
Processing: https://processing.org

For More Classic Video Games: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6aRpfixWba8ZF6tJnZy5Mfw
For More Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
For an Intro to Programming using p5.js: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

Help us caption & translate this video!

http://amara.org/v/7E3o/

source

Reply


Build A Site Info