EvilZone
Programming and Scripting => C - C++ => : 0poitr November 22, 2013, 07:16:32 PM
-
Hi guys!
This is a small mod of the classic snake game. But it's a bit more difficult than just finding way eating your food. You gotta avoid the falling blocks as well! Give it a try B)
Source and a demo video is attached. Run make and execute le_snake_mod to play game.
Cheers!
-
Nice to see you back again :)
This is some cool stuff :D I guess it only works on Linux as it uses curses? meh... curses are damn hard to understand heh :P
+cookie to you, sir.
Btw there are too many blocks.
-
Nice to see you back again :)
This is some cool stuff :D I guess it only works on Linux as it uses curses? meh... curses are damn hard to understand heh :P
+cookie to you, sir.
Btw there are too many blocks.
Thanks mate !
Yes I wrote it for linux, dunno if n/curses is available for cygwin.
And no, curses isn't that hard to understand. It's quite easy. I guess you also have used curses in your DoxBox project? :)
Blocks are the fun! :D
-
n/curses are available for cygwin, and yes, I partially used them. Actually I just used Urwid library which used n/curses :P
btw it's D0xBase :D
-
...
btw it's D0xBase :D
My bad :D
Only thing i remember is, it was quite a lot of python code.
-
Im new to C and I was looking through the source to learn some stuff (hope you dont mind ;) ) your using things i thought were included in stdbool.h for instance line 56 and line 62 yet you only include menu.h.
-
I'll take a look at the code tomorrow, off to see lady luck in my dreams for now ;) lol..
Pretty ****ing cool though for an idea. I'd imagine this would get difficult really quick when you've got to keep a larger tail away from the blocks.
edit: I have the greatest idea for a DirectX game in 3d now, and it's now patented *shifty-eyes*. Snake 3D inside the asteroid belt. ;p
-
Very nice :D, maybe add some more fun features to it? I think the falling blocks are kinda annoying, walls and such are maybe more fun.
-
Or other snakes that can eat things with your snake. Then it can be a battle as well as an obstacle course. Reaching a size larger than the other snake perhaps could allow you to eat the other snake... Like a pacman version of snakes. :)