Git Product home page Git Product logo

cse-283's Introduction

cse-283's People

Contributors

bwest1711 avatar

Watchers

James Cloos avatar  avatar

cse-283's Issues

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!

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.