Commit Graph

25 Commits

Author SHA1 Message Date
Arne Keller
45f05292b4 Update game logic to changed requirements and refactor command parsing 2020-03-11 10:51:29 +01:00
Arne Keller
8e3bd2bd25 Use logic exception in model classes 2020-03-11 10:27:13 +01:00
Arne Keller
6cfc8c0a89 Do not allow reset if game not started once 2020-03-07 10:24:41 +01:00
Arne Keller
0c9ea4e0ba Ballon is not a typo 2020-03-03 18:42:59 +01:00
Arne Keller
e13ee8430f Print lose if no moves available 2020-03-03 18:42:38 +01:00
Arne Keller
f94ddddc9b Only output win when winning 2020-03-03 18:34:48 +01:00
Arne Keller
72c9922c44 Correctly handle game end 2020-03-03 18:32:00 +01:00
Arne Keller
6c8f172d3f Only print buildable items if they can be built in addition to existing 2020-03-03 18:21:36 +01:00
Arne Keller
58f30fbf39 Only print buildable items that require a fireplace if one exists 2020-03-03 18:12:37 +01:00
Arne Keller
17e79b751a Checkstyle 2020-02-29 17:05:29 +01:00
Arne Keller
554a3a062e Allow tools to be built multiple times and buildings only once 2020-02-29 16:27:50 +01:00
Arne Keller
1a93c5d061 Correctly handle reset by reusing start cards and wait for start before allowing commands 2020-02-29 16:23:36 +01:00
Arne Keller
52ab63f578 Correctly handle wrong start input 2020-02-29 16:08:54 +01:00
Arne Keller
74cac150fa Add shack building test and fix behaviour on codetester 2020-02-29 08:47:20 +01:00
Arne Keller
3bd70a5350 Checkstyle and tests 2020-02-28 15:39:49 +01:00
Arne Keller
f274b25ae2 Checkstyle and tests 2020-02-28 15:24:56 +01:00
Arne Keller
c0aa7d29e6 Correctly roll dice and print result 2020-02-28 12:14:28 +01:00
Arne Keller
fffc21a73e Add command tests 2020-02-28 11:59:40 +01:00
Arne Keller
f240ecf5f0 Correct list-buildings order 2020-02-28 11:56:17 +01:00
Arne Keller
d51e6a4dae Correct list-resources ordering 2020-02-28 09:53:21 +01:00
Arne Keller
bffdf9112c Implement more commands and add test case 2020-02-25 18:19:52 +01:00
Arne Keller
e36116701b Implement animal encounters 2020-02-24 19:23:53 +01:00
Arne Keller
59a2f86a32 Implement some commands partially 2020-02-24 17:39:27 +01:00
Arne Keller
343ae03421 Initial command parser 2020-02-24 17:02:48 +01:00
Arne Keller
63d0af1f00 Initial commit 2020-02-24 15:45:26 +01:00