Skip to content

A DSL for describing game structures and generating Python code

Notifications You must be signed in to change notification settings

bmaclach/GameStructureLanguage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This Game Structure Language allows you to define a game structure using natural language, then generate a program that manages the progression of the game for you! Notably, this is not a tool for generating games that can be played in isolation. Rather, it generates a "game runner" that will manage the game state and progression, but must be fed the results of external actions, such as decisions made by the players.

Currently, the Game Structure Language is too simplistic to have much practical use. However, it may one day evolve to be practically useful for the purpose for which it is being designed: as a game runner for Online Reality Games (ORGs). In the context of an ORG, this tool could eliminate any potential for human error and decrease the effects of bias from a human host on the results of a game.

  • GSL: Contains the code for the compiler, and instructions for using the tool
  • Examples: Contains 6 example games written in the designed language
  • Grammar: Contains the formal EBNF grammar for the language
  • Plan: Contains the project plan
  • Poster: Contains the poster presenting the project

About

A DSL for describing game structures and generating Python code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published