Login to the site and then visit the page to register.
Kode Kombat
Event Introduction
The Kode Kombat Engine was updated on Oct 27, 2300 hours. Please download the latest copy.
KodeKombat is a test to find the team that can code the best Artificial Intelligence. The game for this year is the popular game Nibbles, with its own assortment of twists. The game will be between 4 snakes coded by four different people, and the ‘smartest’ snake wins. An API for the game and the template code is released, and you will have to program your snake's behavior.
Once you submit the code, matches will be run that pit your snake against others, and the winner is the longest survivor!
The API for Java, Framework in JAVA, API for C/C++, C/C++ framework for Windows, and C/C++ framework for Linux. have been released!
The game engine [Updated on Oct 27] for all platforms and languages has been released.
Updates
There seems to be a problem with few people not being able to see any kind of snakes, power-ups,foods in the game output file this is a known issue. For this please use only Jre6 update16 to run your code. Download jre6u16 from this http://java.sun.com/javase/downloads/index.jsp. Also note that the snake's head or body(ex: 11, 10 for botid 0) may not be there in the map for the first iteration
For people coding in C++, there is a small update which is included in latest version.
There is a change in variable name for people coding in Java. The map can be accessed by variable "MAP" and not "NMAP" as stated previously. Inconvenience is regretted.
Problem Statement
The participant is to code one snake that competes with three others in an arena for victory. Victory is determined by the length of the snake at the end of timed rounds. The length will increase each time it ‘eats’ food, and decrease every time it collides into an obstacle or another snake (or itself!).
Event Format
- The arena is a 2-dimensional matrix.
- A snake must decide to go left, right, or forward within a limited amount of time – if it has not made a decision, the snake will move forward. Earlier responses get priority for that move.
- The arena information is accessible each iteration.
- Snakes start with an initial length of 3, width of 1, grow by n units when they eat food where n is the food’s weight, and become (x+3)/2 in length where x is the previous length when they crash.
- There are two types of food particles that may appear: fast food – weight of 1 – and full course meals – weight of 2.
- If a snake eats a power-up, the next 3 food items it eats will make the snake grow by a multiple of the weight of that food item.
- There are fixed obstacle maps for the arena.
- After collisions, snakes are respawned out of a ‘hole’, which is a free-space on the board.
Rules and Regulations
- A team can consist of up to 2 members.
- Decision of the judges is final. Submissions are to be made by mailing your bot to: kodekombat@engineer.org.in
- Any number of bots can be submitted by a team, but only the final submission will be considered.
- If you encounter any problems while running, and want clarifications Kindly mail us output of all the terminals + your algorithm + gameOP files. Kindly put the subject of email as PROBLEM CLARIFICATION, so that this wont be mistaken for a submission
- When submitting your Bot, Put "BOT SUBMISSION--- (team name)" as the subject of the mail. You will have to mention in the mail the platform(win or linux) and include KKBot.java(for java people) or Csnake.c/Csnake.cpp(for C and C++ respectively).
- Last Date of Submission: 30th October
Contact details:
- Manoj Mardithaya : +91-9480346546
- Veeresh : +91-9739865592
- You can email your queries to kodekombat@engineer.org.in
