@hackage / swarm

2D resource gathering game with programmable robots

Latest0.7.0.0

About

Metadata

  • Last updated , by BrentYorgey
  • License BSD-3-Clause
  • Categories Game Development
  • Maintained by: byorgey@gmail.com

  • Lottery factor: 1

Links

Installation

Tested Compilers

  1. 9.12.1
  2. 9.10.1
  3. 9.8.2
  4. 9.6.6

Package Flags

Use the -f option with cabal commands to enable flags

    ci (off by default)

    Make warnings error

Readme

Swarm is a 2D programming and resource gathering game. Program your robots to explore the world and collect resources, which in turn allows you to build upgraded robots that can run more interesting and complex programs. See the README for more information and instructions on how to play or contribute!

Module organization

For developers getting oriented, Swarm's modules are organized into sublibraries. Roughly in order from inner to outer, they are:

  • swarm-util: miscellaneous utilities

  • swarm-lang: parsing, typechecking, etc. for the Swarm language

  • swarm-topography: working with location in 2D (sub-)worlds

  • swarm-scenario: scenario descriptions, parsing, & processing

  • swarm-engine: game simulation

  • swarm-doc: generating documentation

  • swarm-tui: textual user interface

  • swarm-web: web interface

  • swarm: the swarm executable

See the Swarm module guide for a more in-depth guide to the codebase.