Automabot Battler by NeiloGD
Test your skills at implementing a simple AI program, and pitting it against a tougher robot!
This requires WebGL, and probably an alrightish GPU (May run on a Chromebook, let me know if it does!). If there is demand I may put together a Windows & Linux build for this, but my aim here is to avoid needing native builds anymore.
Each time you win, the tougher bot will take the AI you beat it with, forcing you to improve your own program more be it through brute force spam attacking it, or be it through simpler means by evading quickly, healing at the cost of some energy, or annoyingly circling it until you can blast it with a higher power weapon.
Each bot has both health (green bar), and energy (blue bar). Energy will charge, and is used for firing weapons and healing. This will also charge over time.
The program works quite simply, a single command is a "Condition" and an "Operation". Each condition and operation can have a value associated with them (to the right of them in the UI). This value is called (X) below.
The conditions available are:
"!" - Never do this. Used to do nothing.
"*" - Always do this. Will always execute this operation.
"E
"E>X" - Do operation when enemy greater than (X) units from you.
"St
"St>X" - Do operation when starting point is greater than (X) units from you.
"At
"He
"He>X" - Do operation when our health is greater than (X)%
"En
"En>X" - Do operation when our energy is greater than (X)%
The operations are as follows:
"Set" - Set current state to (X). State is denoted by the number on the left of the command.
"M-X" - Move to within (X) units of the enemy.
"M-St" - Move to within (X) units of our starting point.
"AvAtX" - Avoid attack by moving (X) units out of its way.
"At-WpA" - Attack using Weapon A. Weapon A is fast, low energy cost, but low damage.
"At-WpB" - Attack using Weapon B. Weapon B is slow, high energy cost, and high damage.
"Heal" - Heal ourself (X)% by using some of our energy.
This requires WebGL, and probably an alrightish GPU (May run on a Chromebook, let me know if it does!). If there is demand I may put together a Windows & Linux build for this, but my aim here is to avoid needing native builds anymore.
Each time you win, the tougher bot will take the AI you beat it with, forcing you to improve your own program more be it through brute force spam attacking it, or be it through simpler means by evading quickly, healing at the cost of some energy, or annoyingly circling it until you can blast it with a higher power weapon.
Each bot has both health (green bar), and energy (blue bar). Energy will charge, and is used for firing weapons and healing. This will also charge over time.
The program works quite simply, a single command is a "Condition" and an "Operation". Each condition and operation can have a value associated with them (to the right of them in the UI). This value is called (X) below.
The conditions available are:
"!" - Never do this. Used to do nothing.
"*" - Always do this. Will always execute this operation.
"E
"St
"At
"En
The operations are as follows:
"Set" - Set current state to (X). State is denoted by the number on the left of the command.
"M-X" - Move to within (X) units of the enemy.
"M-St" - Move to within (X) units of our starting point.
"AvAtX" - Avoid attack by moving (X) units out of its way.
"At-WpA" - Attack using Weapon A. Weapon A is fast, low energy cost, but low damage.
"At-WpB" - Attack using Weapon B. Weapon B is slow, high energy cost, and high damage.
"Heal" - Heal ourself (X)% by using some of our energy.
Ratings
| Coolness | 45% | 1550 |
| Overall | 3.31 | 433 |
| Audio | 2.67 | 574 |
| Fun | 3.10 | 535 |
| Graphics | 2.93 | 663 |
| Humor | 2.20 | 760 |
| Innovation | 4.07 | 59 |
| Mood | 2.92 | 568 |
| Theme | 3.21 | 972 |
Well done!