Python-based MMO game framework using sockets and PyGame.
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:
For all commands below you must be situated in the root folder of this repository.
In one terminal, run server via:
python server.py
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 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.