Open edaub opened 5 months ago
Re-posting from the Hut23 repo issue:
@alexeatscake found this library, which encapsulates the main rules and classes you would need to set up a cribbage game (e.g. ideas about a hand, scoring, etc): https://github.com/jonathanmcmahon/cribbage
There is also https://github.com/boardgameio/boardgame.io, which is a framework for online renditions of boardgames, with features such as multiplayer, AI and game state checkpoints.
There are a couple of existing open libraries on Github that we can build upon. Links and thoughts from me following a quick look-through:
gym
to train an agent, but it is unclear to me if this is actually implemented in the code.gym
, though uses points as rewards and doesn't account for game state so essentially implements a greedy agent. Doesn't include human agent or a random agent.