Skip to content
/ poker Public

A tutorial on how to build a poker game using Node.js

Notifications You must be signed in to change notification settings

iamsap/poker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Poker

This is the repository from my course on how to build a fully functional Texas Hold 'Em game in Node.js. To run a simulated game, just run the following command:

node game.js

The game creates 4 players (John, Paul, George, and Ringo) and then deals them as you would expect in a round of Texas Hold 'Em. Feel free to fork this repository and extend in any way you see fit. If you make any improvements I want to hear about them, so contact me via twitter @robbymillsap.

# output
After the deal, John is winning with a high card
After the flop, George is winning with a pair
After the turn, Paul is winning with a pair
After the river, Ringo is winning with a two pair

The step-by-step tutorial on how to build this poker game can be found on my website blog.iamsap.com

About

A tutorial on how to build a poker game using Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published