Closed PistonMiner closed 3 years ago
localJ
and localI
are always equal, right? So we could just drop one of them?
My understanding was that i
was the index of the team the instance is for, and j
the index of the instance for that specific team, with each team having multiple instances, but it's possible I'm misunderstanding the code.
cc @Savallator
Ah yeah you were right, they were equal but they shouldn't
Did anyone actually test it before blindly hitting merge? Because while i have not yet looked into it, i suspect that was deliberately equal.
Or, after looking in the code: LocalJ is not even used apart from debug output, so maybe instead of blindly changing names, restructure it so it is no longer needed.
And for testing you just need a computer with working docker. You can then start the Database, Engine and Flagsink and test the Flagshooter.
Compiles, but haven't tried running it as I don't have a test setup.