Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 687 Bytes

readme.markdown

File metadata and controls

18 lines (10 loc) · 687 Bytes

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!