Armagetron v0.5

What do you want to see in Armagetron soon? Any new feature ideas? Let's ponder these ground breaking ideas...
Post Reply
User avatar
Light
Reverse Outside Corner Grinder
Posts: 1667
Joined: Thu Oct 20, 2011 2:11 pm

Armagetron v0.5

Post by Light »

Jealous Z-Man?

xD I was just playin' around w/ JS and had to try it. :P
User avatar
Jip
Round Winner
Posts: 397
Joined: Sat Sep 26, 2009 5:32 pm

Re: Armagetron v0.5

Post by Jip »

Nice.
Could you pick 2 different turn keys? on german keyboards the "y" and "z" keys are interchanged.
User avatar
Zimblunk
Average Program
Posts: 55
Joined: Mon Sep 27, 2010 7:41 pm
Location: USA

Re: Armagetron v0.5

Post by Zimblunk »

Now I can play Armagetron without ever leaving my browser! Thanks! :D

Btw, a couple rounds, I was the same color as the AI. (Both times, the color was purple. Oo)
User avatar
sinewav
Graphic Artist
Posts: 6413
Joined: Wed Jan 23, 2008 3:37 am
Contact:

Re: Armagetron v0.5

Post by sinewav »

:star: Keep developing! :star:
User avatar
vov
Match Winner
Posts: 568
Joined: Thu Feb 17, 2011 8:40 pm

Re: Armagetron v0.5

Post by vov »

olive.jpg
olive.jpg (15.79 KiB) Viewed 4248 times
We now know who you made this for. And his key preferences. :)
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: Armagetron v0.5

Post by AI-team »

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
 
 
User avatar
Jonathan
A Brave Victim
Posts: 3391
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Re: Armagetron v0.5

Post by Jonathan »

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
User avatar
Light
Reverse Outside Corner Grinder
Posts: 1667
Joined: Thu Oct 20, 2011 2:11 pm

Re: Armagetron v0.5

Post by Light »

Lol, didn't expect so many replies. :P
Jonathan wrote:It's just like Armagetron!
:D
sinewav wrote::star: Keep developing! :star:
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.
Zimblunk wrote:Now I can play Armagetron without ever leaving my browser! Thanks! :D

Btw, a couple rounds, I was the same color as the AI. (Both times, the color was purple. Oo)
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.
Jip wrote:Nice.
Could you pick 2 different turn keys? on german keyboards the "y" and "z" keys are interchanged.
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".

-----------------------------------
Thanks for the replies. :)
User avatar
Jonathan
A Brave Victim
Posts: 3391
Joined: Thu Feb 03, 2005 12:50 am
Location: Not really lurking anymore

Re: Armagetron v0.5

Post by Jonathan »

Light wrote:
Jonathan wrote:It's just like Armagetron!
:D
Heh, I meant as in the AI boxing itself, as seen on my screenshot. You're welcome, I guess.
ˌɑrməˈɡɛˌtrɑn
User avatar
Light
Reverse Outside Corner Grinder
Posts: 1667
Joined: Thu Oct 20, 2011 2:11 pm

Re: Armagetron v0.5

Post by Light »

Jonathan wrote:
Light wrote:
Jonathan wrote:It's just like Armagetron!
:D
Heh, I meant as in the AI boxing itself, as seen on my screenshot. You're welcome, I guess.
Lol, well I know it's not a 3D game with all the features of arma. I caught on to what ya meant. :P

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.
User avatar
Light
Reverse Outside Corner Grinder
Posts: 1667
Joined: Thu Oct 20, 2011 2:11 pm

Re: Armagetron v0.5

Post by Light »

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.
User avatar
Light
Reverse Outside Corner Grinder
Posts: 1667
Joined: Thu Oct 20, 2011 2:11 pm

Re: Armagetron v0.5

Post by Light »

: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.
milan
Average Program
Posts: 69
Joined: Sat May 23, 2009 5:47 pm
Location: Belgrade, Serbia

Re: Armagetron v0.5

Post by milan »

:P very nice, don't stop developing.
Word
Reverse Adjust Outside Corner Grinder
Posts: 4258
Joined: Wed Jan 07, 2009 6:13 pm

Re: Armagetron v0.5

Post by Word »

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 :)
User avatar
killerbees19
Average Program
Posts: 58
Joined: Sat Jul 12, 2008 10:11 am
Location: Vienna/Austria
Contact:

Re: Armagetron v0.5

Post by killerbees19 »

Nice one, good work :)
Post Reply