Feeling bored? Write a bot program in Java which will collect the beer for you.
Of course, your program must do this before your opponent.
This is inspired from the fruitbot challenge.
What is the challenge?
There is a 6x6 grid with a total of 9 beer bottles.
| Beer Type | Count |
|---|---|
| Karhu | 1 |
| Karjala | 3 |
| Koff | 5 |
At any time, two bot programs will be competing with each other There are 4 simple rules
- 1. Your bot program must make a move with in 3 seconds.
- 2. The bot program which collects more than half the items in at-least two categories will be the winner.
- 3. Game will be aborted if there is no clear winner in three minutes.
- 4. If a bot program causes exception then the opponent will be declared as the winner.
Write your bot program implementing the interface BeerBot How to execute the program? ========= Download the program.
Unzip
You should create a jar file containing your bot program and place the jar file in the 'beerbots' folder
Execute the beerninja.bat file.
Please upload your bot program here so that it can be tried against others.
Existing bot programs ========= Download the botprograms jar from here
(This will be updated when someone upload a bot program)
License ========= This has WTFPL license.
Note: Idea of LayeredPane usage from https://stackoverflow.com/questions/4687607/does-adding-a-jlabel-to-a-jpanel-hide-the-jpanel/4687759#4687759