Online Snake Snake

Summary Suddenly I found that my snake was not online yet, so I made up a simple online snake program. Main Implementation Requirements The server's user link logic (main loop) and game run logic (in n threads) maintain a customer information vector s and a game information map. A match can have two users (as many as possible can expand ...

Posted by carefree on Thu, 14 Oct 2021 09:14:24 -0700