Skip to content

lydrainbowcat/directors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Directors

A collection of tiny directors for Mistytown games.

Battle Royale

066大逃杀行动提交与反馈工具

Instruction

Make sure you have Python3 installed.

Install all dependencies in requirements.txt and run python main.py in a virtual env.

Specification

This server is based on Python3 and Flask framework.

main.py: to start the server.

server.py: defined all the routers.

action.py: detailed logic of Battle Royale rules.

data.py: definition of data structures, including roles, places and items, saved in Python dict.

message.py: all the logic about message and feedback between director and actors.

user.py: registered users.

templates/*.html: frontend Jinja2 templates.

All the data are hardcoded and saved in memory.

TODO

Persistent storage and initialization from JSON file.

About

雾雨小镇小型导演工具系列

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published