Armagetron v0.5
Re: Armagetron v0.5
Nice.
Could you pick 2 different turn keys? on german keyboards the "y" and "z" keys are interchanged.
Could you pick 2 different turn keys? on german keyboards the "y" and "z" keys are interchanged.
Re: Armagetron v0.5
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)
Btw, a couple rounds, I was the same color as the AI. (Both times, the color was purple. Oo)
Re: Armagetron v0.5
We now know who you made this for. And his key preferences.
- AI-team
- Shutout Match Winner
- Posts: 1020
- Joined: Tue Jun 23, 2009 6:17 pm
- Location: Germany/Munich
- Contact:
Re: Armagetron v0.5
Pretty neat, but instead of using alert, you should just "write it down" somewhere
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
- Jonathan
- A Brave Victim
- Posts: 3391
- Joined: Thu Feb 03, 2005 12:50 am
- Location: Not really lurking anymore
Re: Armagetron v0.5
It's just like Armagetron!
- Attachments
-
- Clever bot.png
- Blue is the bot boxing itself. Green is me enjoying all of my space by hugging the rim.
- (5.44 KiB) Not downloaded yet
ˌɑrməˈɡɛˌtrɑn
Re: Armagetron v0.5
Lol, didn't expect so many replies.
-----------------------------------
Thanks for the replies.
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.
-----------------------------------
Thanks for the replies.
- Jonathan
- A Brave Victim
- Posts: 3391
- Joined: Thu Feb 03, 2005 12:50 am
- Location: Not really lurking anymore
Re: Armagetron v0.5
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!
ˌɑrməˈɡɛˌtrɑn
Re: Armagetron v0.5
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!
Well, I dunno if I'll keep it up, but the bot turns a lil at random to make it a little less bot like, the colors don't double unless you pick your color explicitly rather than letting it be random (lightron.game.players = ['random']). I also changed the left/right keys to a and s for player 1 and l and ; for player 2. To do 2 players, you just set two colors (lightron.game.players = ['blue', 'black']).
It only supports up to 2 players, and the bot doesn't appear if you do set it to 2.
Re: Armagetron v0.5
Got bored and added wall lengths to this. Set default to 100, but you can change it in lightron.cycle.walls_length
Your tail will be 10 * walls_length in pixel length, or walls_length walls segments.
Your tail will be 10 * walls_length in pixel length, or walls_length walls segments.
Re: Armagetron v0.5
:O It fights back! lol it's nowhere near perfect, but it will try to chase you a bit. It still detects death, so it will bd if it must as well.
It's easier to kill now, which it wasn't hard at all before .. but it's actually becomming sorta cool IMO.
It's easier to kill now, which it wasn't hard at all before .. but it's actually becomming sorta cool IMO.
Re: Armagetron v0.5
very nice, don't stop developing.
Re: Armagetron v0.5
Funny idea! You'll want to make it impossible for the player and the bot to have the same color...that can be extremely confusing
- killerbees19
- Average Program
- Posts: 58
- Joined: Sat Jul 12, 2008 10:11 am
- Location: Vienna/Austria
- Contact:
Re: Armagetron v0.5
Nice one, good work