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?