Skip to content

geetsawhney/hare-and-hounds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hare And Hounds

A game of hare and hounds implemented using SparkJava based RESTful API.

alt text

Setup

It depends only on Java 8 and Maven to build and run.

Usage

The code should be directly importable as an existing Maven project into Eclipse or IntelliJ, and should directly build and run from within the IDE.

If you are using IntelliJ, clone the git repository on your computer and then use the IntelliJ Import function to import that clone. Select the pom.xml file as what you want to import (to be clear you are importing it as a Maven project), and you can use the defaults for all other import parameters. Once it is imported you can invoke any of the Maven phases. You can right-click on the Bootstrap class to start the server. Or, set up a run configuration to run Bootstrap.main() -- from the Run menu select Edit Configurations, add (+) a new Application configuration, and set the main class to be com.oose2017.Bootstrap. The green triangle will then launch the server.

If you instead want to compile and run from the command line, you will need the Maven command line installed and invoke:

mvn package
java -jar target/hare-and-hounds-1.0-SNAPSHOT.jar

Now simply point your browser to http://localhost:8080 to use the application.

About

Hare-Hounds Game using AngularJS and Java

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published