GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - abarbu/machinations: An implementation of machinations

BranchesTags
Open more actions menu

Latest commit

 

History

43 Commits
43 Commits

Folders and files

NameName
Last commit message
Last commit date
docopt
docopt
 
 
nix
nix
 
 
ours
ours
 
 
server
server
 
 
src
src
 
 
test
test
 
 
xmls
xmls
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
default.nix
default.nix
 
 
hie.yaml
hie.yaml
 
 
machinations.cabal
machinations.cabal
 
 
package.yaml
package.yaml
 
 
shell.nix
shell.nix
 
 
stack.yaml
stack.yaml
 
 
stack.yaml.lock
stack.yaml.lock
 
 

Repository files navigation

Machinations.io implementation in Haskell with some extra abilities

Supports: Sources, Pools, Drains, Gates, Converters, Traders, Delays, Queues and Resource edges State edges with triggers (! and *), label modifiers, interval modifiers, and resource test are supported.

Register are missing. Modifiers related to probabilities are missing. Probabilities on state edges that leave gates are triggers, not yet implemented.

Generated resources and killed resources are accurate, other stats are not yet tested

Extensions to machinations:

  1. Resources have unique UUIDs
  2. Nodes can be triggered by external events (arbitrary tags). Store a list of comma-separated tags in the node label like "MyNode;tag1,tag2". The resulting node will be triggered automatically whenever that external event is sent.
  3. (TODO) Resources edges can contain constraints, such as only allowing resources that participated in a collision. These are also stored as separated by semicolons, like ">3;type(other)=="bullet"", which only allows resources that collided with a bullet to go through this edge (in addition to its other constraints).

Compile with: stack build

Run tests: stack test

Run the server: stack exec machinations-server

With the server up the API is described at: http://localhost:8000/swagger-ui/

About

An implementation of machinations

Topics

gamedevhaskellmachinations

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.