8 ms·
Show HN: I built a JSON based multiplayer framework and platform for web games
- JoeOfTexas 4y agoHello, This is a little hobby project I've been working on for about a year in my diminishing spare time. It all started with an idea of creating a sort of state machine based game development using JSON that synchronizes automatically to clients. My example projects use React, but it can easily extend to any JS Framework as long as it can be bundled into a single bundle.js file. Your server authoritative code uses NodeJS and gets executed in a virtual machine once for every action received, similar to serverless framework. It's very early prototype, but I have a huge emphasis on competitive play, and instant matchmaking. Well, it would be instant if there were players haha. I plan to keep the platform ad-free forever. If any traction is gained, I'll work towards monetization for developers via private rooms, item store, tournaments, and bounties, similar to the Roblox model where hosting is free at scale. If any of this picks your interest, hit me up! --- Play @ https://acos.games https://acos.games Discord @ https://discord.gg/ydHkCcNgHD https://discord.gg/ydHkCcNgHD Docs @ https://docs.acos.games/ https://docs.acos.games/ GitHub @ https://github.com/acosgames/ https://github.com/acosgames/
- schemescape 4y agoVery polished! I managed to not lose at tic-tac-toe, so not too embarrassing. Are games with more than 2 players supported? Edit: I see on the GitHub page that up to 100 players are supported in a "room", but I'm not sure if that maps to an instance of a game or not.
- JoeOfTexas 4y agoYes, I theoretically allow up to 100 players. I was the one who played haha, I get notification on Discord for player queues. Edit: Yes a room is a single game session, that gets destroyed on game over.
- schemescape 4y agoOne comment on the memorization game: there doesn't seem to be a way to visually distinguish repeated notes. (After putting on headphones, I noticed there was a sound played for each note, but it would be nice to have some visual indication as well.)
- JoeOfTexas 4y agoI am horrible at UI, wasn't sure what to do for that. The game is open source, so anyone can submit a PR to the github repo. https://github.com/acosgames/memorize-up https://github.com/acosgames/memorize-up