Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Snake

Snake

Scheduled Pinned Locked Moved The Lounge
csharpgame-devhelpquestioncode-review
32 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Paul Conrad

    Jeremy Falcon wrote:

    Put obstacles in it like Nibbles had. In fact, make a .NET version of Nibbles. That would be neat.

    Shame on me for forgetting about Nibbles :laugh: PJC

    J Offline
    J Offline
    Jeremy Falcon
    wrote on last edited by
    #7

    computerguru92382 wrote:

    Shame on me for forgetting about Nibbles

    It was great. One of the first hacks I made for that game was infinite lives. Man, those were the days, back when programming was more important than sleep. :-D Jeremy Falcon

    P L 3 Replies Last reply
    0
    • J Jeremy Falcon

      computerguru92382 wrote:

      Shame on me for forgetting about Nibbles

      It was great. One of the first hacks I made for that game was infinite lives. Man, those were the days, back when programming was more important than sleep. :-D Jeremy Falcon

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #8

      And the Gorilla game where you would launch bananas at the other guy and try to blow him up... PC

      J 1 Reply Last reply
      0
      • J Jeremy Falcon

        computerguru92382 wrote:

        Shame on me for forgetting about Nibbles

        It was great. One of the first hacks I made for that game was infinite lives. Man, those were the days, back when programming was more important than sleep. :-D Jeremy Falcon

        P Offline
        P Offline
        Paul Conrad
        wrote on last edited by
        #9

        Jeremy Falcon wrote:

        back when programming was more important than sleep

        I still have Quick Basic 4.5 and I actually have it installed on this computer. Big difference between a 386 and a 2.5ghz P4 as far as QB 4.5 is concerned :-D

        J 1 Reply Last reply
        0
        • J Jeremy Falcon

          computerguru92382 wrote:

          Shame on me for forgetting about Nibbles

          It was great. One of the first hacks I made for that game was infinite lives. Man, those were the days, back when programming was more important than sleep. :-D Jeremy Falcon

          L Offline
          L Offline
          Luis Alonso Ramos
          wrote on last edited by
          #10

          I created an entirely new-level. It was full of dotted lines, with a little offset, so you had zig-zag all the way around... I could never finish it :rolleyes: And I was like 13!! -- LuisR


          Luis Alonso Ramos Intelectix - Chihuahua, Mexico Not much here: My CP Blog!

          The amount of sleep the average person needs is five more minutes. -- Vikram A Punathambekar, Aug. 11, 2005

          J 1 Reply Last reply
          0
          • P Paul Conrad

            Jeremy Falcon wrote:

            back when programming was more important than sleep

            I still have Quick Basic 4.5 and I actually have it installed on this computer. Big difference between a 386 and a 2.5ghz P4 as far as QB 4.5 is concerned :-D

            J Offline
            J Offline
            Jeremy Falcon
            wrote on last edited by
            #11

            Yeah, gotta love the old-style CPU/clock based timer routines. :) Jeremy Falcon

            1 Reply Last reply
            0
            • P Paul Conrad

              And the Gorilla game where you would launch bananas at the other guy and try to blow him up... PC

              J Offline
              J Offline
              Jeremy Falcon
              wrote on last edited by
              #12

              Oh man. I remember that. I so sucked at that game (at the time at least). :laugh: Jeremy Falcon

              P 2 Replies Last reply
              0
              • L Luis Alonso Ramos

                I created an entirely new-level. It was full of dotted lines, with a little offset, so you had zig-zag all the way around... I could never finish it :rolleyes: And I was like 13!! -- LuisR


                Luis Alonso Ramos Intelectix - Chihuahua, Mexico Not much here: My CP Blog!

                The amount of sleep the average person needs is five more minutes. -- Vikram A Punathambekar, Aug. 11, 2005

                J Offline
                J Offline
                Jeremy Falcon
                wrote on last edited by
                #13

                Luis Alonso Ramos wrote:

                I could never finish it

                Don't fret it, I never did finsih Nibbles without cheating.

                Luis Alonso Ramos wrote:

                And I was like 13!!

                You yougin. ;P Actually, I was a teenager too during my QBasic days. Jeremy Falcon

                L 1 Reply Last reply
                0
                • J Jeremy Falcon

                  Luis Alonso Ramos wrote:

                  I could never finish it

                  Don't fret it, I never did finsih Nibbles without cheating.

                  Luis Alonso Ramos wrote:

                  And I was like 13!!

                  You yougin. ;P Actually, I was a teenager too during my QBasic days. Jeremy Falcon

                  L Offline
                  L Offline
                  Luis Alonso Ramos
                  wrote on last edited by
                  #14

                  Jeremy Falcon wrote:

                  I never did finsih Nibbles without cheating.

                  I did, just not the level I created. It was damn too hard!!

                  Jeremy Falcon wrote:

                  I was a teenager too during my QBasic days

                  The first program I remember was a little game (in QBasic, of course) where the you had to guess the computer's secret number. I wrote it in Christmas 1991 (I was 10 then). The second version generated the number randomly!! :-D Ohh those were the days!! ;P -- LuisR


                  Luis Alonso Ramos Intelectix - Chihuahua, Mexico Not much here: My CP Blog!

                  The amount of sleep the average person needs is five more minutes. -- Vikram A Punathambekar, Aug. 11, 2005

                  P J 2 Replies Last reply
                  0
                  • L Luis Alonso Ramos

                    Jeremy Falcon wrote:

                    I never did finsih Nibbles without cheating.

                    I did, just not the level I created. It was damn too hard!!

                    Jeremy Falcon wrote:

                    I was a teenager too during my QBasic days

                    The first program I remember was a little game (in QBasic, of course) where the you had to guess the computer's secret number. I wrote it in Christmas 1991 (I was 10 then). The second version generated the number randomly!! :-D Ohh those were the days!! ;P -- LuisR


                    Luis Alonso Ramos Intelectix - Chihuahua, Mexico Not much here: My CP Blog!

                    The amount of sleep the average person needs is five more minutes. -- Vikram A Punathambekar, Aug. 11, 2005

                    P Offline
                    P Offline
                    Paul Conrad
                    wrote on last edited by
                    #15

                    I got this old Sinclair computer when I was 9 and started programming then. It used a tape recorder for storage. I then moved up to a Commodore 64 when I was 10 and then got a 386 when they first came out. It's something else looking back at how far computing has come. PJC

                    L 1 Reply Last reply
                    0
                    • J Jeremy Falcon

                      Oh man. I remember that. I so sucked at that game (at the time at least). :laugh: Jeremy Falcon

                      P Offline
                      P Offline
                      Paul Conrad
                      wrote on last edited by
                      #16

                      Jeremy, I think I probably still have those games floating around here somewheres... Paul

                      1 Reply Last reply
                      0
                      • J Jeremy Falcon

                        Michal Martinka wrote:

                        Any ideas to improve game?

                        Put obstacles in it like Nibbles had. In fact, make a .NET version of Nibbles. That would be neat. Jeremy Falcon

                        P Offline
                        P Offline
                        Paul Conrad
                        wrote on last edited by
                        #17

                        Here is the Nibbles source: nibbles.bas

                        1 Reply Last reply
                        0
                        • J Jeremy Falcon

                          Oh man. I remember that. I so sucked at that game (at the time at least). :laugh: Jeremy Falcon

                          P Offline
                          P Offline
                          Paul Conrad
                          wrote on last edited by
                          #18

                          Here is a source for the Gorilla game: gorilla.bas

                          J 1 Reply Last reply
                          0
                          • M mmikey7

                            As a part of C# course I'm teaching in school, I developed simple Snake game. This is a very first draft. Try it out! If you'll enjoy it, I could write an article about it. [edit] Link is not available anymore. [/edit] You need .NET 2.0 to run game. Any ideas to improve game? "...government is not the solution to our problem. Government is the problem." -Ronald Reagan

                            M Offline
                            M Offline
                            Marc Clifton
                            wrote on last edited by
                            #19

                            Don't you love .NET? a 7KB executable. :-D Some ideas (not necessarily all compatible): snake moves slower as he becomes more well fed, and faster as he gets hungry. have snake grow as he eats. If he eats his tail, he dies. start putting more food on the board. Food lasts for a limited time. As snake grows, he needs more food, but more food makes him grow more, so he has to eat faster... sounds obstacles competing snakes magic "diet" pill (shrinks snake) mongoose (eats snakes) smoother animation--no reason to be blocky 3D-ish snake. Make him slither and look good networkable---snake death matches, hehehe. food can become rats, rats can move goals--clear all the rats in the village, but watch out for mongoose! give the environment some texture along the lines of the goal, maybe make the village a maze that you have to solve at the same time going back to the very first item, therefore, the player has to keep his snake fed enough to keep him moving "not too fast", but not so well fed that he can't escape the mongoose, etc. Marc Pensieve

                            M C 2 Replies Last reply
                            0
                            • P Paul Conrad

                              Here is a source for the Gorilla game: gorilla.bas

                              J Offline
                              J Offline
                              Jeremy Falcon
                              wrote on last edited by
                              #20

                              Oh man, this is gonna cause me trouble I can feel it now. :laugh: Jeremy Falcon

                              1 Reply Last reply
                              0
                              • L Luis Alonso Ramos

                                Jeremy Falcon wrote:

                                I never did finsih Nibbles without cheating.

                                I did, just not the level I created. It was damn too hard!!

                                Jeremy Falcon wrote:

                                I was a teenager too during my QBasic days

                                The first program I remember was a little game (in QBasic, of course) where the you had to guess the computer's secret number. I wrote it in Christmas 1991 (I was 10 then). The second version generated the number randomly!! :-D Ohh those were the days!! ;P -- LuisR


                                Luis Alonso Ramos Intelectix - Chihuahua, Mexico Not much here: My CP Blog!

                                The amount of sleep the average person needs is five more minutes. -- Vikram A Punathambekar, Aug. 11, 2005

                                J Offline
                                J Offline
                                Jeremy Falcon
                                wrote on last edited by
                                #21

                                Luis Alonso Ramos wrote:

                                Ohh those were the days!!

                                Damn dude. You're 3 years younger than I am and you already have an employee? :omg: I need to stop procrastinating and start my own business. Oh yeah, and congrats on doing so well at such a young age. Jeremy Falcon

                                L 2 Replies Last reply
                                0
                                • J Jeremy Falcon

                                  Luis Alonso Ramos wrote:

                                  Ohh those were the days!!

                                  Damn dude. You're 3 years younger than I am and you already have an employee? :omg: I need to stop procrastinating and start my own business. Oh yeah, and congrats on doing so well at such a young age. Jeremy Falcon

                                  L Offline
                                  L Offline
                                  Luis Alonso Ramos
                                  wrote on last edited by
                                  #22

                                  Jeremy Falcon wrote:

                                  You're 3 years younger than I am and you already have an employee?

                                  Actually I now have two (great people, both of them) :-D and I'm looking for more!! Business is going well down here! :) Even if I have to be at the office on Saturday at 8 pm.... :rolleyes: -- LuisR


                                  Luis Alonso Ramos Intelectix - Chihuahua, Mexico Not much here: My CP Blog!

                                  The amount of sleep the average person needs is five more minutes. -- Vikram A Punathambekar, Aug. 11, 2005

                                  1 Reply Last reply
                                  0
                                  • P Paul Conrad

                                    I got this old Sinclair computer when I was 9 and started programming then. It used a tape recorder for storage. I then moved up to a Commodore 64 when I was 10 and then got a 386 when they first came out. It's something else looking back at how far computing has come. PJC

                                    L Offline
                                    L Offline
                                    Luis Alonso Ramos
                                    wrote on last edited by
                                    #23

                                    computerguru92382 wrote:

                                    It's something else looking back at how far computing has come

                                    I remember one of my first computers, a grayscale laptop, an HP Omnibook 360. It was a 386/20 MHz with 1 MB of RAM. When I upgraded it to 2 MB it was so fast!!! And trying to compare that to my 2 GB of RAM I have in my computer (that I just received on Thursday! :-D). My first PC was a 386/16 MHz back in 1990. Before that there was a computer at home, altough not officially mine: an Apple IIc. It's incredible how far we have gone in 15 years. I wonder what the next 15 will bring... -- LuisR


                                    Luis Alonso Ramos Intelectix - Chihuahua, Mexico Not much here: My CP Blog!

                                    The amount of sleep the average person needs is five more minutes. -- Vikram A Punathambekar, Aug. 11, 2005

                                    1 Reply Last reply
                                    0
                                    • J Jeremy Falcon

                                      Luis Alonso Ramos wrote:

                                      Ohh those were the days!!

                                      Damn dude. You're 3 years younger than I am and you already have an employee? :omg: I need to stop procrastinating and start my own business. Oh yeah, and congrats on doing so well at such a young age. Jeremy Falcon

                                      L Offline
                                      L Offline
                                      Luis Alonso Ramos
                                      wrote on last edited by
                                      #24

                                      Oops! I forgot to reply to this on the other post

                                      Jeremy Falcon wrote:

                                      Oh yeah, and congrats on doing so well at such a young age.

                                      Thanks! It's been a lot of hard work! :) I guess there has always been an entrepreneur in me. There's a downside to it, specially being a 24/7 job, but the benefits you get easily compensate for that. Ask other people here that work by themselves (code-frog comes to mind), once you are on your own, you'll never want to go back. So, yes, stop procrastinating and get to work! :-D -- LuisR


                                      Luis Alonso Ramos Intelectix - Chihuahua, Mexico Not much here: My CP Blog!

                                      The amount of sleep the average person needs is five more minutes. -- Vikram A Punathambekar, Aug. 11, 2005

                                      J 1 Reply Last reply
                                      0
                                      • M mmikey7

                                        As a part of C# course I'm teaching in school, I developed simple Snake game. This is a very first draft. Try it out! If you'll enjoy it, I could write an article about it. [edit] Link is not available anymore. [/edit] You need .NET 2.0 to run game. Any ideas to improve game? "...government is not the solution to our problem. Government is the problem." -Ronald Reagan

                                        A Offline
                                        A Offline
                                        Allen Anderson
                                        wrote on last edited by
                                        #25

                                        nice job! that brings back some serious memories when I used to play that game on the appleII.

                                        1 Reply Last reply
                                        0
                                        • J Jeremy Falcon

                                          Michal Martinka wrote:

                                          Any ideas to improve game?

                                          Put obstacles in it like Nibbles had. In fact, make a .NET version of Nibbles. That would be neat. Jeremy Falcon

                                          M Offline
                                          M Offline
                                          Matt Gerrans
                                          wrote on last edited by
                                          #26

                                          Was it called Sam the Snake or something like that before it was called Nibbles? Or am I thinking of something else? I did like that game. I remember playing it on a 286 machine when they first came out; it was so fast, the game would be over as soon as it started. There was an early version of PacMan for PCs that had the same problem. Then people started to realize you had to use the timer chip for timing instead of a delay loops. Matt Gerrans

                                          J 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups