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”).
To successfully install and run the app just follow these simple steps:
- Download/Clone this repository
- Open the terminal and go to the project root and then to the client folder.
- Install the packages with
yarn install - Run
yarn build --prod. When the command finishes, there should be a new folder called www. - Go back to the project root and run
yarn installthere as well. - Now run
yarn start. This will build and start the server that listens on port 3001 by default. Runyarn start:watchfor 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.
You're welcome to further extend the project, file issues or send suggestions.