python文字游戏源代码_muddery: Muddery是一个用Python编写的在线文字游戏(如MUD)框架,所有的代码都是开源的,采用BSD许可证发布。它使用Evennia(一个MUD游戏框架...
IntroMuddery is an online text game (like MUD) framework in Python. It is licensed under 3-clause BSD license. Muddery bases on Evennia which is a MUD/MU* creation system.#FeaturesMuddery is still und
Intro
Muddery is an online text game (like MUD) framework in Python. It is licensed under 3-clause BSD license. Muddery bases on Evennia which is a MUD/MU* creation system.
#Features
Muddery is still under construction. It will have following features.
It is in Python, so it can run on multiple platforms. Users can install it in just several minutes.
It uses webpage as client. The data between server and client are in JSON. The client is responsible for display, so users can customize the display style by modifying the webpage. Muddery can support simple images and sounds, but it does not support Telnet and other common MUD clients. We may build native app client for it in the future.
It will provide a series of modules, such as battle system, skill system, equipment system, etc. Users can use these modules to build their own game.
It provides an online game editor. Game designers who know little about programing also can use Muddery to build their games.
Installation
Install Python3.7+ and GIT. Start a Console/Terminal.
cd to some place you want to do your development.
git clone https://github.com/muddery/muddery
python -m venv mudenv
source mudenv/bin/activate (Linux, Mac) or mudenv\Scripts\activate (Windows)
pip install -e muddery
muddery --init mygame
cd mygame
muddery start
Muddery should now be running and you can connect to it by pointing your web browser to http://localhost:8000.
If you want to stop the server, you can use muddery stop.
DAMO开发者矩阵,由阿里巴巴达摩院和中国互联网协会联合发起,致力于探讨最前沿的技术趋势与应用成果,搭建高质量的交流与分享平台,推动技术创新与产业应用链接,围绕“人工智能与新型计算”构建开放共享的开发者生态。
更多推荐


所有评论(0)