Skip to content
/ triolet Public

Haskell simulation of the board game "Triolet"

License

Notifications You must be signed in to change notification settings

yblein/triolet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Triolet

This is a simple simulation of the board game Triolet, written in Haskell.

Game screenshot

Basic rules

Triolet basically is "Scrabble with numbers". The game revolves around three simple constraints:

  • at most 3 tiles can be aligned adjacently;
  • the sum of adjacent aligned tiles must not exceed 15;
  • the sum of 3 adjacent aligned tiles must be equal to 15.

Completing adjacent alignments of 3 tiles is the main objective as it doubles the points earned from the alignment. You can find more information about the game at BoardGameGeek.

Status

All the game mechanics are implemented. Only the computer is playing, and it does so naively: it simply maximizes its points at each turn.

Build and run

cabal new-run triolet

Press any key to advance the simulation.

About

Haskell simulation of the board game "Triolet"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published