|
-
incredibulus-actionscriptum
snake AI
hello guys i trying to make the snake a little smart here i just started
www.magnetos.lazoom.com/snake.swf
use arrokeys to move your snake
it uses hitTest() so it might get slower as the snake grows
the code its quite simple i used mad-sci replicating code and i added some simple logic to it
let me know if the snake is smart enough for ya
-
Cool, i ended up killing myself 15-6
-
2KHeroes / Sylvaniah designer
Extremly fun ! - i think this could be an interesting renewal of the old snake game ! - snake is pretty easy to beat if you tend to stay in the middle to shorten distance between foods - though, since it got the same speed, it can be the luckiest that wins ( depending on how far from each the next food appears )
-suggestion : i think you could mix this with a little of the "TRON light-motorcycles" concept : by making the tail of the opponent uncrossable and lethal, you could add some fun/strategic aspect !
-
DOT-INVADER
nice idea, magnetos ^_^
really, you don't die when you hit the other snake? aw, i did my best to escape from him everytime 
a complete game with it would be a nice addition... with different (yet simple) backgrounds and a 2 player mode included...
-
SaphuA
:)
Hey mag, great to see some nice work of you again 
Realy like this and it can turn out to be a cool game...
Some sugestions:
The snake should not have so much random movement (left-right, when the apple is above him)...
The snake should not immediatly react when a new apple is on screen, it should first move to the center while 'searching' where the apple is...
-
incredibulus-actionscriptum
-
Senior Member
Yea yaa see the real trick is:
1. you die if you hit your tail or the snakes tail
2. the snake dies if it hits your tail or itself..
now that will be way cool.. 
tip:
look one step ahead:
if you move left and you cannot go left you have 2 choises
1) go up
2) go down
just look for the apple..
ms
-
incredibulus-actionscriptum
Originally posted by Mad-Sci
Yea yaa see the real trick is:
1. you die if you hit your tail or the snakes tail
2. the snake dies if it hits your tail or itself..
now that will be way cool.. 
tip:
look one step ahead:
if you move left and you cannot go left you have 2 choises
1) go up
2) go down
just look for the apple..
ms
thanks for the tips mad
-
Nice WIP Magnetos,
Prehaps instead of dieing when you hit the other snake or the wall you could loose points, that way you could also try and increase your score by blocking the other snake - just an idea.
-
Who needs pants?
nice work mag, keep it up.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|