1 / 36

The Watson Game

Addressing network gameplay issues, testing client-side communication, protocol handling, and overall design enhancements for Watson Game. Collaboration on 3D character display and door operation.

houghtont
Download Presentation

The Watson Game

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The Watson Game Client Group November 30, 2004

  2. Client Integration and Testing Richard Pantoliano, Jr.

  3. Client Integration • Previous class created a good standalone demo • Problem: the game was meant to be played on a network • Client side portion network interface mostly complete • Coordinate communication between members of group with Server group

  4. Client Testing • Big part of integration effort • Communication portion largely untested • Many issues for client, alone • Most generated by simplicity of implementation • Bug triage and assignment

  5. Client Testing(continued)

  6. Protocol Handling & Overall Client Design Timothy Haller

  7. Testing the Protocol Handler • Protocol handling already largely implemented • Relatively untested • Collaborate with Server side of protocol handling • Develop test cases to verify functionality of client-server communication

  8. Implement New Protocol Handling • Add and modify functions to handle door status checks • Add and modify functions to handle game statistics request • New functions to be added to the Ccommand and MessageHandler classes • Overload old functions in the MessageBuilder class

  9. Overall Client Design • Ensure that new additions maintain the basic structure and logic of the client • New additions include door opening, game statistics, character modeling, etc. • New additions and modifications must be practical in a holistic sense, taking the entire client system into account

  10. 3D Character Display Matt Chedister

  11. What is it? • Ability for a user to see all other logged in users walking around the Watson Game

  12. New Functionality • Server must provide all users with 3D coordinates of all other users • Best way is through a structure that holds the number of users, followed by each user’s 3D coordinates • Client must take 3D coordinates, make an image with them

  13. Programming • The engine architecture by Bedros Magardichian http://www.cs.binghamton.edu/~steflik/cs495b/Spring2004/Assgn_2/Papers/

  14. Programming (2) • Function entitled ‘RunScene’ in CWatsonGamePlay.cpp • In charge of getting the camera position and velocity • Rendering the new frame • Server listening should be placed in this function • Once coordinates are received, attach an image to them

  15. Programming(3) • A cube or some other 3D image that is textured should then be applied • Make new Class, called CCharacter, on par with CTerrain • A refresh rate of one Hz will have to do until the communication between the server and client is more developed • Threads

  16. Practicality • Eventually, fully animated 3D people should be seen walking around • Today’s video games • By the end of next week, the following is my goal

  17. Practicality(2) http://www.cs.binghamton.edu/~steflik/cs495b/WatsonGame_S04/May6/home.html

  18. Opening & Closing of Office Doors Christina Ku

  19. Old Door Models • The current model is made up of parts • One part is for all of the doors • The old door model has to be removed

  20. New Door Models • Make a new door model that is just one door • Place a model where there is a door

  21. openDoor & closeDoor • To open a door – openDoor() • To close a door – closeDoor() • openGL will be used to render the animation of the opening or closing door. • In a loop, translate, rotate, and render door model until at desired position • A problem will be finding a way to position each door model that won’t be too tedious.

  22. Knapsack Support & Door Knock Logic Hasani Hampden

  23. Knapsack Support • Help design the knapsack so it sorts everything correctly. • Make sure everything appears in the knapsack

  24. Knapsack Support (Cont’d) • Create Hotspot in an area where an item can be allocated • Once you hit the hotspot an action will occur • After every action the knapsack will be sorted by importance (ie DARS, Books, Pen/Pencil) • Make sure the items actually appear in knapsack

  25. Player Creation Support By James McClure

  26. Goals • Allow for students of Electrical Engineering (EE) and Mechanical Engineering (ME) to play the Watson Game • The client must • Allow user to select major when creating player • Notify the server of the choice • Load saved player

  27. Changes Required • “Person” object shall contain an attribute to represent their major • Character creation screen shall contain a new text field for “major” in which “CS,” “EE,” or “ME” may be typed. • Error checking • Need to modify client messages 3 and 4 to include

  28. Door Knock Logic By James McClure & Hasani Hampden

  29. Goals • When a player goes to a teacher’s door and tries to open it, the door may or may not open • The client must: • Each closed door that can be opened shall contain a hotspot in front of it • If the player walks into this hotspot • Send a “knock” message to the server, receive the reply • If the server allows it, the door opens for all clients • Otherwise, the requesting client sees a message of why the door would not open

  30. Changes Required • New message type: KNOCK (cmd # 9?) • Doors need a unique ID • Stepping in door hotspot sends KNOCK • If a negative reply is received, display a message from the professor why the door was not opened • At any time, a client may be notified that a door is opening, whether or not they knocked

  31. Preview • Have different responses from teachers (ie. Having lunch, not office hours, etc..)

  32. Game status Info Display Info on Active Players in the Game Keith McCullum

  33. Current Specs for Active Player Info and Game Stats Options • Nothing currently built into game • Would require in-game menu support • For Active Player search, allow user to see location of other active players while walking through the Watson building • For Game Stats, let user see total playing time, session time and percentage completed

  34. Necessary Additions to Source • Messages designed to send and receive player position and playing time data • Get message ID from wagMSGBuilder • Communicate with server to communicate current data • Require data from both server and database

  35. Necessary Additions to Source • Menu functionality • In-game, create hotkey or button on HUD to toggle display of both active player info and game stats • Info sought for active player includes: • Position • Health • Game Completion %

  36. To Be Continued… Next Semester!

More Related