ucsb-cs56-projects / cs56-games-simple-rpg

-
1 stars 6 forks source link

fixes issues #4, #11, #12, and #13 #19

Closed ghost closed 7 years ago

ghost commented 7 years ago
extrabutter commented 7 years ago
  1. Added extensive unit testing to many classes to avoid/isolate future issues.
  2. Created Trader and TraderFigure classes used within the game. The Trader appears as a white figure on the game map. MainCharacter now has to be near the Trader to be able to access the Shop. The Goblin uses ambushMove() to approach the MainCharacter while Trader uses the randMove() function for its movements.