Skip to content

Custom implementation of the Carcassonne game engine using Python. This project will be used to test Reinforcement Learning algorithms. GUI interface built upon Tkinter.

Notifications You must be signed in to change notification settings

tiborcamargo/Carcassython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Carcassython

Implementation of the Carcassonne game using Python, with Tkinter as GUI interface (to-do)

Details

Board

The board is a fixed numpy array, with shape (71, 71)

Tiles

Each tile has an attribute named connections which is a list of size 4. Each element of this list represent a possible connection to the tile.

Suppose you have connections = ['C', 'R', 'R', 'F'], then your tile can connect to: Castle, Road, Road, Field

connection_scheme

Since tiles can be rotated, where rotation = 1 represents no rotation, rotation = 2 represents 90º anti-clockwise rotation and so on. The connections list will consider rotation = 1 as reference frame.

Agent

Scoring

Monte Carlo Tree Search

About

Custom implementation of the Carcassonne game engine using Python. This project will be used to test Reinforcement Learning algorithms. GUI interface built upon Tkinter.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages