xD I was just playin' around w/ JS and had to try it.

Jonathan wrote:It's just like Armagetron!
If I do that, I have to make the bot a bit smarter. Right now it's completely random on which way it turns. It don't care what it's turning into.sinewav wrote:Keep developing!
The colors are randomly chosen out of an array of 14 colors. I could set it so it don't choose the same color though.Zimblunk wrote:Now I can play Armagetron without ever leaving my browser! Thanks!
Btw, a couple rounds, I was the same color as the AI. (Both times, the color was purple. Oo)
I just chose the default arma keys. They keys can be set by changing lightron.game.player.one to whatever ya want the keys to be. Just a string of left key right key. Right now it's "zx".Jip wrote:Nice.
Could you pick 2 different turn keys? on german keyboards the "y" and "z" keys are interchanged.
Heh, I meant as in the AI boxing itself, as seen on my screenshot. You're welcome, I guess.Light wrote:Jonathan wrote:It's just like Armagetron!
Lol, well I know it's not a 3D game with all the features of arma. I caught on to what ya meant.Jonathan wrote:Heh, I meant as in the AI boxing itself, as seen on my screenshot. You're welcome, I guess.Light wrote:Jonathan wrote:It's just like Armagetron!