Commit Graph

95 Commits

Author SHA1 Message Date
Arne Keller
0e298492a3 Move step output in UI 2020-03-06 14:27:03 +01:00
Arne Keller
c4f2659035 Checkstyle 2020-03-06 13:01:22 +01:00
Arne Keller
0f4ad23bdb Checkstyle 2020-03-06 11:38:18 +01:00
Arne Keller
f5cb7e6f80 Checkstyle 2020-03-06 10:20:30 +01:00
Arne Keller
7c3f57caae Checkstyle 2020-03-06 09:10:51 +01:00
Arne Keller
2649cd85e2 Do not teleport across gaps of size one 2020-03-06 08:43:22 +01:00
Arne Keller
8ec474520c SonarQube 2020-03-05 22:32:18 +01:00
Arne Keller
f5706a2edf Actually include a whitespace constant definition for show train 2020-03-05 21:57:22 +01:00
Arne Keller
c0f22b2697 Checkstyle 2020-03-05 21:54:18 +01:00
Arne Keller
ea15f218cb Checkstyle 2020-03-05 21:45:12 +01:00
Arne Keller
4dd3d872a2 Clean up unused code 2020-03-05 21:15:07 +01:00
Arne Keller
672be521d7 Correctly put trains on the rail network 2020-03-05 21:13:03 +01:00
Arne Keller
802c5deef5 Increase test coverage 2020-03-05 15:27:34 +01:00
Arne Keller
61b6739ab4 Checkstyle 2020-03-05 11:30:23 +01:00
Arne Keller
0e56a1c73b Checkstyle 2020-03-05 10:48:00 +01:00
Arne Keller
ce63ed3bed Checkstyle 2020-03-04 22:56:37 +01:00
Arne Keller
4fad0a377e Optimize large train placement 2020-03-04 22:22:05 +01:00
Arne Keller
70a070d9b1 Checkstyle 2020-03-04 20:22:59 +01:00
Arne Keller
860d31d8fb Recompute train direction when needed 2020-03-04 20:17:03 +01:00
Arne Keller
428e1862fc Checkstyle 2020-03-04 20:14:47 +01:00
Arne Keller
1a049e97cf Do not test ambiguous train placement, clean up code 2020-03-04 14:25:49 +01:00
Arne Keller
afb5e62d24 Correctly handle a few edge cases in put train 2020-03-04 11:35:32 +01:00
Arne Keller
5fd90ef2bc Remove unused code 2020-03-03 22:59:49 +01:00
Arne Keller
5267177f4e Implement model 2B 2020-03-02 23:29:59 +01:00
Arne Keller
324231ef07 Make sure rolling stock has at least one coupling 2020-02-29 11:11:00 +01:00
Arne Keller
8f8baf6701 Implement model 1A 2020-02-29 08:26:24 +01:00
Arne Keller
68b28f3c37 Change silly edge case behaviour 2020-02-25 14:58:14 +01:00
Arne Keller
0970bfb978 Checkstyle 2020-02-25 08:52:20 +01:00
Arne Keller
e487a23251 Move Terminal printing out of model classes 2020-02-22 18:23:12 +01:00
Arne Keller
40cc52d2a3 Checkstyle 2020-02-22 18:02:53 +01:00
Arne Keller
c82ab689d4 Write comments 2020-02-21 08:30:30 +01:00
Arne Keller
122193300d Refactor train movement into train manager class 2020-02-21 08:19:57 +01:00
Arne Keller
4da5eeebd3 Checkstyle 2020-02-20 14:11:26 +01:00
Arne Keller
29a1953dab Checkstyle and SonarQube 2020-02-20 11:51:57 +01:00
Arne Keller
2f8f79a7a1 SonarQube 2020-02-20 09:31:20 +01:00
Arne Keller
72bea80f9b SonarQube 2020-02-20 09:04:18 +01:00
Arne Keller
938ace5a5b SonarQube 2020-02-20 08:36:35 +01:00
Arne Keller
aa8f43b251 Checkstyle and SonarQube 2020-02-19 23:54:33 +01:00
Arne Keller
c40e635cb8 Checkstyle 2020-02-19 23:18:14 +01:00
Arne Keller
931ff805a9 Store available commands in map 2020-02-19 23:09:43 +01:00
Arne Keller
8803aab42a Checkstyle 2020-02-19 19:32:35 +01:00
Arne Keller
1f3802d380 Refactor command parsing 2020-02-19 19:28:06 +01:00
Arne Keller
7e39a97dd4 Checkstyle 2020-02-19 18:49:18 +01:00
Arne Keller
5b9f9b8da7 Checkstyle 2020-02-19 18:47:00 +01:00
Arne Keller
33138162fb Refactor coach as an abstract class 2020-02-19 18:44:25 +01:00
Arne Keller
8811dcf228 Fix placing trains 2020-02-19 18:40:43 +01:00
Arne Keller
e8a2a28aa8 Checkstyle 2020-02-19 18:30:40 +01:00
Arne Keller
b17e8db22f Checkstyle 2020-02-19 18:13:22 +01:00
Arne Keller
24919ac07c Correctly print electrical engines 2020-02-19 10:20:59 +01:00
Arne Keller
2e336a9bcb Correctly crash touching trains 2020-02-19 10:14:02 +01:00