Game that has accompanying tutorials and the full source code
Link
It’s slow and eats up all your memory and cpu due to being implemented in Excel