the name game
DESCRIPTION
The Name Game. Matthew Maggiore. The Game. Multiple Players Turn-Based Game Proceeds like so: Player 1 says “ LeBron J ames” Player 2 says “ J oe S mith” Player 3 says “ S teve N ash” …. Implementation. Android Platform Hybrid System(…) Client-Server - PowerPoint PPT PresentationTRANSCRIPT
The Name Game
Matthew Maggiore
The Game
• Multiple Players• Turn-Based• Game Proceeds like so:– Player 1 says “LeBron James”– Player 2 says “Joe Smith”– Player 3 says “Steve Nash”– …
Implementation
• Android Platform • Hybrid System(…)• Client-Server– Server is used to
connect players– Clients are notified
when the game is ready to be played
Implementation (desired)
• P2P– Clients wait for the
active player– Each client knows all
other clients– Active player sends
update of game status to everyone
Implementation (actual)
• Client-Server– Server acts as central
point– Due to awfulness of
Emulator Networking• Probably can have
success with desired implementation if using phones
Protocol
• UDP• Simple Text Messages– START (To server, opens a game)– ACK/NAK (From server)– JOIN (To server, joins a game)– GO (From server, starts the game)
Protocol (continued)
• Simple Text Messages– ROUND (Among clients, has pertinent round data)• Guess• Result• Reverse• Next Letter
– END (Among clients, ends the game)• Winner
Issues & Port Mortem Analysis
• Responsive UI• Socket Consistency• Ending the Game• Awfulness of
Emulator Networking
Questions?