Commit Graph

77 Commits

Author SHA1 Message Date
Arne Keller
5e6366d0c0 Final documentation updates and additions 2020-03-24 01:08:10 +01:00
Arne Keller
6333f3d6a5 Javadoc + code style 2020-03-23 20:21:55 +01:00
Arne Keller
64f517d201 Various stylistic changes 2020-03-23 16:12:40 +01:00
Arne Keller
cc4e75f64e Move item building and dice roll logic out of CardGame 2020-03-23 10:49:27 +01:00
Arne Keller
fe77053ac9 Move card logic into card enum 2020-03-23 10:21:42 +01:00
Arne Keller
ac50150bad Checkstyle 2020-03-23 10:11:15 +01:00
Arne Keller
3ba69ce595 Javadoc 2020-03-22 11:47:30 +01:00
Arne Keller
911c4b3cd1 Checkstyle + Javadoc 2020-03-19 15:02:01 +01:00
Arne Keller
58a2a23220 Javadoc 2020-03-19 14:31:57 +01:00
Arne Keller
19712a7039 Checkstyle 2020-03-17 14:18:21 +01:00
Arne Keller
7e499c0c9a Refactor player inventory into own class 2020-03-17 12:57:39 +01:00
Arne Keller
7a09111164 Refactor card stack into own class 2020-03-17 12:48:28 +01:00
Arne Keller
44412a6d09 Checkstyle 2020-03-17 12:24:03 +01:00
Arne Keller
2ab56c21ee Update terminal file 2020-03-17 12:23:50 +01:00
Arne Keller
477b45c42b Checkstyle 2020-03-17 12:03:19 +01:00
Arne Keller
29a36ce1aa Test for unknown command 2020-03-17 12:01:09 +01:00
Arne Keller
33bf28485e Create interface for objects that require dice roll 2020-03-17 11:41:54 +01:00
Arne Keller
9e75ca37a3 Document code 2020-03-14 23:03:47 +01:00
Arne Keller
cf7cd5ffaf Use standard start command in tests 2020-03-14 14:25:18 +01:00
Arne Keller
bbfd08f7be Add test: losing after failing to escape 2020-03-14 13:46:38 +01:00
Arne Keller
6d4db9f12b Javadoc + allow various command during game end phase 2020-03-13 09:30:43 +01:00
Arne Keller
40370b8c80 Correct test behaviour 2020-03-13 09:29:56 +01:00
Arne Keller
32b09cd059 Correctly parse integer parameters 2020-03-13 08:53:17 +01:00
Arne Keller
4232c7b14e Add integer parsing test 2020-03-13 08:53:04 +01:00
Arne Keller
ae79b31f3d Javadoc + code cleanup 2020-03-12 23:01:32 +01:00
Arne Keller
b42d783127 Add script to generate codetester tests 2020-03-12 22:31:10 +01:00
Arne Keller
48d014e4de Lose game after encountering animal with no actions left 2020-03-12 22:25:01 +01:00
Arne Keller
22446ea8aa Add test for lost after animal encounter 2020-03-12 22:23:27 +01:00
Arne Keller
5535692596 Refactor game logic to handle items in generic way 2020-03-12 22:02:03 +01:00
Arne Keller
d2ddd3cad9 Add checkstyle rule for missing javadoc on methods 2020-03-12 22:01:35 +01:00
Arne Keller
f7fcfe1b4d Update test 2020-03-12 22:01:23 +01:00
Arne Keller
a7dab3cfa5 Allow listing buildings and resources when game is done 2020-03-12 18:08:23 +01:00
Arne Keller
a738c23f5e Do not remove item used to escape 2020-03-12 18:07:23 +01:00
Arne Keller
1388d78244 Javadoc for Item 2020-03-12 09:28:03 +01:00
Arne Keller
0eac34a6c7 Do not test precise error message wording 2020-03-12 09:18:58 +01:00
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