Solution implemented with Java
- Java 8
- Maven
- Clone or fork the repo
mvn install
for install ormvn clean package
for build
- integer to specify number of games to play
- boolean whether to run games async or single threaded
example 1: 10 true
to play the game 10 times and invocations are async
example 2: 10 false
to play the game 10 times and invocations are single threaded