Shithead
A card game I learnt a long time ago. This gem encapsulates a lot of the game logic, and plays games automatically for you with very basic AI. There's not yet a way to play the games yourself in an interactive fashion.
Installation
$ gem install shithead
Usage
Use the command-line tool to see a game played between as many opponents as you care to name. If you have 4 opponents, two decks will be combined (else the games are a little short!).
$ shithead Clarke Dawe
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/pat/shithead. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
License
The gem is available as open source under the terms of the MIT License.
Code of Conduct
Everyone interacting in the Shithead project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.