Giter VIP home page Giter VIP logo

battlecity's Introduction

For NonJava languages:

  • please go to .\src\main<language>
  • chose your language
  • and follow README.md instructions

For Java:

  • setup Java (JDK 8)
    • setup JAVA_HOME variable
  • setup Maven3
    • setup M2_HOME variable
    • setup Path variable
    • open cmd and run command 'mvn -version' it should print valid java and maven location
  • import this project as Maven project into Intellij Idea (Eclipse/ is not recommended)
  • please install Engine dependency
  • register your hero on server http://server/codenjoy-contest/register
  • in class .\src\main\java\com\codenjoy\dojo\bomberman\client\YourSolver.java
    • copy board page browser url from address bar and paste into main method
    • implement logic inside method
      • public String get(Board board) {
    • run main method of YourSolver class
    • on page http://server/codenjoy-contest/board/game/bomberman you can check the leaderboard - your bot should move
    • if something changed - restart the process
      • warning! only one instance of YourSolver class you can run per player - please check this
  • in class .\src\main\java\com\codenjoy\dojo\bomberman\client\Board.java
    • you can add you own methods for work with board
  • in test package .\src\test\java\com\codenjoy\dojo\bomberman\client
    • you can write yor own test
  • Codenjoy!

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.