Coder Social home page Coder Social logo

parthnan / antigrav-wavesurfingbot Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 1.0 5.44 MB

Project to create a competitive Robot team of 3 Robots using Java in the software "Robocode"(https://robocode.sourceforge.io/) to fight in a 3 v 3 v 3 tournament.

Java 100.00%
robocode battle movement robocode-masters tournament java strategy

antigrav-wavesurfingbot's Introduction

Anti Gravity + Wavesurfing Bot (used in Robocode tournaments)

HitCount

Project to create a competitive Robot team of 3 Robots using Java for Robocode(https://robocode.sourceforge.io/) to fight in a 3 v 3 v 3 tournament. Free For All matches with a 3 bot team, opposing 3 bot team, and a standard "Walls.bot" team. This bot team won the tournament of decisively, with 13 victories and 0 losses, while also being a lightweight bot(<25kB).

Summary of the strategy coded in the robot team

The bot uses two main strategies called AntiGravity(反重力)[link 1 below] for unpredictable (complex pattern) movement and Wavesurfing[link 3 below] for finding targets from opposing teams regardless of angular orientation(like a 360 degree Radar). A third and easy-to implement Ramming stategy, or physically colliding with opponents also used for attacking.

Technical details for these three strategies and their implementation is in the two files: PRESENTATION and DETAILREPORT (in Japanese, tournament held in Japan.).

alt text

Basic Reading on the strategies

[1] Secrets from the Robocode masters, Anti-gravity movement: URL: https://www.ibm.com/developerworks/library/j-antigrav/index.html

[2] Secrets from the Robocode masters, Circular targeting: URL:https://www.ibm.com/developerworks/library/j-circular/index.html

[3] Wavesurfing radar algorithm for robocode robots: URL:https://robowiki.net/wiki/Wave_Surfing_Tutorial

Create your own instance of this robot team code

  1. Download the Robocode and Install.
  2. Download and place the folder "group08" inside the folder "robocode/robots".
  3. Upon running Robocode, on the top left choose "Battle->New". In the list of packages choose "group08" -> "Team_group08_2018" to get a team of three OR select G08_Leader to get a single robot under "Robots".
  4. Choose the opposing combatant robots as in (3).
  5. Move to the Rules tab and editthe number of rounds, size of battlefield etc , and then start the battle.

Tournament Results

Round Robin Tournament where each match consisted of a 100 battles, victory based on a complex points system(counting survival, number of misses, net damage output etc.).

My team, won every single matchup with a good margin.

alt text

antigrav-wavesurfingbot's People

Contributors

parthnan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

lsangyon

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.