From 81b30f8ce7e4cee53920fff7f11ef0adae30063e Mon Sep 17 00:00:00 2001 From: Charlie Hess Date: Tue, 18 Aug 2015 01:17:07 -0700 Subject: [PATCH] Tie a bow on another release. --- README.md | 8 ++++---- package.json | 2 +- tests/texas-holdem-spec.js | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7755b02..2af476e 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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) @@ -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/) diff --git a/package.json b/package.json index f334588..908fb92 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/tests/texas-holdem-spec.js b/tests/texas-holdem-spec.js index 688d2e0..0d863d0 100644 --- a/tests/texas-holdem-spec.js +++ b/tests/texas-holdem-spec.js @@ -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);