devinlynch / kings-n-things-server Goto Github PK
View Code? Open in Web Editor NEWGame server for an iOS realtime strategy game
License: Apache License 2.0
Game server for an iOS realtime strategy game
License: Apache License 2.0
We need to handle the playing of the 3 other players for the demo through some hardcoded decisions/events.
The UML diagram (once complete) needs to be converted to both Java and Objective-c code.
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....
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.
We need a JSON format / schema for messages being sent to the client.
Some issues I have with the UML diagram:
I think it would be cool to implement chatting between players. This is a feature for the 2nd iteration.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.