Skip to content
/ Crib Public

A crib engine to play the card game crib with AI and a card counter

Notifications You must be signed in to change notification settings

joncodo/Crib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a grib simulator that I am making for a Hackathon that I am working on in Fredericton, NB.

The main goal of this project is to practice TDD and AI programming.

The crib engine will play out all the games from two player classes. The player classes contain the AI and will play the game to their best ability.

The final goal is to have people play their player classes against one another and see who wins.

Crib Rules: http://en.wikipedia.org/wiki/Rules_of_cribbage

How to run this???

Download the souce files and store them in a local directory.

Then run ruby crib.rb

You should see the output.

To run the tests:

rspec spec

Or you can test them one by one.

About

A crib engine to play the card game crib with AI and a card counter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages