1. 32
  1. 9

    “My father fought in the Core Wars…”

    1. 8

      Because it is your computer that runs the code, you can use a lot of different techniques. But that also may cause a problem, because you can use any algorithm if it fits in the timeout given. This means that if you have the hardware for it, you could train a neural net with 1M parameters and run it against others. You would probably win, but at a cost. Basically, I think that this could create a pay-to-win problem.

      1. 5

        I personally support anyone wanting to solve this game using machine learning, because that’s an interesting problem in itself, as long as they keep it from impeding/discouraging beginners :-)

        They have multiple divisions in the tournament (Beginner, Intermediate, Advanced). While that is not a perfect solution, because you can’t enforce it, in practice I think anyone training a neural net would take that to the Advanced division where it’s fair game and go for the gold. The Battlesnake community is full of friendlies and I doubt anyone would take that level of bot into the beginner’s division, which would just be blatantly unfair, and not really worth the Beginner prize in a tournament anyway. In Advanced, there’s still going to be a cut-off point where the cost of your hardware grows past the potential of winning a prize, and even then, there’s enough random chance in the game that it’s not a guaranteed win.

        1. 3

          If this ever became a legitimate problem, you could say “You must run your code on a Raspberry Pi” or “Your code will be run in a docker container with certain resource limits set”.

          1. 2

            The problem is that then you cannot enforce such requirements using what they have now, and moving to Docker containers could open remote code execution problems, which are hard to deal with, because sandboxing is hard. There is no universal solution. CodeCombat solution is to have their own language subsets, which they then can control how are executed. Obviously, the techniques are then limited.

            1. 2

              The engine is open source and you can easily run it on your own network. So if you want to, you can host your own event where everyone brings a Raspberry Pi to run on.

            2. 2

              This seems like complaining that surfing is pay-to-win because some surfers can buy better boards. It’s not strictly incorrect, but it appears to be a great distance away from the point of surfing.

            3. 6

              Halite is also similar in spirit. I always wondered what theoretical knowledge would help become better at these contests/games.

              1. 2

                missed their chance to call it “snake arena” (:

                1. 2

                  Snake 3: Arena