July 17, 2021

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.


Links discussed in this video:
🔗Minesweeper suggestion:
🔗Flood fill:

🎥 2D Arrays in JavaScript:
🎥 Prototypes in JavaScript:

Video editing by Mathieu Blanchette.

🎥Coding Challenges:
🎥Intro to Programming:

🔗 p5.js:
🔗 Processing:

📄 Code of Conduct:
🌐Help us caption and translate:
🚩Suggest Topics:
👾Share your contribution:

Nguồn: https://sam-pointer.com/

Xem thêm bài viết khác: https://sam-pointer.com/game/

in Game
Related Posts

TES Maths ROTW 85 – Diffy

July 17, 2020

July 17, 2020 4

What is it? This is the first secondary school maths lesson our lovely new bunch of Year 7s experience each...

Giant Warship Battle | Dude Perfect

July 13, 2020

July 13, 2020 23

IT’S TIME TO SINK SOME SHIPS! Thanks to World of Warships for sponsoring this video! If you’re all about action...

Finding Dory Memory Match Game from Spin Master

July 9, 2020

July 9, 2020 1

Finding Dory Memory Match Game! Fun matching game from Spin Master! 72 tiles with pictures of movie characters Dory, Nemo,...

Game Maker Minecraft Tutorial #1 – Terrain Generation

July 16, 2020

July 16, 2020 33

Make Video Games 2018 ► In this video we learn how to create an entire terrain generation system within Game...

Frozen Game | VTech Toys UK

July 10, 2020

July 10, 2020

Join your favourite Frozen friends, Anna and Elsa, and begin their adventure at the castle in Arendelle. Compatible with VTech’s...

Piggin Boogers Family Fun Games for Kids Yucky Boogers Slime Egg Surprise Toys Cry Baby Sour Candy

July 12, 2020

July 12, 2020

Piggin Boogers Family Fun Kids Game with Ryan ToysReview! Ryan’s Family played yucky Boogers Slime game where winner gets egg...

Special Counter Force Attack ★ GamePlay ★ Ultra Settings

July 16, 2020

July 16, 2020 14

Join the special force team to take down a major threat in this gritty, boots on the ground shooter. Be...

The Generation Gap Premiere Episode 1969 (w/ commercials)

July 14, 2020

July 14, 2020 28

The Generation Gap featuring special guests Bill Kenny and Ohio Express (Includes intro to “The Honeymoon Race”). The Generation Gap...

Talking Pierre the Parrot Gameplay Episode Android iOS iPhone iPad

July 14, 2020

July 14, 2020 21

Talking Pierre is in the house! Are you ready for some amazing guitar shredding? Pierre now rocks Smoke on the...

Game Categories Lite Plugin Tutorial for PSP | Homebrew Application To Organize Apps, Games, & Emu's

July 10, 2020

July 10, 2020 13

Welcome to another one of my PSP tutorial videos. Today I bring you a very nice plugin to install which...

ECO Server Play #3 – Water Wheel Power, Ore Smelting and Pollution

July 17, 2020

July 17, 2020 3

More progress on the Eco server! You can support me and the channel! Read more here: Showing off what I’ve...

Food Truck Chef Hack/Cheats – Get Unlimited Coins & Gems

July 13, 2020

July 13, 2020

Hey buddies! Now you can learn how to get unlimited Food Truck Chef Coins and Gems with our Food Truck...

San Antonio Spurs vs Washington Wizards Full Game Highlights | April 5, 2018-19 NBA Season

July 14, 2020

July 14, 2020 11

🟢 TIP JAR/DONATIONS: or $HNBMedia 🏀 Subscribe here: 🏀 Subscribe to Hoops & Brews: Visit HNBSports.com for more video, articles...

The Tale of Five Kingdoms English Gameplay Android / iOS

July 9, 2020

July 9, 2020 16

The tale of Five Kingdoms by IWPLAY WORLD (ANDROID/iOS/iphone/ipad) ►►► SUBSCRIBE PROAPK FOR MORE GAMES : ◄◄◄ Famous Korea game...

[Android/IOS] The tale of Five Kingdoms – English Version Gameplay

July 14, 2020

July 14, 2020 8

[Android/IOS] The tale of Five Kingdoms (王國5:繼承者) – English Version Gameplay Famous Korea game developer presents! SS rank Korean style...

  • "Neighbour count says there are no bees, so we have to reveal all neighbours, but not if they are bees"… This annoyed me more than it should have xD

  • I am going ti try and replicate this using pygame since I'm not quite good yet with js at all but I guess I've never tried pygame before but worth a shot

    Edit: Just did it, it was a lot harder than I thought since pygame's documentation is quite confusing for me anyw it was fun learning something new might try more things with pygame

  • I am trying to do this too but when i create the array from what ive seen in the first 12 minutes the grid is in the topleft corner and i cant see if every square has 4 lines

  • Hey I love your videos! Love the way you explain what you're doing and how you break down problems. I really enjoyed the maze video. I'm new to p5.js but I think it's a very clever platform. I've been watching your videos (usually when taking a break from work…) and this time I decided to try to make the exercise before watching your video. Here is what I came up with https://editor.p5js.org/lex.uhlmann/sketches/jtG-53xSx. You can middle click to flag cells. Now I'm gunna watch your video and see how you did it, probably differently, probably covering more edge cases than me 😀 Anyways, keep up the awesome content (and hope everything is going okay these days…) Peace!

  • easy to make it so you dont spawn a bee within a distance from the first click, just generate the whole map on the first click

  • Thanks for your "the coding train", here is my mine sweeper, http://dinochen.com/article.asp?id=330
    use delphi

  • One Thing That I Think Is Amazing About Daniel Is, Even Though His Fanbase Praises Him, His Ego Remains And His Head Is'nt The Size Of Earth

Leave a Reply

Your email address will not be published. Required fields are marked *