Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

tails142

1
Posts
A member registered Apr 21, 2022

Recent community posts

I think for a fast paced multiplayer game websockets are probably a better solution, http fetches would be slower and websockets allow push/pull communication. If it was a turn based sort of game then what you propose may be enough. Fetch is still fine for one-off steps (e.g. get player list on join, register zones, or occasional refresh). You should probably consider using a db for data (even sqlite at first) rather than a file and flock() too as it may not deal with concurrency as well.