An online Checkers game system built in Java 8=>11 and Spark, a web micro-framework.
- Kevin Hlavaty
- Corey Urbanke
- Russell Lee
- Ray Lorenzo
- Danny Gardner
- Java 8=>11 (Make sure to have correct JAVA_HOME setup in your environment)
- 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.
(It may be the case that your implementation is not perfect.)
Document any known bug or nuisance. If any shortcomings, make clear what these are and where they are located.
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@tier
wheretier
is one ofui
,appl
,com.webcheckers.model
- Open in your browser the file at
PROJECT_HOME/target/site/jacoco/{ui, appl, com.webcheckers.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/com.webcheckers.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
/target
directory. Create the directory first if running after aclean
operation 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.