Download - The Name Game

Transcript
Page 1: The Name Game

The Name Game

Matthew Maggiore

Page 2: The Name Game

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”– …

Page 3: The Name Game

Implementation

• Android Platform • Hybrid System(…)• Client-Server– Server is used to

connect players– Clients are notified

when the game is ready to be played

Page 4: The Name Game

Implementation (desired)

• P2P– Clients wait for the

active player– Each client knows all

other clients– Active player sends

update of game status to everyone

Page 5: The Name Game

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

Page 6: The Name Game

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)

Page 7: The Name 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

Page 8: The Name Game

Issues & Port Mortem Analysis

• Responsive UI• Socket Consistency• Ending the Game• Awfulness of

Emulator Networking

Page 9: The Name Game

Questions?


Top Related