![]() ![]() One-on-One: Apply Oscillator movement which is running perpendicular with enemy.The path may longer but it can avoid being stuck at moving in a small area. In safe area (far away from the walls): to reach a destination, it runs smoothly without reversing the movement direction, the turning angle can be large.When near the walls: it will run to the destination point in the shortest way (turn the body with the shortest angle, reverse the movement direction if necessary).Gun: Use Waves & GuessFactoring Target + Circular & Linear Pattern Prediction.Melee: Optimal Scan (just scan area with enemies, don't scan redundant areas).It combine strategies for Radar, Gun and Movement differently depend on the situations. In general, it will behave differently when 1-on-1 and melee (battle with many bots).I named it after reading the book "Reinventing Organizations": the robot is on the journey of unfolding itself. Hitting wall or Enemies: reverse direction.May need huge refactor, so I won't, lol!!! Just random moving in the same direction.After that, I realized that the idea is similar to Waves algorithm. This project is my robot for the game RoboCode ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |