Skip to content

A simple Robocode MegaBot AdvancedRobot for melee and 1v1

License

Notifications You must be signed in to change notification settings

g-otn/robocode-reimu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

robocode-reimu

A simple Robocode MegaBot AdvancedRobot for meelee and 1v1.

It was created by the "Alpha" team for the 6th Robotica Paula Souza's Robocode championship (2018, click on "6º Robocode") and finished in 2nd place. Check out its battles (look for the videos with "Fatec108" on the title).

The name "Reimu" is a reference of the main character of the Touhou Project game series Reimu, who dodges bullets in the game.

Veja este README.md em Português brasileiro.

Main strategy

While doing a spiral-like movement towards the target, it monitors the target's energy to check if it shot. If a shot is detected, it changes the rotation direction. This dodges most robots with Head-On and Linear targeting.

Other Features

  • One on One Radar
  • Linear Targeting (slightly modified for small turns for small distances)
  • Target change based on being hit, bullet hit, distance and health
  • Bullet power change based on distance and own health
  • Wall anti-collision (broken)

Demo of Reimu changing targets by choosing lowest health when acidentally ramming and when shot.

Download .jar

See Releases.