Skip to content

rafekruse/Battlecode-2019

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

246 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battlecode 2019

Note: .js files are transpiled by a Battlecode tool, the actually source is the java files.

What is Battlecode?

Summary form the Battlecode Website: "Battlecode is a real-time strategy game, for which you will write an AI player. In Battlecode, two teams of virtual robots roam the screen managing resources and executing different offensive strategies against each other. Your AI player will need to strategically manage your robot army and control how your robots work together to defeat the enemy team. As a contestant, you will learn to use artificial intelligence, pathfinding, distributed algorithms, and network communications to make your player as competitive as possible. "

Another great explanation and deeper dive into the 2019 Battlecode comes from a post-mortem written by another finalist team NP-cgw. Highly recommend giving it a read if interested in Battlecode as it covers the "essence" of the competition.

My Participation in Battlecode, Team : Chicken

2017 : Competed in a duo, was eliminated in the best of 64 round of the qualifying tournament.

2018 : Competed solo, was eliminated in the best of 64 round of the qualifying tournament.

2019 : Competed in a duo, made top 16 in qualifying tournament, and moved on to the top 16 finalist tournament where we placed 5/6. Tournament Bracket

2019 Strategy

Note: If your curious of the context of the strategy please go read the above linked Battlecode post-mortem.

My teams AI strategy was heavily dependent on fighting over resources and skirmishing to drain the resources of the enemies. Key Strategy Ideas:

  1. Rushing central resources immediately.
  2. Using cheap high health knights to burn the fuel of the enemy by dying until the enemy runs out of the ability to attack then overrunning them.
  3. Planting Churchs in the open to allow for the spawning of knights to retake enemy controlled resource clusters
  4. At predetermined rounds sending all knights to the enemy castle in hopes of draining enemy fuel and overrunning them to kill the castle.

Clips of rounds from 2019 finalist tournament

Chicken vs Codelympians, Loss in the winners bracket round 1

Chicken vs DOS, Win in the Losers round 1

Chicken vs Wololo, Win in the Losers round 2

  • Game 1 : loss, bug occured.
  • Game 2 : win, good example of strategy execution/
  • Game 3 : win

Chicken vs Big Red Battlecode, Win in the Losers round 3

  • Game 1 : win
  • Game 2 : win, another good example of strategy execution/

Chicken vs Knights of Cowmelot, Loss in the Losers round 4

Awesome tools created by the community for 2019

https://github.com/hgarrereyn/Clairvoyance

https://stonet2000.github.io/BC19-Seeds-Catalog/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published