Skip to content

chaseklvk/catan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Settlers of Catan Simulator

How to run

Make sure to install the relevant dependencies using

pip3 install -r ./requirements.txt

Run the program

python3 main.py

Todo List (probably incomplete and in no particular order)

  • Player class
  • Resource cards
  • Water tiles (maybe version 2)
  • Main game loop
  • Tile connection
  • Cities and settlements
  • Game strategies

Notes

Generating the board

The board is modeled as a hexagonal graph where each board space is a node and edges represent roads. This is done by first generating the individual board tiles. Each tile starts as a hexagonal subgraph with 6 nodes. Tiles are connected by merging four nodes together, two from each tile, effectively closing a "side" of each tile.

About

settlers of catan in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages