Skip to content

nataliebrooks/blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

blackjack

This is a simple concurrent program written in Go Programming Language that plays a game of blackjack.

Environment:

You must have GO installed.

This program relies on a CS221 package that helps with creating and connecting to the server. It is supplied in the main folder of the repository, but must be copied to this location (or the location that GO is installed on your machine):

/usr/local/Cellar/go/1.7.3/libexec/src

Create a new folder titled "cs221" in the src folder, then copy the cs221.go file from this repository into it.

Running the Program:

In order to run the game you must start the dealer server before a player enters:

To start dealer, run: "go run dealer.go localhost 8888"

To start player, open another terminal and run: "go run player.go localhost 8888"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages