/deck.zone

A board game creation tool.

Primary LanguageJavaScript

deck.zone

Running deck.zone

  • clone the repo
  • npm install
  • npm start

Working on deck.zone

  • play around in src

Working on the Decklang Ace theme

  • see src/decklang/ace.js

Working on Decklang

  • the Decklang grammar is in decklang/ (it is parsed with nearley), and can be rebuilt by running npm run build:lang
    • decklang.ne is the main file, including all of the plugins and primitives
    • primitives.ne contains all of the language primitives
    • plugins/ contains all of the directives used by Decklang
  • Decklang has a test program that showcases all of its current features in decklang/test/testdeck.js and can be tested by running npm run test:lang
  • src/decklang/decklang.js is the outputted grammar for the language and is rebuilt every time Decklang is rebuilt
  • src/decklang/decklangparser.js handles processing and pre-processing of any given script for Decklang
  • src/decklang/plugins.json is a list of all plugins (from decklang/plugins/) that is built automatically when Decklang is rebuilt