Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Liming Xie committed Jan 8, 2015
1 parent 4cfd547 commit 9c78727
Show file tree
Hide file tree
Showing 58 changed files with 30 additions and 5 deletions.
31 changes: 28 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,14 @@ Features:
- [x] Scalable: using Redis as message bus and data storage.
- [x] Open architecture: with Redis as the message bus, easy to interact and extend.
- [x] Cluster: using node.js cluster, sticky session, and socket.io-redis.
- [x] Load balancing: using NginX as load balancer.
- [x] WebSocket protocol: come with javascript client API and web-based demo. API in other languages to be implemented.
- [x] WebSocket protocol: come with javascript client API and web-based demo.
- [x] Event logger for server events and user actions.

TODO List:
- [ ] Load balancing: using NginX as load balancer.
- [ ] Client API in other language (priority: C/C++, C#, Java, Objective-C, etc.)
- [ ] Payment gateway callback URL.
- [ ] Admin Portal.

# Architecture #

Expand All @@ -34,7 +40,7 @@ Redis is an open source, BSD licensed, advanced key-value cache and store. It is

* node.js / npm

Node.js® is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.

[Download](http://nodejs.org/download)

Expand Down Expand Up @@ -94,4 +100,23 @@ Or, log the events into log file:
bin/logger.js -o ./tmp/casino.log
```

# Credits #

This poker game server is created by Raymond Xie, published under MIT license.

It can be used for FREE, but be aware that:

* It is provided as it is. (Not a mature commercial product, may be incomplete, or even lots of bugs)
* We will mainly focus on our own needs.
* You can propose wish for new features, but don't rely on us to implement them. Instead of waiting for new features, welcome join us to implement them.
* You need take your own risk, including that you need find answers from reading code instead of easily asking only. :P

If you are interested in this project, you can contribute in any of following aspects:

* Simply "Star" it.
* Use it or test it, report bugs or even send pull request of patches.
* Add better HTML5 demo client.
* Add new poker game rules.
* Add client APIs in other languages (like C/C++, C#, Java, etc.)
* Help us write documentation, if your English is good.

Binary file modified dump.rdb
Binary file not shown.
4 changes: 2 additions & 2 deletions lib/holdem_game.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ HoldemGame.prototype.gameStart = function() {
}
room.notifyAll('deal', {
deals: deals,
delay: 2
delay: 3
});

for(i=0; i<deal_order.length; i++) {
Expand Down Expand Up @@ -279,7 +279,7 @@ HoldemGame.prototype.dealSharedCards = function(n) {

room.notifyAll('deal', {
deals: deals,
delay: 3
delay: 2
});
};

Expand Down
Binary file added www/img/0_0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/1_10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/1_11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/1_12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/1_13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/1_14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/1_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/1_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/1_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/1_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/1_6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/1_7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/1_8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/1_9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/2_10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/2_11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/2_12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/2_13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/2_14.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/2_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/2_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/2_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/2_5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/2_6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/2_7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/2_8.png
Binary file added www/img/2_9.png
Binary file added www/img/3_10.png
Binary file added www/img/3_11.png
Binary file added www/img/3_12.png
Binary file added www/img/3_13.png
Binary file added www/img/3_14.png
Binary file added www/img/3_2.png
Binary file added www/img/3_3.png
Binary file added www/img/3_4.png
Binary file added www/img/3_5.png
Binary file added www/img/3_6.png
Binary file added www/img/3_7.png
Binary file added www/img/3_8.png
Binary file added www/img/3_9.png
Binary file added www/img/4_10.png
Binary file added www/img/4_11.png
Binary file added www/img/4_12.png
Binary file added www/img/4_13.png
Binary file added www/img/4_14.png
Binary file added www/img/4_2.png
Binary file added www/img/4_3.png
Binary file added www/img/4_4.png
Binary file added www/img/4_5.png
Binary file added www/img/4_6.png
Binary file added www/img/4_7.png
Binary file added www/img/4_8.png
Binary file added www/img/4_9.png
Binary file added www/img/5_15.png
Binary file added www/img/6_15.png

0 comments on commit 9c78727

Please sign in to comment.