cse-283's Introduction
cse-283's People
Forkers
chrismcdonald0111cse-283's Issues
Build Script
Figure out how to launch app in one click.
Serialize an Object and send it using an ObjectOutputStream
Send a Player object from Client to CaveServer.
Action Loop
Once we have basic communication established between the Client and CaveServer object, we need to start on the action loop. From a networking perspective, this means the Client should be sending messages to the CaveServer describing what it is doing. For example, the Client can send at least the following kinds of messages:
SHOOT: Player shoots an arrow
PICKUP: Player picks up items in the room
MOVE: Player moves to an available room
CLIMB: Player climbs out of the game (only available in the CaveSystemServer)
In response, the CaveServer should send a status message of some kind. To make things a bit more straightforward, let's assume that all "Player state" information (e.g., # of arrows, # of gold, room the Player is in, etc.) is stored on the Server. In that case, the response of an action to the Player by the CaveServer should describe the Player's complete state.
(If you'd like to start developing a common protocol for this, feel free -- discuss in the Protocol conversation. We'll address the protocol specifically next week.)
Post below with any questions you might have about this!
Communication between Client and CaveServer
Be able to send and receive messages from the client and the server. Must create a way to determine how many lines are going to be sent/read.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.