Skip to content

nazrin-aghayeva/snake-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published