SMEGO 1.1 review

Download
by rbytes.net on

Smego is a networkable cross platform version of the board game Stratego implemented using Squeak.

License: Freeware
OS: Mac OS X
File size: 0K
Developer: James Tuley
Price: $0.00
Updated: 11 Oct 2005
0 stars award from rbytes.net


Smego is a networkable cross platform version of the board game Stratego implemented using Squeak.

Strategy
Piece uses 3 strategies, one for movement, one for attacking, and one for defending. This way a single Piece class can be used to represent all the various types of pieces in Stratego. This also allows for an easy implementation of modifiable rules.

Proxy
RemoteControl is a proxy for the other player. The messages that are sent to RemoteControl are forwarded to the other player's machine.

Chain of Responsibility
RemoteControl and Remote have a chain of responsibility. RemoteControl passes handles some messages and passes the rest to Remote.

Composite
Board and Piece form a composite. Board acts as a container class which contains Pieces and when draw is called it passes the message onto all its children.

Factory
Ruleset acts like a Piece factory. Whenever something needs to create a Piece it calls a create method off of the current ruleset.

SMEGO 1.1 search tags