Skip to content

Web edition of a traditional czech card game written in TypeScript using ExpressJS server and Angular client

License

Notifications You must be signed in to change notification settings

josef-kriz/DicksAndBalls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dicks 'n Balls

Dicks and Balls is a traditional czech card game played with 32 cards. This is project is a web application including a ExpressJS web server containing the logic of the game as well as a Angular web client that communicates with the server using web sockets.

Learn more about the game on Wikipedia: https://en.wikipedia.org/wiki/Mau-Mau_(card_game)

Note: Dicks and Balls is an unofficial translation. The original name is Prší (“it rains”).

Installation

To successfully install and run the app just follow these simple steps:

  1. Download/Clone this repository
  2. Open the terminal and go to the project root and then to the client folder.
  3. Install the packages with yarn install
  4. Run yarn build --prod. When the command finishes, there should be a new folder called www.
  5. Go back to the project root and run yarn install there as well.
  6. Now run yarn start. This will build and start the server that listens on port 3001 by default. Run yarn start:watch for automatic server restart on change.

If you'd like to work on the client, start the local web server with yarn start in the client folder. The client will run on port 4200 by default.

Contribution

You're welcome to further extend the project, file issues or send suggestions.

About

Web edition of a traditional czech card game written in TypeScript using ExpressJS server and Angular client

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •