Skip to content

Zuwra/catan

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Settlers of Catan CS 340 Project

Using Git and GitHub

First of all, you will need to create a GitHub account. Once you do, let me know your username and I will add you to the project. Probably the easiest way to use Git is with GitHub's client. It can be found here for Windows and here for Mac. The help pages do a pretty good job of helping you set it up. When you have that, and after I have added you, click "Clone to Desktop". Clone it to where you want your Eclipse project to be. Do this before creating an Eclipse project. If you want to be brave and use Git by command line, be my guest.

When you create your Eclipse project, uncheck "Use default location" and browse to the location of the cloned folder. This will import everything automatically for you. Nice.

Once you have everything setup, you can create a new branch, and do all of your wonderful work. Once it's looking good, we can merge it back into the master branch.

ANT

Run the demo server using ant server. Then navigate to localhost:8081/ in order to read the documentation. The "Java docs" link takes you to documentation for the Java GUI code that you will use to build your Catan client. The "Interactive Server API" link will take you to the server's Swagger page, which allows you to interactively call the server's web API methods, and documents the inputs and outputs of the server's methods. The other links on the server's documentation page are not relevant to the version of the project you are doing.

Run the demo client using ant client.

Run your server using ant our-server.

Run your client using ant our-client.

JSON

There are example JSON files under the sample folder. These are examples of the JSON objects used to make requests to the server, and to return the game state (i.e., client model) to the client. You can also see the syntax for the server's JSON inputs and outputs on the server's Swagger page, with additional details being provide in the document titled "Server Web API Documentation".

About

CS 340 project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 70.1%
  • JavaScript 20.7%
  • Java 7.8%
  • CSS 1.4%