Wednesday, November 2, 2022
HomeGame DevelopmentHow do I deal with a number of matches for a multiplayer...

How do I deal with a number of matches for a multiplayer recreation based mostly on net?


In a multiplayer chess recreation based mostly on net the place the server should validate the performs, retailer the present recreation state and supply the gameboard information to be rendered on consumer aspect, amongst different issues associated to the bussiness guidelines, is it attainable to deal with a number of matches in only one server or I’ve to instantiate one server per match? How is this type of logic typically applied?

My primary concept is to retailer every recreation state on redis, so when an occasion happens(like transferring a chunk), get the state associated to that particular match, deal with the validations, replace it and ship the brand new match state to the purchasers, As I by no means did it earlier than I am unsure if it may well work with a number of matches, what do you guys suppose?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments