PyMMO
Python-based MMO game framework using sockets and PyGame.
Install / Use
/learn @luisoutomaior/PyMMOREADME

PyMMO is a Python framework/template of a MMO game built using PyGame on top of Python's built-in socket module. This template implements a simple MMORPG with baked in features such as:
- In-game chat bubbles functionality;
- Action battle system with server-side processing functionality;
- Run on cloud, locally in your machine, or anywhere in-between due to the use of sockets.
- Multithreaded client handling on the server side
- Minimal and easy to use and only requires PyGame as a dependency
Preview:

Requirements
- PyGame 2.0+
Usage
Running the PyMMO server
For all commands below you must be situated in the root folder of this repository.
In one terminal, run server via:
python server.py
Running the PyMMO client template
In another terminal, run the following to open a client, i.e. the game:
python client.py
A game window will open and spawn two entities: a player object, which is your controllable character and comes in magenta; and an enemy object, which you can interact with. Both are added to the server. The names of all entities are shown alongside their health point bars.
Open multiple clients for multiplayer functionality
Open an additional terminal, and run in it the following command to open a new client instance:
python client.py
Adjust network settings by changing IP and port values in macros.py according to your needs.
In-game commands:
- Move your character via up/right/left/down keyboard arrows.
- Attack an enemy or another player by pressing space. This will damage the entity you are overlapping with, and it can damage both "enemy" and "player" entities. When HP bar reaches zero, the entity is killed and removed from the server.
- Chat in-game by pressing any lowercase letter to write text to the in-game chat floatting bubble. Press enter to publish the text bubble you entered to all other players in the scene.
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
90.0kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
343.1kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
