Ancient Chinese Game Luk Tsut K’i Game in p5.js

Play Simon’s game: https://editor.p5js.org/simontiger/present/1pGeJY7c Code: https://editor.p5js.org/simontiger/sketches/1pGeJY7c Simon learned this game on Brilliant.org at https://brilliant.org/practice/winning-moves/?chapter=competitive-games (Warning: this link will only work if you have a Premium Subscription to Brilliant). Brilliant describes … Continue reading Ancient Chinese Game Luk Tsut K’i Game in p5.js

How Many Dice Rolls Until You Get a Repeat. A Probability Experiment in p5.js

How many times, on average, do you have to roll a dice until you get a repeated value? I saw this probability challenge on the Mind Your Decisions channel. I … Continue reading How Many Dice Rolls Until You Get a Repeat. A Probability Experiment in p5.js

Space-filling Curves in p5.js.

Simon prepared this project as a community contribution for The Coding Train (Simon came up with his own way to draw the Hilbert Curve and added interactive elements to enable … Continue reading Space-filling Curves in p5.js.

Evolving Creatures in p5.js

Simon’s latest independent coding project involved some biology lessons! He loves the channel Primer by Justin Helps and watched his evolution series many times, studying the rules for species’ survival … Continue reading Evolving Creatures in p5.js

Tic-Tac-Tic-Tac-Toe-Toe in p5.js

Simon has programmed this game of Tic-Tac-Tic-Tac-Toe-Toe Game in p5.js from scratch. He and his sister have had hours of fun playing it (and she turned out to be better … Continue reading Tic-Tac-Tic-Tac-Toe-Toe in p5.js

How Simon takes part in the Coding train live sessions

Every live session Daniel Shiffman mentions Simon several times, usually because Simon gives good feedback/ advice. On the other end, Simon is invigorated and jumping about the room. Sometimes resulting … Continue reading How Simon takes part in the Coding train live sessions

Approximating pi and e with Randomness

This has been one of Simon’s most ambitious (successful) projects so far and a beautiful grand finale of 2019, also marking his channel reaching 1K subscribers. The project – approximating … Continue reading Approximating pi and e with Randomness

Galton Board in p5.js

Simon saw a prototype of this Galton Board in a video about maths toys (it works similarly to a sand timer in a see-through container). He created his digital simulation … Continue reading Galton Board in p5.js

Simon Builds a Chess AI with Minimax

I’ve been terrible at keeping this blog up to date. One of Simon’s best project in December 2019 was creating a chess robot and I haven’t even shared it here. … Continue reading Simon Builds a Chess AI with Minimax

Crack Simulation in p5.js

Link to the interactive project and the code: https://editor.p5js.org/simontiger/sketches/n6-WZhMC3 Simon built a simple cellular automaton (rule 22) model for fracture. He read about this model a couple nights before in … Continue reading Crack Simulation in p5.js

Nash Equilibrium

Simon explaining the Nash Equilibrium with a little game in p5.js. Play it yourself at: https://editor.p5js.org/simontiger/sketches/lfP4dKGCs Inspired by TedEd video Why do competitors open their stores next to one another? … Continue reading Nash Equilibrium