|
|
|||||||
| Computers & Information Technologies « Everything related to computers and internet. » |
![]() |
|
|
Share | Thread Tools | Search this Thread |
|
|
#21 | |||||
|
Last Online: 12-20-2021
Join Date: Mar 2006
Posts: 6,245
Thanks: 2,121
Thanked 3,365 Times in 1,740 Posts
Groans: 29
Groaned at 44 Times in 35 Posts
|
Thank You
Quote:
![]() Quote:
![]() Quote:
The gameover(const char T[22][42]) Function Checks When There Arn't Anymore Characters That The Snake Should Eat And Return A true Value When There Arn't Anymore Ones, It Is Made To Move From A Level To Another, And The lostgame Variable Turns Into true When The Snake Hits The Wall Or Hits Itself. Quote:
, About The Benefits, I'm A Learn-Yourself Guy ![]() Quote:
And I Would Be Glade To Take You As The Tester Of My Programs
__________________
What we do in life, echoes in eternity.
|
|||||
|
|
|
|
|
#22 |
|
Last Online: 12-20-2021
Join Date: Mar 2006
Posts: 6,245
Thanks: 2,121
Thanked 3,365 Times in 1,740 Posts
Groans: 29
Groaned at 44 Times in 35 Posts
|
Sorry For My Late Reply
But I Was So Busy Last Week, Tawa Seniór Was In Lebanon And I Started My 2nd Semester ![]() Anyways, I Worked On Some Of The Upgrade But There's Still A Little Bug That I'll Leave You Guys To Figure Out ![]() I Added A Menu To The Game, I Hope You'll Like It ![]() Here's The Link: Snake
__________________
What we do in life, echoes in eternity.
|
|
|
|
|
|
#23 |
|
Registered Member
Last Online: 01-18-2010
Join Date: Feb 2008
Posts: 4
Thanks: 0
Thanked 2 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
|
Personal opinion, There are a million snakes program out there which is free and no source code, and with source code which is complete. As other members here stated, this game is not a "new" game, it is already done and already polished. So why wont you post your source code so others can see how you did it? I really don't care cause googling Sake Game Source Code gives a million responses. But it is the thought that counts, and your thought states that your against it.
Technically speaking, creating a Snakes or a Tetris game isn't difficult, it is a very simple logic game. If your a new to programming, it shouldn't take you more than a couple of days doing it. But if you understand programming, it shouldn't take you more than a couple of hours. With a good design and know a bit of programming, I recall the logic of the snakes game is around ~100 LOC. For example, http://www.strille.net/tutorials/snake/index.php is a snakes game made in Flash (action script), it is around 100 LOC and as you see it is simple conditional statements such as forloop, if, else. So if you guys want to learn programming, it is very simple, everyone learns from others and the opensource community is there so it can teach others and others can improve it. That is how most smart programmers learn these days, by being part of an open source project and giving to the community |
|
|
|
| The Following User Says Thank You to m0 For This Useful Post: | Kingroudy (02-24-2008) |
|
|
#24 |
|
Ma ghayro
Last Online: 04-19-2018
Join Date: Dec 2005
Posts: 5,592
Thanks: 1,765
Thanked 4,201 Times in 2,361 Posts
Groans: 12
Groaned at 18 Times in 11 Posts
|
I don't feel it would be a mistake sharing your codes with others. same thing applies on you when you download examples from the internet. note that people worked hard for them as well.
i don't mind sharing my codes for educational purposes. therefor i am for open source because it's the only way to learn fast from other's hard work and way of programming i will start coding an important application this summer and launch it as open source so anyone can add to it, modify in it and it will be totally free of charges.
__________________
http://twitter.com/danymoussa
|
|
|
|
| The Following User Says Thank You to xcoder For This Useful Post: | Kingroudy (02-24-2008) |
|
|
#25 |
|
Registered Member
Last Online: 11-16-2009
Join Date: Oct 2007
Posts: 2,005
Thanks: 632
Thanked 1,449 Times in 834 Posts
Groans: 12
Groaned at 9 Times in 8 Posts
|
Man this is good....keep it up!
and concerning the source issue although I use Linux because I appreciate open source....I can understand what tawa is talking about since he can't be credited in anyway(something which the developers of linux distro's get) if he passes the code to someone else...again nice work tawa |
|
|
|
| The Following User Says Thank You to Gilgamesh For This Useful Post: | Tawa (02-24-2008) |
![]() |
|
| Tags |
| game, programming |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|