editor.sprig.hackclub.com/?id=4351594c41a80e2c5195482e321b5af0 Both singleplayer and multiplayer are basically playable, except for the fact that player 2(blue) will eat its own tail if you click the button to go in complete reverse. The apple will also sometimes spawn under the player, causing the game to essentially end due to lack of an apple(for singleplayer). Same for multiplayer/ If anyone can find a fix for the apple spawning in the tails/heads of the players OR a fix for the player two eating it's own tail(even though player 1 doesnt do that), I would be ever so grateful. Enjoy!
Coded the scores and movement for player one, still many bugs with movement for player 1 and 2 in both modes. The multiplayer is coming on well though, my plan is to code a death when the player head is surrounded by a tail or a wall for the snake game
Coded multiplayer map, but still working on controls and logistics of keeping single player the same while multiplayer works alongside it. I wont post the link to it today because nothing works as intended as of now. Will fix tmrw
Didn't fix apple problem, but i did make a single player multiplayer menu so I can code a multiplayer game later. Making sure these two game modes won't interfere took a while
Snake game, needs bug fixes(apples love to spawn in the tail, and probably more) and aesthetics. Also planning on making diff game modes, like 1 1v1 pvp with slither.io rules