If you like algorithms

You might like reading this tutorial on a very popular problem and solution (the original one).
It is python, but should not stop people from reading this :slight_smile:

https://pieriantraining.com/understanding-dijkstras-algorithm-in-python/?utm_source=email-sendgrid&utm_medium=2769460&utm_campaign=2023-05-19&utm_term=9685726&utm_content=educational

3 Likes

This looks really interesting!

1 Like

Love the article! Thanks for sharing! The only time I ever experimented with path finding was roughly a year ago for fun, the result was an inefficient, barely functioning, mess:laughing:

1 Like

Your pathfinder is pretty cool, you should make it auto-generate a map. I would like to do it myself but IDK how Khan Academy works with code (math is what I use it for)

1 Like

It uses a small simple JS lib so you can just write ES5 JS (ES6 doesn’t work by default without some special tricks)

3 Likes

I love this it is so cool and understanding.

Can you tell me wich tricks? I tried to port a p5js game to khan academy, but I wrote it in ES6 so, it didn’t work…

1 Like