Wishray Wiki

A central hub for intelligent game design and play.

User Tools

Site Tools


fabio:fabio

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
fabio:fabio [2020/03/27 08:52]
jasonp [Basic Concepts]
fabio:fabio [2020/03/29 08:08] (current)
jasonp [Game Code Pages]
Line 14: Line 14:
  
   * **Games**: These are groups of scripts that are all loaded to support the functions of a game. They also contain embedded themes for the web view, but those can be overridden by an instance easily. So a game is just a bunch of scripts, that give functions to the players. Game's will be able to inherit from other games, so it's possible your game '​D20'​ might depend on '​std-lite'​ and just add scripts on top of the ones already provided by game you are deriving from. Games support both multiple and hierarchical inheritance,​ meaning you can both inherit from multiple games, and those games can inherit from other games. Each game itself is a page of code on this wiki, as seen below: [[#Game Code Pages]]. ​   * **Games**: These are groups of scripts that are all loaded to support the functions of a game. They also contain embedded themes for the web view, but those can be overridden by an instance easily. So a game is just a bunch of scripts, that give functions to the players. Game's will be able to inherit from other games, so it's possible your game '​D20'​ might depend on '​std-lite'​ and just add scripts on top of the ones already provided by game you are deriving from. Games support both multiple and hierarchical inheritance,​ meaning you can both inherit from multiple games, and those games can inherit from other games. Each game itself is a page of code on this wiki, as seen below: [[#Game Code Pages]]. ​
-  * **Instances**: ​There are one instance ​of data for a specific ​game in use. An instance is tied to the user that created it, but not actually to the game itself (it's just data).+  * **Instances**: ​These are specific instances ​of data for a game in use. An instance is tied to the user that created it, but not actually to the game itself (it's just data). Special theme data in instances overrides the games internal theme information so it can be skinned specifically for a given game, giving the final html output it's own look.
  
 ==== Wiki Linkage ==== ==== Wiki Linkage ====
  
 The FabIO bot maintains local copies of scripts from games on this wiki. Editing a game page here has no immediate effect. You must tell the bot in DM to $upload <​game-name>​. Then it'll parse the wiki page, find all the scripts, copy them locally, and compile them into a game state for use. Any errors it finds will be reported directly to you in response. The FabIO bot maintains local copies of scripts from games on this wiki. Editing a game page here has no immediate effect. You must tell the bot in DM to $upload <​game-name>​. Then it'll parse the wiki page, find all the scripts, copy them locally, and compile them into a game state for use. Any errors it finds will be reported directly to you in response.
 +
 +==== HTML Output ====
 +
 +You can find the output of the bot here: [[http://​fabio.unusualperson.com/​games]].
 ===== Game Code Pages ===== ===== Game Code Pages =====
 +
 +  * [[boot]] - This is a common script loaded by all games before anything else starts. Maintained by JasonP.
  
   * [[std-lite]] - A generic all purpose game with support for a lot of very basic stuff. Counters, Dice, Sheets, etc. Maintained by JasonP.   * [[std-lite]] - A generic all purpose game with support for a lot of very basic stuff. Counters, Dice, Sheets, etc. Maintained by JasonP.
fabio/fabio.1585324321.txt.gz ยท Last modified: 2020/03/27 08:52 by jasonp