Berry Battle

berry-battle-logo-white-text.png

Berry Battle is a game simulator that officiates a match between two user defined AI algorithms executing on Raspberry Pi devices.

The inspiration for Berry Battle comes from the excellent code competition Battlecode.

The primary motivations for Berry Battle include:

  • Completions that are open to everyone.
  • Level playing field with low barrier for entry.
  • Flexible and scalable.
  • Language agnostic
  • Automation

news

Jan 26, 2024 Created a prototype of gRPC communication and benchmarked simulated data to get a rough idea of the system’s performance envelope. Read more about it on my project blog.
To simulate unit processing e.g. running A* etc on each unit
Apply constant processing time of 100000ns per unit

 Unit Count | Processing Time (us) | Latency (us) |
          0 |                    0 |         4303 |
         10 |                 1064 |         6020 |
         20 |                 2062 |         5174 |
         30 |                 3064 |         7636 |
         40 |                 4065 |         7991 |
         50 |                 5067 |         9615 |
         60 |                 6070 |        10414 |
         70 |                 7070 |        11162 |
         80 |                 8073 |        12808 |
         90 |                 9076 |        13594 |
        100 |                10076 |        14536 |
        110 |                11078 |        14693 |
        120 |                12076 |        15957 |
        130 |                13081 |        17615 |
        140 |                14080 |        18390 |
        150 |                15082 |        19572 |
        160 |                16084 |        20517 |
        170 |                17108 |        21769 |
        180 |                18091 |        22967 |
        190 |                19090 |        23434 |
        200 |                20091 |        24743 |
test tests::test_node_performance ... ok
Jan 22, 2024 The project’s vision statement has been added along with a napkin sketch of the technical details.
Jan 21, 2024 Welcome to Berry Battle! The work on this project has begun. Additional updates will be coming soon as prototyping begins.