Skip to content

Commit

Permalink
add image explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
obestwalter committed Apr 5, 2016
1 parent cd36145 commit d7f469f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Nothing - but please don't leave yet ...
> -- [Wikipedia - Mau Mau](https://goo.gl/r7D63W)

One koan in the [Zen of Python](https://www.python.org/dev/peps/pep-0020/) says: "If the implementation is easy to explain, it may be a good idea". Let's put this to the test and explain the implementation of our Mau Mau program by simply describing the conditions and rules of the game using a rough approximation of the programs' terminology and see if the objects and their interactions make the implementation look obvious. Objects used in the program are marked `like this` ; functions that describe (inter)actions are marked like **this**). The game can also be described in two phases, we could call "setup" and "play".
One koan in the [Zen of Python](https://www.python.org/dev/peps/pep-0020/) says: "If the implementation is easy to explain, it may be a good idea". Let's put this to the test and explain the implementation of our Mau Mau program by simply describing the conditions and rules of the game using a rough approximation of the programs' terminology and see if the objects and their interactions make the implementation look obvious. Objects used in the program are marked `like this`, functions that describe (inter)actions are marked like **this**). The game can also be described in two phases, we could call "setup" and "play". The image shows all the important elements of the simulation.

![cardroom overview](docs/cardroom.png)

Expand Down

0 comments on commit d7f469f

Please sign in to comment.