Page 2 of 2

Re: My take on Snake

Posted: 28 Aug 2017, 15:52
by SpeedMaster
Too bad for me :(
I can not install the new version for the moment... thanks anyway. :)
Btw, I am also working on a snake game (almost finished) :D
I will release it soon.

Re: My take on Snake

Posted: 28 Aug 2017, 21:54
by maestrith
Update:
-Settings: Changing board size does not reload the script

Re: My take on Snake

Posted: 28 Aug 2017, 22:05
by Masonjar13
You should consider releasing this on Game Jolt ;) You might also consider adding an option for the boundaries to kill (that's how I'm use to playing it, anyway).

Re: My take on Snake

Posted: 28 Aug 2017, 22:33
by maestrith
No idea what Jolt is, but I may look into it.

Re: My take on Snake

Posted: 28 Aug 2017, 22:43
by jeeswg
This is amazing, I was thinking of doing Snake at some point, but this is better than what I would have come up with, although I might still have a go (at some point). Thanks for sharing.

Some things I was thinking of:
- faster speed
- smaller board
- secret (or not) option to beep when the snake hits itself in Zen mode (it's good to know when you pull off a cool 'just missed the tail' trick that you did in fact actually avoid an overlap
- secret (or not) option to prevent the snake from moving into itself, 'solid' mode (i.e. pressing the arrow key at that point would do nothing if it would cause a collision)
- (I only mention 'secret' because the options menu looks quite full already!)

Also:
- call it caterpillar, it looks more like a caterpillar, or snAHK hehe, actually nah Snake is fine
- AHK green/red colours ftw

Re: My take on Snake

Posted: 28 Aug 2017, 22:56
by maestrith
jeeswg wrote:This is amazing, I was thinking of doing Snake at some point, but this is better than what I would have come up with, although I might still have a go (at some point). Thanks for sharing.

Some things I was thinking of:
- faster speed
- smaller board
- secret (or not) option to beep when the snake hits itself in Zen mode (it's good to know when you pull off a cool 'just missed the tail' trick that you did in fact actually avoid an overlap
- secret (or not) option to prevent the snake from moving into itself, 'solid' mode (i.e. pressing the arrow key at that point would do nothing if it would cause a collision)
- (I only mention 'secret' because the options menu looks quite full already!)

Also:
- call it caterpillar, it looks more like a caterpillar, or snAHK hehe, actually nah Snake is fine
- AHK green/red colours ftw
Faster Speed:
-I had that in at one point, but I re-wrote the code and forgot to put it back in.
Smaller Board:
-You can kind of do that by changing the size of the snake itself. You can have basically a 2x2 board by making your board 500x500 and the snake 250
Beep on collision:
-The way I play it, it would never stop. I crank it up to 500 body segments a lot.
Solid Mode:
-Not real sure how I would do that...
I do like the idea of SnAHK as a name :) but it's already Snake. Thanks for the kind words!

Re: My take on Snake

Posted: 28 Aug 2017, 23:29
by Masonjar13
Game Jolt! It's an indie game dev site. It would get a decent bit of attention on there, I think. Users might be a bit more critical about it, though, but it would be good feedback if you're looking for that.

Re: My take on Snake

Posted: 01 Sep 2017, 12:17
by SKAN
Very nice! :)

Re: My take on Snake

Posted: 01 Sep 2017, 12:21
by maestrith
SKAN wrote:Very nice! :)
Thank you :)

Re: My take on Snake

Posted: 16 Sep 2017, 00:15
by CSWinnall
when I run snake I get this window pop up
2017-09-16.png
2017-09-16.png (18.34 KiB) Viewed 5627 times
Im on windows 10 and ie 11

Any Ideas?

Many Thanks

Re: My take on Snake

Posted: 16 Sep 2017, 17:26
by yawikflame
does this snake have anything to do with the one you helped me with?
:D :D
if so, i'm glad i got you into it ;)

Re: My take on Snake

Posted: 17 Sep 2017, 18:58
by maestrith
yawikflame wrote:does this snake have anything to do with the one you helped me with?
:D :D
if so, i'm glad i got you into it ;)
The idea was from that project, but I don't think I re-used much.

Re: My take on Snake

Posted: 17 Sep 2017, 19:02
by maestrith
CSWinnall wrote:when I run snake I get this window pop up

2017-09-16.png

Im on windows 10 and ie 11

Any Ideas?

Many Thanks
Not really sure what is going on there :( Everything "should" be included and working. I'll have to do some troubleshooting through PM to see what's up.

Re: My take on Snake

Posted: 28 Sep 2017, 19:54
by Hellbent
Very cool.
Adding obstacles might make it a bit more interesting.

Re: My take on Snake

Posted: 30 Sep 2017, 16:38
by SpeedMaster
For reference you can find here another snake game (Snake By Krogdor)

https://autohotkey.com/boards/viewtopic ... 69#p173269

have fun ;)

Re: My take on Snake

Posted: 05 Oct 2017, 07:57
by feiyue
@maestrith Your realization is wonderful! The code is so streamlined. :thumbup: :thumbup:
It contains many advanced applications of AHK, and I can learn a lot. Thank you for sharing!

Re: My take on Snake

Posted: 05 Oct 2017, 08:27
by maestrith
feiyue wrote:@maestrith Your realization is wonderful! The code is so streamlined. :thumbup: :thumbup:
It contains many advanced applications of AHK, and I can learn a lot. Thank you for sharing!
Thanks :) and no problem.