Skip to content

gdonald/blackjack-el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MELPA

Blackjack for Emacs

This package provides the Blackjack card game for your Emacs text editor.

Install

If you use use-package:

Assuming you have MELPA configured, you can add a new entry to your .emacs or init.el:

(use-package blackjack
  :ensure t)

Or for a manual install:

Download and load blackjack.el in your .emacs or init.el:

(load "~/path/to/blackjack.el")

Running blackjack:

Once installed you can run the game like this:

M-x blackjack

Running tests:

Comands make test and make test-coverage are convenience commands available. Tests are written using Buttercup. Test coverage is generated using undercover. Both packages are available from MELPA.

You will need to install Ruby and Simplecov for test coverage to build.

Going broke:

If you run out of money, delete blackjack.txt and restart blackjack. You will get a free $100 for another try.

Screenshots:

Blackjack

Blackjack

Bugs / Issues / Feature Requests

Please report any bugs or issues you find:

https://github.com/gdonald/blackjack-el/issues

License

GitHub

Alternative Implementations:

Code for Blackjack in other programming languages: