ollej / GoldQuest

A simple multi-user co-op text based dungeon quest game with multiple client options.
MIT License
2 stars 0 forks source link

Game plugin directory structure #3

Closed ollej closed 13 years ago

ollej commented 13 years ago

Game Plugins should be placed in separate directories, and main class should automatically load all available games.

game/<name>/main.py - extra web code, will be called on route /game/<name>
game/<name>/plugin.py - main plugin class
game/<name>/views - extra views used by the game and web pages
game/<name>/stylesheets - extra stylesheets used by the web pages
game/<name>/stylesheets/game.css - stylesheet automatically added to game
game/<name>/javascript - extra javascript for web pages
game/<name>/images - images used by game and web pages