Giter Club home page Giter Club logo

kings-n-things-server's People

Contributors

devinlynch avatar gtlives avatar johnmarsh avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

dmaulikr

kings-n-things-server's Issues

Demo Players

We need to handle the playing of the 3 other players for the demo through some hardcoded decisions/events.

Model Classes

The UML diagram (once complete) needs to be converted to both Java and Objective-c code.

Setting Up The Server

Our server is going to run on Tomcat 7.0.47. This will need to be installed. Installation instructions for Mac OS are here: http://wolfpaulus.com/jounal/mac/tomcat7/ (Gabe, there's lots of Windows tutorials I'm sure too).

You will need Eclipse for development. More specifically, you should get the Eclipse version for EE developers. This comes pre packages with all the Java EE tools needed and should come with the JST Server plugins. If not, then in the install software section of eclipse, install all the JST Server plugins ( I think there's 2 or 3). This should also come with tools for using Git.

Once Eclipse and Tomcat are installed, open up the Git Repositories view (Window->Show View-> Other->Git Repositories). Now go to Github to the Kings-N-Things-Server repository and press clone in desktop. Keep in mind where you save it to. Having the Githhub app/program is really useful. Now that its on your computer, go back to Eclipse and go to the Git Repositories view that you opened. At the top right press the add repository button. Browse for where you saved the git repository, and press finish. It should now be added to the list. Right click on it and press "Import Projects". Select the KingsNThings project and press finish. Now you should have the project in your workspace, yayyyyyyy.

Now that Tomcat is installed, we need to setup a Tomcat server in eclipse so that we'll be able to run the server and debug from Eclipse. Go to File->New->Server. Call it whatever you want. Select in the Apache folder, Tomcat v7.0 Server. Press next. It should ask you for where tomcat is installed, browse to wherever you installed it. Press next. There should be a list of resources and the KingsNThings resource should be there (if not then let me know). Add the KingsNThings resource and press done.

Now that you have a server, go to window->showview->servers. Your server should be listed there. Right click on the server and press run. By default it runs on 8080. Double click on the server to change the port to whatever you want.

To be continued....

Game matching

I am working on actually matching players together for a game and then creating a game session once a game is ready to go.

Here is what my idea is / what I am implementing:

gamelobbyproposal

User sign in

We are going to want users to be able to register and sign in in order to play. I am working on implementing all this stuff on the server side right now.

JSON Format

We need a JSON format / schema for messages being sent to the client.

UML Issues

Some issues I have with the UML diagram:

  • Why do Rack and Game Piece have owner attributes when they're both pointing to player anyways?
  • Why does Hex Tile have a type attribute, point a Hex Tile type class AND point to a terrain class?
  • I think Board Location is a confusing term, maybe Board Container?
  • Why so many classes with only one attribute? Example Creature points to a terrain class but the terrain class only has a name attribute, wouldn't we just want to give Creature an attribute called Terrain?

Messaging

I think it would be cool to implement chatting between players. This is a feature for the 2nd iteration.

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.