Abstract

CS 422/EEE 436
Wireless Networking Technologies
and Applications
Wireless Okey Implementation
Group #1
Alper Başak
Can Taylan
Eren Kuzucu
Niyazi Belenli
Wireless Okey

Consist of a Server and four Clients

Special OkeyProtocol for messaging operations

Strategy Pattern:
(Abstract) OkeyProtocol
ClientProtocol
ServerProtocol
Wireless Okey


ClientGame and ServerGame classes
implement the entire game
Strategy protocol
(Abstract) Game
ClientGame
ServerGame
Wireless Okey

Protocol

Handshake

Game Initialization

Deal

Draw

Throw

Change Token
Wireless Okey

GUI implementation depends on
Observer/Observable design pattern
MODEL
(Abstract) Game
Observes
VIEW
GUI Classes
Wireless Okey

How to check a cue?

Determine the grouping tendency


Iterate the group, find the group size

Check the group size (It should be at least 3)
Can be sequencing, increasing and double