Skip to content

Procedural random map generator for Catan-inspired hex boards. Java GUI app with rule-aware generation, PNG export & .map save format.

License

Notifications You must be signed in to change notification settings

SimoGalva/CatanRandomMapGenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Catan Random Map Generator

A procedural map generator for a Catan-inspired hexagonal board game, developed in Java.


🧭 Overview

This project generates playable, rule-compliant maps inspired by Catan + Seafarers. It allows the random generation with custom parameters, including number of island, number of player, if one wants secondary and primary islands and how big they must be relative to the others.

Map generation adheres to key gameplay constraints like token adjacency and resource balance.


🖼️ Screenshots

GUI

GUI Screenshot

Settings

Settings Screenshot

Sample Config File

Config Example

Sample .map File

Map File Example

Exported Printed Map

Printed Map Example


⚙️ Features

  • ✅ Interactive GUI to configure and preview maps
  • 💾 Save/load .map files (plain text format)
  • 🖨️ Export board as PNG
  • 🧠 Persistent user settings via config file
  • 📜 Verbose logging for generation steps

🧪 Procedural Generation Logic

Generation is rule-aware, with randomized placement constrained by:

  • Valid number token rules (no adjacent 6/8)
  • Balanced terrain/resource distribution
  • Dynamic island creation based on user input
  • Player starting zones based on island count

🕹️ Usage

1. Run the Application

  • Requires Java 14+
  • Download the latest Release from the GitHub Releases page (JAR + launcher scripts).
  • After downloading, edit launcher.vbs to point to the correct launcher.bat path on your machine:
batPath = "C:\Path\To\launcher.bat"

About

Procedural random map generator for Catan-inspired hex boards. Java GUI app with rule-aware generation, PNG export & .map save format.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages