No description, website, or topics provided.
Perl Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
generate_tileset.sh
readme.markdown
rules.ansp
tile_data.ansp
tiles.png
tileset.ansp
tileset.pl
visualize.pl

readme.markdown

Carcassonne-style Map Generator

This is a declarative (as opposed to procedural) map generator, using the style of the board game Carcassonne.

This depends on Clingo, a tool for Answer Set Programming, and Perl.

There are two aspects to the map generator:

  1. Finding an acceptable answer set for the problem.
  2. Visualizing the result.

To perform these steps, use the follow command:

clingo tile_data.ansp rules.ansp | perl visualize.pl > map.png

Enjoy!