Skip to content

rcfox/Carcassonne-Map-Generator

Repository files navigation

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published