« first day (1 day earlier)      last day (668 days later) » 

00:00
Actually wait
what happens when there are no grenades/stickies?
I don't need the comma separation for the position/rotation ones
@CᴏɴᴏʀO'Bʀɪᴇɴ That line will just be blank
New input format (:P):
that may be good to note on the challenge
my x
my y
my z
my health
my clip
my pitch
my yaw
enemy x
enemy y
enemy z
enemy health
enemy clip
enemy pitch
enemy yaw
position of my grenade 1, midair?; position of my grenade 2, midair?; ...
position of my stickybomb 1, position of my stickybomb 2, ...
position of enemy grenade 1, midair?; position of my grenade 2, midair?; ...
position of enemy stickybomb 1, position of enemy stickybomb 2, ...
New output:
new button state
new pitch
new yaw
The X/Y/Z will be relative to the tf_logic_arena which I placed dead-center
personally, I like (my x) (my y) (my z) (my health) (my clip) (my pitch) (my yaw)\n(enemy...)
00:02
Yeah but then you need to do two splits instead of one
I'm trying to make it as quick to parse as possible
you'll still need to sort out the information later
ehh
nvm
Right but accessing the array is constant (at least assuming it's a plain-old array)
with yours, I can do
// input = ...
let [x, y, z] = input.splice(0, 3);
let [ex, ey, ez] = input.splice(0, 3);
which is easier
 
3 hours later…
02:33
Blergh, bugs with bot -team + Arena
I would be lying if I didn't say this is up there as some of the messiest code I've ever written
02:50
03:24
The stickybomb/grenade tracking will be really difficult.
 
15 hours later…
18:44
everything is on fire and broken
please help
end my suffering
OK, that's not true. Pretty much everything works, but the grenade and sticky tracking isn't working at all :(
19:27
5616.0
6130.0
1252.03125
175
0
0.0
0.0
5616.0
5168.0
1252.03125
175
0
0.0
0.0
6012.78173828125;6088.28955078125;1255.4859619140625;1
hellll yeah
finally
The clip thing isn't working though. Strange
Oh and the eye angles

« first day (1 day earlier)      last day (668 days later) »