Coder Social home page Coder Social logo

catan's Introduction

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".

catan's People

Contributors

gkrieg avatar ihartung avatar matt0911 avatar samwarnick avatar zuwra avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

catan's Issues

Waiting for other players to discard after playing soldier

After playing a soldier card the waiting for other players to discard modal shows on all of the players screens except the player that just got robbed. There is no discard screen shown for that player, so the other players are just stuck.

Server Crash

when I went to place a second settlement, I was prompted to place a road, but the settlement never showed and the server crashed.

Turn Tracker view

The turn tracker doesn't show up in the bottom left areas where it should. Right now, nothing appears.

Robber view doesn't come up in the right order

The who you want to rob comes up before you get to place the robber. Also you need to check if the window is already modal before you make it modal otherwise it will come up every 5 seconds when the poller does its thing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.