An online Checkers game system built in Java 8 and Spark, a web micro-framework.
- Wyatt Holcombe
- Rayna Mishra
- Nelson Liang
- Miao Lin Wu
- Ethan Davison
- Java 8
- Maven
- Clone the repository and go to the root directory.
- Execute
mvn compile exec:java - Open in your browser
http://localhost:4567/ - Start a game and begin playing.
The Maven build script provides hooks for run unit tests and generate code coverage reports in HTML.
To run tests on all tiers together do this:
- Execute
mvn clean test jacoco:report - Open in your browser the file at
PROJECT_HOME/target/site/jacoco/index.html
To run tests on a single tier do this:
- Execute
mvn clean test-compile surefire:test@tier jacoco:report@tierwheretieris one ofui,appl,model - Open in your browser the file at
PROJECT_HOME/target/site/jacoco/{ui, appl, model}/index.html
To run tests on all the tiers in isolation do this:
- Execute
mvn exec:exec@tests-and-coverage - To view the Model tier tests open in your browser the file at
PROJECT_HOME/target/site/jacoco/model/index.html - To view the Application tier tests open in your browser the file at
PROJECT_HOME/target/site/jacoco/appl/index.html - To view the UI tier tests open in your browser the file at
PROJECT_HOME/target/site/jacoco/ui/index.html
- Execute
mvn exec:exec@docs - Note: this command will fail on a clean project without a
/targetdirectory. Create the directory first if running after acleanoperation without any intervening commands that create the directory, such as compile. - The generated PDF will be in
PROJECT_HOME/target/directory
- Execute
mvn exec:exec@zip - The distribution zipfile will be in
PROJECT_HOME/target/WebCheckers.zip
MIT License
See LICENSE for details.