Skip to content

jphall93/gamehex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

gamehex

Generates a "Settlers of Catan" game board to be used in a tabletop display. Ports are in fixed positions of 5th edition border pieces.

Numbers are placed "alphabetically" in an inward counterclockwise spiral as per 5th edition rules. Random number placement is not supported(yet).

Dependencies:

  • python 3
  • pygame

Usage

$python gamehex.py
$python gamehex.py <height>
$python gamehex.py <width> <height>

If no arguments are given, the window size defaults to 1500x1388. Because height is the smaller dimension on most displays, one argument will adjust to the specified height while preserving the aspect ratio. Passing two arguments will stretch the board to the specified dimensions.

press "r" to simulate a dice roll and highlight tiles that produce resources.

About

catan board clone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages