A online Checkers Game where you will play against a computer AI.
Get the project up and running with Eclipse Mars. This project has two separate applications. One is server side and a REST application that communicates with the database. The other is client side. They're called "CheckersServer" and "CheckersClient" for our purposes.
- Java 8
- Tomcat v7 Server
- Run
db_and_user_setup.xml
script with root priviledges to create the user and database for this project. This is optional. To use different databases or users, editpersistence.xml
to match (under/CheckersService/src/main/java/META-INF
).
- Import
CheckersClient
as a new maven project. - Import
CheckersServer
as a new maven project. - Add
CheckersClient
to the Tomcat webserver. - Add
CheckersServer
to the Tomcat webserver.
- Start the Tomcat webserver.
- Two endpoints should be available from your browser:
- Both projects should be configured to run Java 8:
- Right click Properties > Java Compiler > Set "Compiler compliance level" to 1.8
- Right click Properties > Project Facets > ("Details" tab is selected) > Select 1.8 for Java version > OK
- Both projects should be configured to run with the Tomcat server. (Right click project > Properties > Project Facets > Select "Runtimes" tab > Select "Apache Tomcat v7.0" > OK)