rainmore / poker-hands-solution

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Poker Hands Solution (Java)

Prelimitary

The project is developed on top JVM with combine Java 8 code. It requires following tools on the developer workstation to develop/debug/test application.

Initialize Project

Clone the project code from github repository

git clone git@github.com:rainmore/poker-hands-solution.git

Go to the project folder

cd poker-hands-solution

Build & Run Project

Build jar

gradle build

Run project as jar

cat src/main/resources/poker-hands.txt | java -jar build/libs/poker-hands-solution-1.0.0.jar

Expect following in CLI

Player 1: 263 hands
Player 2: 237 hands

About


Languages

Language:Java 100.0%