Player matchmaking system built with MUD2 for Autonomous World Hackathon
Note: the demo video in the project page is showing a version that didn't work (lol I uploaded the wrong video for my hackathon submission). See a functional demo video here.
This projects uses MUD2 framework with React. It used the ECS framework from MUD2 and is managed by a single RoomSystem with Room entity containing State, Game, RoomLimit and players components. The in-app game is currently achieved by using an iframe directing to the client URL of the MUD2 game. The iframe URL contains the room entity ID as a param and allows the game to bootstrap the game session with the provided room ID. And example integrated game can be found in https://github.com/y77cao/minecollector.
Note that the current design of GameRoom posts some requirements for how the integrated games should be implemented. It requires the game to create and manage game sessions around room IDs, which means that the games that are suitable to be integrated are the ones that are multi-player and session based, like chess, mafia, or other strategic games, etc.
To run:
$ cd mud-game-room
$ pnpm install
$ pnpm run dev