Giter Club home page Giter Club logo

blockbattle-engine's Introduction

blockbattle-engine

The engine for the AI Block Battle competition at TheAIGames.com

This version of our AI Block Battle engine has been set up for local use, for your own convenience. Note that this does not include the visualizer.

To compile (Windows, untested):

cd [project folder]
dir /b /s *.java>sources.txt
md classes
javac -d classes @sources.txt
del sources.txt

To compile (Linux):

cd [project folder]
mkdir bin/
javac -d bin/ `find ./ -name '*.java' -regex '^[./A-Za-z0-9]*$'`

To run:

cd [project folder]
java -cp bin com.theaigames.blockbattle.Blockbattle [your bot1] [your bot2] 2>err.txt 1>out.txt

[your bot1] and [your bot2] could be any command for running a bot process. For instance "java -cp /home/dev/starterbot/bin/ main.BotStarter" or "node /home/user/bot/Bot.js"

Errors will be logged to err.txt, output dump will be logged to out.txt. You can edit the saveGame() method in the AbstractGame class to output extra stuff like your bot dumps. If you want to quickly run the engine from Eclipse, change DEV_MODE = false to DEV_MODE = true in the main method of the Blockbattle class and provide your own bot in that method as well.

blockbattle-engine's People

Contributors

jimvaneeden avatar

Stargazers

 avatar Denis  avatar  avatar Stefan Hendriks avatar ╯‵Д′)╯彡┻━┻ (☕1e6) avatar Philipp Fischbeck avatar Constantin Mihalache avatar Jordan Hall avatar ZZWENG avatar Robbie Capps avatar

Watchers

James Cloos avatar  avatar Niko van Meurs avatar  avatar Denis  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.