This was a really well-explained hack, I loved reading this, well done! So fascinating to see that bot logic runs client-side, that the code just creates two ‘seats’ for players to connect to, and you exploited all that info in a masterful way. Bravo!
Here’s some resources that I use often: