GithubHelp home page GithubHelp logo

nuketankai's Introduction

#Nuke's Tank AI for the 2016 Pason Coding Contest

##About:

The Nuke tank AI battle application was built by @DLukeNelson and @eyesniper2 for the Pason coding contest. This application is based off of the sample code provided by Pason for use in their virtual machine. Getting the API to work with anything else might prove challenging.

The strategy used per friendly tank was to focus on dodging bullets and attacking unfriendly targets as they approach. In order to avoid targeting unfriendly targets through walls a check was used to make sure that the friendly tank had a line of sight to the enemy tank. Before firing there was also a check to make sure friendly targets were not in the way.

##Usage:

To explore the project and make modifications, this project is set up using maven. However to get this project to run in the Linux VM that is provided you will need to not compile the project and use the following steps:

  1. Drag your files into the VM to match this structure with its dependencies.

    net
    	rayfall
    		... Rest of the project ...		
    org
    	json
    		... Rest of the library ...
    
  2. From the top of the project structure above (The folder that has the org and net folder) run the following command to compile the software:

    • Linux
    javac -cp /usr/local/share/java/zmq.jar:. net/rayfall/TankAI/Client.java
    
  3. The run the software using this command:

    • Linux
    java -Djava.library.path=/usr/local/lib -cp /usr/local/share/java/zmq.jar:. net.rayfall.TankAI.Client <ip> <match-token>
    

##API:

If you are a student or a competitor looking to get a jump start on their client for this contest please have a look at the API branch.

Dependencies

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.