tyoras / cards

Gihub mirroring of https://gitlab.com/tyoras/cards - Card games implementations using advanced FP techniques in Scala.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Card Games Pipeline Coverage Docker

Card game implementations using advanced FP techniques in Scala.

The goal is to both have fun implementing these games and experimenting functional programming techniques.

Architecture

The project is designed around a set of modules :

  • core contains basic concepts useful modeling a card game and games logic implementations.
  • config contains the game logic implementations.
  • persistence contains the details related to the postgresql persistence of the games.
  • cli contains a cli oriented UI for the games.
  • server (Work in progress) contains a web server for playing the games via restful apis.

Finished games

None yet.

Work in progress

Schnapsen

Schnapsen is an austrian game, it is the first game I have decided to implement because of its medium complexity which is a good first challenge.

Its game logic implementation is designed as a FSM.

Game rules references

War

The classic and basic game.

Game rules references

About

Gihub mirroring of https://gitlab.com/tyoras/cards - Card games implementations using advanced FP techniques in Scala.

License:MIT License


Languages

Language:Scala 99.7%Language:Dockerfile 0.2%Language:Shell 0.1%