now you don't have to press any number keys. Just click the green flag and it will let you know whether you joined the game or if the game is full. Use your mouse cursor to control scratch cat. Also if two people try to join at the same time, the code kinda bugs out.
This is just a test to see if this works and it does. thx @griffpatch_tutor for the tutorial. Update: finished the 5 part video tutorial and I have tested it with my main account (this one) and my alt account @kayvon352 (plz don't follow that account, it is ded) on a different laptop and it worked. Now I will try to implement this into a game ( i have been requested to make a multiplayer racing game so maybe I might make that.)