|
|
|
|
|
by BSTRhino
2837 days ago
|
|
Yes, it was based on Warlock, the WarCraft 3 map! I had many fun Friday night LAN parties playing that map and wanted to recreated it! It's TypeScript, canvas, React (for the UI elements), NodeJS and socket.io on the server. The entire simulation is run on the client. It is deterministic so it is just replaying the action stream identically to all the other clients to stay synced. The server is running a pretty simple loop really, every 32 milliseconds it collects all the actions and broadcasts them to all the clients. If there is anything else you want to know, feel free to ask, I'm happy to talk about it :). |
|