I wonder what the barrier is like for kids these days to make their first code edit, and how likely it is to happen without any intention of learning to program. All these walled gardens may at times contribute to great products but so much of my personal development came from tinkering on systems that not only allowed but invited such behavior that I wonder what is being lost.
* Other games included with QBASIC include Nibbles (snake), Money (a financial calculator), and REMLINE (removes line numbers from old BASIC programs.)
* The BASIC source code is linked to from the wikipedia page
* Another implementation can be found here: http://zefonseca.com/gorillasjs/. It lets you play against an AI, but loses some nostalgia since the graphics are different.
Kinda fun. I thought the original made noise and allowed for a monkey to drill through a building with a series of bananas. When I tried to do that, the banana didn't go any farther than the previous banana hole.
Question: when looking at code on github, how do you know which holds the main guts of the code? Every time, I have to laboriously search around (I guess, maybe, if you know sinatra/ruby/rails, you'll know the convention for what each top-level directory contains).
I keep thinking that the text alongside each file/directory on github are comments describing what's in them - but of course, git doesn't support that. They are just the most recent commit.
Unless you know the project's or framework's conventions, there's always a fair bit of poking around involved.
Folder names are often descriptive enough, though. "docs" is documentation, "lib" usually contains third-party libraries, "bin" contains compiled binaries, "src" often contains the code, and "assets" (often "public" for web-based projects) contains static images and stylesheets.
Now in the case there's no obvious "src" folder. But you know "docs" is documentation, and "lib" and "public" probably contain third-party libraries and images, so "views" is the best place to start.
If you click on the commits tab, you can see which files have had the most activity. That should at least put you in the right place so you can ignore configuration files etc...
Loved this game it inspired me but programming on an Atari 600xl sucked many hours spent typing out BASIC from Family Computing magazine only to get "Syntax error".
I got a cassette external storage drive for Christmas one year then I could save my mistakes. Thirty years later I'm still bummed I couldn't get the lander program to work, it landed on a green mesh surface.
Freezes when you hit enter without filling out a velocity (presumably also with a value of 0).
Someone mentioned a bug when you hit enter while enjoying victory. It makes me think that perhaps a mini state machine would be apropros. Perhaps overkill here, but it’s a great, clean, explicit way to think about and control states.
Who here coded a solver into the game that used the quadratic formula? I tied it to a particular key and it would momentarily, almost imperceptibly flash a correct solution on the page after I selected an angle. heh heh.
I'm currently porting an imperative, procedural Java game to HTML5 with CoffeeScript. It is surprisingly nice to work with for this kind of thing, especially since you can omit brackets round function param lists.
[+] [-] ef4|13 years ago|reply
I've been hooked on software ever since.
[+] [-] furyofantares|13 years ago|reply
I wonder what the barrier is like for kids these days to make their first code edit, and how likely it is to happen without any intention of learning to program. All these walled gardens may at times contribute to great products but so much of my personal development came from tinkering on systems that not only allowed but invited such behavior that I wonder what is being lost.
[+] [-] theootz|13 years ago|reply
[+] [-] seigenblues|13 years ago|reply
I remember printing out the whole listing on our dot-matrix printer and unfolding it across the living room. I might've been 9 or 10.
[+] [-] huhtenberg|13 years ago|reply
http://en.wikipedia.org/wiki/Scorched_Earth_%28video_game%29
[+] [-] soapdog|13 years ago|reply
[+] [-] cjfont|13 years ago|reply
[+] [-] gfosco|13 years ago|reply
[+] [-] jaredsohn|13 years ago|reply
Some more interesting information on Gorrilas (from the Wikipedia page: http://en.wikipedia.org/wiki/Gorillas_(video_game) )
* It was actually created by IBM
* Other games included with QBASIC include Nibbles (snake), Money (a financial calculator), and REMLINE (removes line numbers from old BASIC programs.)
* The BASIC source code is linked to from the wikipedia page
* Another implementation can be found here: http://zefonseca.com/gorillasjs/. It lets you play against an AI, but loses some nostalgia since the graphics are different.
[+] [-] virmundi|13 years ago|reply
[+] [-] aurelianito|13 years ago|reply
[+] [-] schrijver|13 years ago|reply
[+] [-] mseepgood|13 years ago|reply
[+] [-] despo|13 years ago|reply
[+] [-] groovy2shoes|13 years ago|reply
[+] [-] nivertech|13 years ago|reply
[+] [-] sashahart|13 years ago|reply
[+] [-] 6ren|13 years ago|reply
I keep thinking that the text alongside each file/directory on github are comments describing what's in them - but of course, git doesn't support that. They are just the most recent commit.
[+] [-] primatology|13 years ago|reply
Folder names are often descriptive enough, though. "docs" is documentation, "lib" usually contains third-party libraries, "bin" contains compiled binaries, "src" often contains the code, and "assets" (often "public" for web-based projects) contains static images and stylesheets.
Now in the case there's no obvious "src" folder. But you know "docs" is documentation, and "lib" and "public" probably contain third-party libraries and images, so "views" is the best place to start.
[+] [-] magicseth|13 years ago|reply
[+] [-] dhughes|13 years ago|reply
I got a cassette external storage drive for Christmas one year then I could save my mistakes. Thirty years later I'm still bummed I couldn't get the lander program to work, it landed on a green mesh surface.
[+] [-] alanh|13 years ago|reply
Someone mentioned a bug when you hit enter while enjoying victory. It makes me think that perhaps a mini state machine would be apropros. Perhaps overkill here, but it’s a great, clean, explicit way to think about and control states.
[+] [-] Graphon|13 years ago|reply
Who here coded a solver into the game that used the quadratic formula? I tied it to a particular key and it would momentarily, almost imperceptibly flash a correct solution on the page after I selected an angle. heh heh.
[+] [-] TazeTSchnitzel|13 years ago|reply
[+] [-] leke|13 years ago|reply
[+] [-] bbayer|13 years ago|reply
BTW it took me to my childhood.
[+] [-] petitmiam|13 years ago|reply
Can't believe I'd forgotten about it.
[+] [-] alanh|13 years ago|reply
[+] [-] leke|13 years ago|reply
Velocity: 90
[+] [-] buster|13 years ago|reply
[+] [-] zargath|13 years ago|reply