Commit Graph

42 Commits

Author SHA1 Message Date
Arne Keller
0b913bf943 Simplify game phase logic 2020-03-12 09:18:45 +01:00
Arne Keller
172e085d28 Handle item requirements when building better 2020-03-12 08:39:02 +01:00
Arne Keller
ed5170ebfc Increase test coverage 2020-03-11 11:37:32 +01:00
Arne Keller
f39fdee4c9 Correctly handle common prefixes in command names 2020-03-11 11:19:34 +01:00
Arne Keller
e7c3a40ac0 Only build items when not expecting dice roll 2020-03-11 11:13:25 +01:00
Arne Keller
1e95394391 Add generic waf2 test 1 by usosx 2020-03-11 11:11:30 +01:00
Arne Keller
627f0f96ab Move into own package 2020-03-11 11:07:48 +01:00
Arne Keller
9d1fbc2ffe Only allow build? when not expecting dice roll 2020-03-11 11:04:07 +01:00
Arne Keller
6f5127254d Fix error messages in test 2020-03-11 11:03:01 +01:00
Arne Keller
e48233f10c Add generic test by nikxda 2020-03-11 11:01:03 +01:00
Arne Keller
c058aeadde Change list-resources order 2020-03-11 10:55:06 +01:00
Arne Keller
1fecffad38 Optimize fuzzing script 2020-03-11 10:51:45 +01:00
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
4fc13f159c Add fuzzing script 2020-03-07 10:24:51 +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
63d160fd1b Only use Java 8 2020-03-03 18:12:12 +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
98ee0975a3 Add checkstyle 2020-02-28 15:25:10 +01:00
Arne Keller
f274b25ae2 Checkstyle and tests 2020-02-28 15:24:56 +01:00
Arne Keller
b2d3e2e6e6 Test build? before starting the game 2020-02-28 15:01:32 +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
5cec0064f7 Add testing library 2020-02-28 09:53:38 +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