Skip to content

Commit

Permalink
Tie a bow on another release.
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieHess committed Aug 18, 2015
1 parent 90787da commit 81b30f8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ A bot that turns Slack into a legitimate Texas Hold'em client. Start a game in a
This bot can do all of the following:
- [x] Initiate a game and poll players to join
- [x] Handle player order, blinds, and betting
- [x] Handle chip stacks / pot calculations
- [x] Send player's pocket cards as a DM
- [x] Display board images
- [x] Handle chip stacks / pot calculations
- [x] Handle split pots / side pots
- [x] Determine the best hand

It still lacks support for:
- [ ] Split pots
- [ ] Deployability
- [ ] Custom configuration

Expand All @@ -42,7 +42,7 @@ The tests produce legible output that matches what users in Slack would see. Thi
![](https://s3.amazonaws.com/f.cl.ly/items/2T2c472a3M390J2T2t3I/Image%202015-07-23%20at%202.26.12%20PM.png)

### Dependencies
# [NodeJS Slack Client](https://github.com/slackhq/node-slack-client)
* [NodeJS Slack Client](https://github.com/slackhq/node-slack-client)
`node-slack-client` abstracts the basics of a Slack bot, including authentication, getting messages from players, and posting messages or attachments to the channel.

* [RxJS](https://github.com/Reactive-Extensions/RxJS)
Expand All @@ -57,4 +57,4 @@ Each card is a separate image, and board images are created on the fly by pastin
* [MochaJS](http://mochajs.org/)
Most of the tricky client logic is backed up by tests, which were written using `MochaJS`.

# [Vector Playing Cards](https://code.google.com/p/vector-playing-cards/)
* [Vector Playing Cards](https://code.google.com/p/vector-playing-cards/)
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "slack-poker-bot",
"version": "0.0.7",
"version": "0.0.8",
"repository": "https://github.com/CharlieHess/slack-poker-bot",
"license": "MIT",
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion tests/texas-holdem-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ describe('TexasHoldem', function() {
messages.onNext({user: 3, text: "Call"});
scheduler.advanceBy(5000);

console.log(game.potManager.pots.length);
assert(players[2].chips === 0);
assert(game.potManager.pots.length === 3);
assert(game.potManager.pots[0].amount === 250);
Expand Down

0 comments on commit 81b30f8

Please sign in to comment.