Commit f278da29 authored by Erwan Bousse's avatar Erwan Bousse

Add sequence diagram

parent 9914cfd7
......@@ -33,3 +33,10 @@ has 3 golds.
- `Pawn`: Class that describes the state and behavior of a Pawn.
- `simplegame.exception`: Package with the exceptions used.
- `OutOfBoardException`: Sent when a Pawn tries to leave the board.
## Specification of `isGameOver`
The method `isGameOver` is supposed to go over the different pawns, find whether one has three gold, and return true if that is the case.
This means that the following scenario should work:
![](sequence.svg)
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment