SimpleLAN is a micro simulator for a LAN composed of nodes. It is an exercise for people learning object-oriented programming. A different version is available in the book Learning Object-Oriented Programming, Design and TDD with Pharo available at http://books.pharo.org. The version in this repository is used in a forth coming book 101 OOP. In addition it serves as basis for a set of unguided exercises in the Mooc https://advanced-design-mooc.pharo.org.
To install SimpleLAN
, go to the Playground (Ctrl+OW
) in your Pharo image and execute the following Metacello script (select it and press Do-it button or Ctrl+D
):
Metacello new
baseline: 'SimpleLAN';
repository: 'github://Ducasse/SimpleLAN/src';
load.
If you want to add a dependency on OrderedSet to your project, include the following lines into your baseline:
spec
baseline: 'SimpleLAN'
with: [ spec repository: 'github://Ducasse/SimpleLAN/src' ].
To read more about baselines and Metacello, check out the Baselines article on Pharo Wiki.