Giter Club home page Giter Club logo

catan-engine's Introduction

catan-engine

compositions

catan

outdated as of 07.05.

encodings

component feature description encoding
ITerrainTile Terrain isPasture 1 if true, else 0
isField 1 if true, else 0
isMountain 1 if true, else 0
isHill 1 if true, else 0
isForest 1 if true, else 0
Production necessaryRoll normalized [0, 1], 0 if Desert
odds normalized [0, 1], 0 if Desert
IEdgeTile ReducedTrade (3:1) allowsAny 1 if true, else 0
SpecialTrade (2:1) allowsSheep 1 if true, else 0
allowsWheat 1 if true, else 0
allowsOre 1 if true, else 0
allowsBrick 1 if true, else 0
allowsWood 1 if true, else 0
Vertex (Settlement) Belongs belongsCurrent 1 if true, else 0
belongsOpponent_1 1 if true, else 0
belongsOpponent_2 1 if true, else 0
belongsOpponent_3 1 if true, else 0
IsSettlement placedSettlement 1 if true, else 0
IsCity placedCity 1 if true, else 0
Edge (Road) Belongs see Vertex Belongs see Vertex Belongs
IsRoad* placedRoad 1 if true, else 0
IPlayer (Current) Resources #Sheep [0, 1] by #/19
#Wheat [0, 1] by #/19
#Ore [0, 1] by #/19
#Brick [0, 1] by #/19
#Wood [0, 1] by #/19

* Might be unnecessary since roads only have a single state and Belongs should already indicate that a player has built a road here. Just saw this now.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.