Giter VIP home page Giter VIP logo

robocode's Introduction

Robocode@it-economics

Gradle Build

What is Robocode?

Robocode is an Open Source Educational game started by Mathew Nelson (originally provided by IBM). Currently contributions are being made by various people; officially Flemming N. Larsen is working on Robocode to keep it current and fix the bugs. The game is designed to help people learn to program in Java (programming language) and enjoy the experience. It is very easy to start - a simple robot can be written in just a few minutes - but perfecting a bot can take months or more.

Robocode How-To

Requirements: In order to run Robocode, Java 6 Standard Edition (SE) or a newer version of Java must be installed on your system. Both the Java Runtime Environment (JRE) and the Java Developer Kit (JDK) can be used. Note that the JRE does not include the standard Java compiler (javac), but the JDK does.

  1. fork Github project
  2. clone the forked repo into your favourite IDE (currently Eclipse and IntelliJ are automatically supported)
  3. Checkout the package structure
  4. in com.ite.robocode you will find a Java class MyFirstIteRobot
  5. rename or better refactor this class name to whatever you like (e.g. MySuperRobot). Please remember to also rename the corresponding class file if you did not refactor! This name will be your robots name. Choose wisely!
  6. basic robots extend the Robot class. All methods can be manually overwritten. To find some inspiration you can checkout the Sample package.
  7. let the fun begin and program your own robot behaviour.
  8. you can test your robots behaviour by performing gradle run. In the pop up window press STRG + N, choose the package com.ite.robocode and add your robot. Add a sample robot from the sample package, hit Start Battle and watch your robot perform
  9. once you finished or time runs out you need to create a Pull Request
  10. you're done. Relax or cheer for your robot while watching the performance against the others!

robocode's People

Contributors

alex-kuck avatar clifficious avatar svenkirchner avatar trampnau avatar

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.