Skip to content

Create game

Carl Gützkow requested to merge create-game into main

closes: #5 (closed)

What are the key features of this change

Create a class Game which tracks a player with a story. There are also goals which the player must fulfill. The game needs at least one goal for it to be playable. If the begin method is called on a story that is not playable, it throws an exception. This exception is the new UnplayableStoryException.

Checklist

  • Javadoc
  • Relevant tests have been created
  • Build tool test passed
  • Class version is updated where relevant

Merge request reports

Loading