Coding Challenge #91: Snakes & Ladders - Part 1

preview_player
Показать описание


Other Parts of this Challenge:

References:

Videos:

Related Coding Challenges:

Timestamps:
00:00 Introduction
01:10 The Game of Snake & Ladders
04:14 Code! Create Player and Tile classes
05:21 Create a Grid of Tiles
08:56 Make a Zig Zag Path
12:15 Show the Tiles
17:21 Make a Checkerboard Pattern
18:17 Create a Player
18:34 Roll a Die
19:14 Show the Player
21:20 End Condition to the Game
22:41 The Monte-Carlo Simulation
24:43 Compute the Average number of Rolls
30:09 See you in Part 2!

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

#snakesandladders #game #p5js #javascript
Рекомендации по теме
Комментарии
Автор

After almost a year and a half I think it's all starting to click. I don't know how it is for everybody else but it feels like one issue after another when you just get started.

But after encountering the same issue a couple times you start to get a handle on how to solve it quickly. Add a bunch of those together and I start to feel like I'm being productive now.

dominick
Автор

"Ancient Indian Videogame". I really like these kinds of coding challenges where you basically break down a well-known game as simple as possible. It really shows you the basics of programming.

dermathze
Автор

I saw a video of yours 1 year ago and I realized that I really like programming, I wasn’t even understanding what you were writting and now I understand everything and I make my own games, thank you for bringing to us this kind of videos and your sense of humor while explaining something, keep it up!

PS: I don’t have the best english sorry :P

Drakkofire
Автор

Half the time I have no idea what's going on, but you've inspired me to start learning to code with your sense of humor. Keep doing what you're doing

thisdood
Автор

I was finding it hard to keep my kids interested in coding. Then I put them onto this channel. Now if they have a computer turned on there is always a text editor open. Can’t thank you enough.

critstixdarkspear
Автор

I am sad because the Like button is not an OMG ITS ANOTHER AMAZING CODING CHALLENGE FROM THE CODING TRAIN LOOOOVVVEEEE <3 WOWOWOWOWOWOWOW LOVE UR CHANNEL button...

aradarbel
Автор

You Sir inspired me to study Computing Engineering. Thank you for changing my life!

drigocks
Автор

you seem a bit like a real life dr. seuss character. and i totally mean that in a positive way ;)

great channel, keep up the good work :)

Nobiag
Автор

funnily enough i think the most globally known name for this game might just be “eels and escalators” from spongebob. someone should totally make that

fuschia-draws
Автор

I thought Snakes and Ladders is 10 minute challenge? it surprised me that this comes in 3 parts!

simpletongeek
Автор

congrats on 400k!
Coding challenges are my favorite videos.

MarkJay
Автор

I have also made a snakes and ladders for my school project in Python, it will be nice to see how different we make it, I'm sure it will be very different ;)

sadhlife
Автор

But what about the Pepper Pig snakes and ladders?!?! we need to know! - love the video.

jamesfrost
Автор

Thanks for sharing. I find your videos so interesting and entertaining :) I don't even program in javascript, and still watch almost all your videos. I really find your problemsolving so interesting, and even learn a thing or two :) Keep up the good work.

xetop
Автор

Great video Daniel! What about a tutorial on how to build a machine/deep learning algorithm that beats the games you made?

kostasgeorgiou
Автор

The only video that has no dislikes!
Thumbs up!

TheAsadhaider
Автор

what leanguage program you used mister ?

AWP
Автор

At 28:38 shouldn't it be rolls.length-2? You said you didn't want to include the last index in the array but rolls.length-1 would still include that wouldn't it? Meaning that the average rolls will be off. (albeit very slightly)

TheChunkeh
Автор

Why snakes and ladders? Could have made the far superior game Eels and Escalators?

MrMattical
Автор

There is no video of the last live before this one about gradient descent ? Perhaps you plan to redo it ?

Ark-jugt