gdonald / blackjack-el

Play Blackjack in Emacs

Home Page:https://github.com/gdonald/blackjack-el

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

About

Play Blackjack in Emacs

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

License:GNU General Public License v3.0


Languages

Language:Emacs Lisp 99.5%Language:Ruby 0.3%Language:Makefile 0.2%