Fix: do not accept keys already used (consider the robots keys free to be used by a human player).
New: Key to use automatic pilot, until a control key is pressed!
Fix: 1 player runs faster than 2; 2 run faster than 3.
Change: rename the related values and fields:
-
pilots and players
-
player-pilot and player-control
Fix: the speed of every player should be the same from the start, no matter if a player dies.
Improve: move the players data to the RAM-disk. This will save 102 bytes. The default data could be init after the last RAM-disk has been loaded. But what about the keys that are stored on the fly while the keyboard table is created? How to save the key addresses to be used by the data init later, without wasting memory? They have to be calculated.
Improve: combine <score_digits.fs> and <udg.fs>, factoring the common code.
Scores of robots-only tests:
Setting | Left | Middle | Right |
---|---|---|---|
1 |
486 (1.00) |
401 (0.82) |
242 (0.49) |
2 |
189 (0.61) |
54 (0.17) |
309 (1.00) |
3 |
185 (0.54) |
54 (0.18) |
288 (1.00) |
4 |
33 (0.67) |
49 (1.00) |
41 (0.83) |
4 |
322 (1.00) |
226 (0.70) |
299 (0.92) |
5 (best) |
200 (1.00) |
159 (0.79) |
151 (0.75) |
Setting | Left | Right |
---|---|---|
1 or 5 |
316 (1.00) |
106 (0.33) |
2 |
185 (0.80) |
231 (1.00) |
3 or 4 (best) |
154 (0.92) |
167 (1.00) |
3 or 4 |
579 (1.00) |
731 (0.79) |
1 or 5 |
614 (1.00) |
153 (0.24) |
Settings:
-
2*
radar. Players loop from 0 to max. The x coordinate of the middle robot is 126. -
Random radar (
2*
or4 *
). Players loop from max to 0. The x coordinate of the middle robot is 127. -
Random radar (
2*
or4 *
). Players loop from 0 to max. The x coordinate of the middle robot is 127. -
Random radar (
2*
or4 *
). Players loop from 0 to max. The x coordinate of the middle robot is 128. -
2*
radar. Players loop from 0 to max. The x coordinate of the middle robot is 128.
Note: When radar is random (2 or 4 pixels range), the duels of 2 robots are more even, but robots crash much easier.
Add configuration of the start positions:
-
triangle (as in v0.1)
-
triangle with random 4-pixel range (as in v.0.2.0)
-
corners
-
opposite corners
-
random corners
-
random vertical line
-
random horizontal line
-
random
-
etc.
Also, add an extra option to start every round from the last position of the previous one.
-
Rename
mon
tobye
instead of redefining it, to save a bit of memory. Or remove it. -
Move the circular string buffer to the RAM-disk.
-
Simplify
option
. -
Rewrite
crash-effect
. -
Simplify
duel-end
. -
Add a message to
duel-init
. -
Calculate the position of menu options at compile-time, in <tron_0xf.file_03.localization.fsb>.
-
Improve
status
.
Enlarge the arena.