Skip to content

somnium is a card game - it was implemented to test the board game lib, now it is used as a test for the CLI

License

Notifications You must be signed in to change notification settings

martinFrank/somnium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Somnium

Somnium is a card game - the idea comes from the Mod 'Fall From Heaven II' for the classical game Civilatzion 4

 CPU     :17
+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+
|ANGEL   |SUN     |WAND    |CUP     |TOWER   |SWORD   |DRAGON  |PENTACLE|MOON    |DEMON   |
+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+
|3       |0       |0       |0       |7       |0       |6       |0       |1       |0       |
+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+


 Table   :59 cards left
+--------+--------+
|SWORD   |DEMON   |
+--------+--------+
|5       |5       |
+--------+--------+


 YOU     :20
+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+
|ANGEL   |SUN     |WAND    |CUP     |TOWER   |SWORD   |DRAGON  |PENTACLE|MOON    |DEMON   |
+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+
|0       |2       |6       |4       |0       |1       |0       |7       |0       |0       |
+--------+--------+--------+--------+--------+--------+--------+--------+--------+--------+
 possible commands [DONE, DRAW, SHOW, EXIT] for player YOU

Feature:

  • working AI Player (not so bad)
  • random starting position
  • this implementation is text-based

requires

fun facts

  • the idea comes from the Civ4-Mod Fall From Heaven 2
  • the original idea was to tes computers AI (as is here)
  • it's also a nice test for the cli

About

somnium is a card game - it was implemented to test the board game lib, now it is used as a test for the CLI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages