Download - The Name Game
![Page 1: The Name Game](https://reader036.vdocument.in/reader036/viewer/2022082818/56812ca8550346895d915219/html5/thumbnails/1.jpg)
The Name Game
Matthew Maggiore
![Page 2: The Name Game](https://reader036.vdocument.in/reader036/viewer/2022082818/56812ca8550346895d915219/html5/thumbnails/2.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022082818/56812ca8550346895d915219/html5/thumbnails/3.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022082818/56812ca8550346895d915219/html5/thumbnails/4.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022082818/56812ca8550346895d915219/html5/thumbnails/5.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022082818/56812ca8550346895d915219/html5/thumbnails/6.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022082818/56812ca8550346895d915219/html5/thumbnails/7.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022082818/56812ca8550346895d915219/html5/thumbnails/8.jpg)
Issues & Port Mortem Analysis
• Responsive UI• Socket Consistency• Ending the Game• Awfulness of
Emulator Networking
![Page 9: The Name Game](https://reader036.vdocument.in/reader036/viewer/2022082818/56812ca8550346895d915219/html5/thumbnails/9.jpg)
Questions?