Slashdot Mirror


Spacewar! Lives Again

hws writes "A DEC PDP1 emulator running the original version of Spacewar! is online here. A group at MIT created a PDP1 emulator in Java. The original Spacewar! sources were assembled with a PDP1 Assembler written in Pearl. The emulator, assembler and game sources are available at this site. For those of you too young to remember, Spacewar! is probably the first video game and was done back in 1962. It and the scene that spawned it were extensively covered in Steven Levy's book - Hackers."

143 comments

  1. Learn to spell Perl, moron! by yorkie · · Score: 0

    Please learn to spell Perl, you sound like a recruitment agency! :->

    1. Re:Learn to spell Perl, moron! by Anonymous Coward · · Score: 0

      Flamebait, yes, but "written in Pearl" is very, very lame. And if you don't respect spelling more in general, things like this are bound to happen.

    2. Re:Learn to spell Perl, moron! by Chrome3 · · Score: 1

      Pearl is a programming language that existed long before perl did. This was spelled correctly. Go read why Larry Wall named his language perl. He says that he didn't want it confused with the previous language called pearl. Perl didn't exist in the time of the PDP machines.

    3. Re:Learn to spell Perl, moron! by Anonymous Coward · · Score: 1

      Actually, it's not spelled correctly.

      Yes, there is a Pearl, but the 'Spacewar' site
      says the assembler was written in PERL, not Pearl.
      (This is in the 'readme' file)


    4. Re:Learn to spell Perl, moron! by Anonymous Coward · · Score: 0

      Apparently Yorkie feels that spelling errors demand public censure. So...

      Of Yorkie's last seven posts, four had typos:

      * Atari VCS version was better!: "... resource hungy" - "hungy"?

      * Re:US/Canada vs UK (and maybe europe?): "... is accomodation pricing ..." My spell checker says 'accomodation' has 2 m's.

      * What's the point of a commercial firewall?: "... seen dissasterous results ..." - "dissasterous"?

      * Only useful if configured correctly: "... hace seem them ..." - "hace seem"?

      And last but certainly not least...

      * What's the point of a commercial firewall?: "... differences in Jave ..." Java doesn't have an 'e' in it.

      Here's what I'll do - I'll let you have the extra 'a' I put in perl and you can use it to replace the 'e' you put in 'Jave'.

      Touché

      hws

  2. Hackers - GREAT! by soulhuntre · · Score: 2

    Hackers is a GREAT book .... a close second is "Soul of a New Machine".

    --
    --> Fight tyranny and repression.... read /. at -1!
    1. Re:Hackers - GREAT! by Zalgon+26+McGee · · Score: 1
      Hackers is a GREAT book .... a close second is "Soul of a New Machine".

      John Harris, one of those profiled in Hackers, has begged to differ on numerous occasions.

      Apparently, whenever there were conflicting versions of what happened, Levy told the more sensational tale.

      John still lurks from time to time in comp.sys.atari.8bit, and a few years ago released a new 6502/65816 assembler for the Atari 8-bit line.

      ---

      --

      ---

      Book(n): Utensil used to pass time while waiting for the TV repairman

    2. Re:Hackers - GREAT! by mihalis · · Score: 1
      I agree. Here are three little reviews wot I writ way back in '96 on three books about hacking and cracking :


      Disclaimer - blatant Amazon lingage alert!

      Chris Morgan
  3. Nice Black Screen by Anonymous Coward · · Score: 1

    No Wonder the PDP never took off as a gaming machine.

    1. Re:Nice Black Screen by Asparfame · · Score: 0

      hahahahahaha

      --

      There's no reason for a sig here.

  4. Atari VCS version was better! by yorkie · · Score: 1

    When I had an Atari VCS many years ago, I had a copy of the Spacewar cartridge (which at the time was only available in Europe, as it was PAL only). There were around 10 different versions of the game, with features such as elastic or warping galaxy boundaries, and the central body was either a sun or a space station. Hitter the former caused a loss of life, and the latter replenished fuel and weapons.

    This version was more playable than this, but then again so is anything not written in Java. The only issue here is that the graphics are more accurate.

    Is it me, or is Java the most overhyped, unstable, resource hungy idea to enter this industry in 10 years. Not everyone has an up-to-date processor.

    1. Re:Atari VCS version was better! by Anonymous Coward · · Score: 0

      Come on dude, Java is going to save the world. Everyone knows that.

    2. Re:Atari VCS version was better! by Skwirl · · Score: 1

      Uh, I'm afraid you missed the point. This is a port of the _original_ Spacewar. Of course the Atari knock-off that came more than 13 years later is going to have more options. But who cares? There are a billion Spacewars clones. I used to play an online version back in the BBS days. The point is that the original is history. It literally jumpstarted the video game industry. Look here if you want to read about Spacewar's legacy.

      You missed the point with java, too. Yes, it's bloated. But so is everything Windows and at least Java is secure.
    3. Re:Atari VCS version was better! by Anonymous Coward · · Score: 0

      Yeah! Space War and Combat both ruled! When I was in college in '92 I organized Combat and Spacewar tournaments and most of the dorm got in on it. We even got Campus Media to air the final games on the campus CCTV channel. The prize? Why the very Atari 2600 being used in the tournament- plus 50 other carts.

  5. Is it just me.... by patrick_jones · · Score: 1

    ...or is this game like filled with bugs? Like the inablity to actually thrust away from the black hole/singularity in the middle? Or the fact that when the squidgy ricket dies it gets put in all four corners at once.
    Strange.

    --
    Treason doth never prosper. What's the reason? For if it prosper, none dare call it treason.
    1. Re:Is it just me.... by Anonymous Coward · · Score: 0

      Hey, I got it, even if the moderators didn't.

    2. Re:Is it just me.... by Zurk · · Score: 1

      yep. its just you. you can thrust away..thrust towards it and use it like a gravitational slingshot...it will most certainly allow you to thrust away...remember the keys are : A S - left right rotation, D = thrust, F = Fire.

  6. The FIRST video game??? by bconway · · Score: 1

    Now hold on a sec, what happened to Pong? Truly a classic...

    --
    Interested in open source engine management for your Subaru?
    1. Re:The FIRST video game??? by nweaver · · Score: 1

      Pong was much later, done in the early 70s IIRC. This is much older, although what I really wonder about is the display device used in the origional.

      --
      Test your net with Netalyzr
    2. Re:The FIRST video game??? by Kukuman · · Score: 3

      Pong was the first VIDEO game, not computer game. Two completely different things. BTW, if you want to play REAL Pong, ask me for Poing. It's an open-source pong clone I made for DOS. Not the greatest, as it is my first C game...

    3. Re:The FIRST video game??? by BlacKat · · Score: 1

      Try looking at the Atari Historical Society and you'll see that Pong wasn't really Atari's first video game. A variant of Spacewars was. This site also gives you alot of history and old plans of Atari's. It's a real pity that they didn't make it to the year 2k... sigh, what could of been. -BlacKat

    4. Re:The FIRST video game??? by Pascal+Q.+Porcupine · · Score: 2

      The display was the first computer-based CRT; they took an oscilloscope and hooked up outputs from the PDP11 to, IIRC, a ramp generator which made the oscilloscope act as a vector display. The first joystick was created for this game, as well, to stop the hackers' fingers from getting chewed up on the front panel switches. Read Hackers by Stephen Levy, as others have mentioned.
      ---
      "'Is not a quine' is not a quine" is a quine.

      --
      "'Is not a quine' is not a quine" is a quine.
      Quine "quine?
    5. Re:The FIRST video game??? by Anonymous Coward · · Score: 0

      As stated before, PONG was one of (not _the_) first Arcade games (coin operated). I'm still trying to get it emulated ;) http://www.pullmoll.de/pong/ for more info.

    6. Re:The FIRST video game??? by Eric+Smith · · Score: 2
      The display was the first computer-based CRT;
      The PDP-1 did NOT have the first "computer-based CRT". Computers had CRT displays in the early 1950s.
    7. Re:The FIRST video game??? by Eric+Smith · · Score: 2
      Pong wasn't really Atari's first video game. A variant of Spacewars was.
      If you're referring to Computer Space, that was NOT an Atari product. But it was the first coin-operated video game.
    8. Re:The FIRST video game??? by BlacKat · · Score: 1

      Point taken...
      ...it wasn't an 'offical' Atari product.
      But, Nolan Bushnell did create it! :)

    9. Re:The FIRST video game??? by dsfox · · Score: 1

      I played this game on an Evans and Sutherland LDS-1 (Line Drawing System) connected to a PDP-10 around 1972. I imagine there were similar displays back through the sixties, but without the hardware matrix multiplier. Its not a progressive scan display, the computer controls the vertical and horizontal deflection coils and drives the dot to exactly where it wants, thus drawing lines.

    10. Re:The FIRST video game??? by Anonymous Coward · · Score: 1

      Pong was first implemented in 1958 on an oscilloscope, an analogue computer, and some resisters, capacitors, vaccum tubes and potentiometers by William Higinbotham. I was searching for pong stuff the other day for no apparent reason. Here are some articles about it: http://www.fas.org/cp/pong_fas.htm http://www.digitpress.com/faq/pong.txt

    11. Re:The FIRST video game??? by Pascal+Q.+Porcupine · · Score: 1

      Hm, perhaps this is one of those places where Steven Levy's pontification in Hackers was somewhat inaccurate then. :) I seem to recall it stating that no actual CRT-based display was ever used on a system before, this particular CRT being an oscilloscope hacked as a vector display.
      ---
      "'Is not a quine' is not a quine" is a quine.

      --
      "'Is not a quine' is not a quine" is a quine.
      Quine "quine?
    12. Re:The FIRST video game??? by Pascal+Q.+Porcupine · · Score: 1

      Kinda hard to emulate something without a dedicated CPU to emulate. Pong was purely transistor-based, hard-coded logic.
      ---
      "'Is not a quine' is not a quine" is a quine.

      --
      "'Is not a quine' is not a quine" is a quine.
      Quine "quine?
    13. Re:The FIRST video game??? by IntlHarvester · · Score: 1


      As another point of reference, Pong was actually a ripoff of the Magnavox Odyssey, although Pong beat it to market. (Magnavox was demonstrating the game at various tradeshows, and apparently Bushnell saw it. The Odyssey was actually an analog system, tho.)
      --

      --
      Business. Numbers. Money. People. Computer World.
    14. Re:The FIRST video game??? by cpt+kangarooski · · Score: 1

      IIRC, CRT displays were first used on the USAF's Whirlwind computer, which was used for radar tracking or something. It also used light guns as part of the control system. The display was not really all that good though - I seem to remember that it could show 1px at a time ;)

      Additionally, some computers used to use CRTs as memory. There's a funny story about Ivan Sutherland hacking CRT memory.

      --
      -- This and all my posts are in the public domain. I am a lawyer. I am not your lawyer, and this is not legal advice.
    15. Re:The FIRST video game??? by Pascal+Q.+Porcupine · · Score: 1

      Okay, now that's just plain cool. :)
      ---
      "'Is not a quine' is not a quine" is a quine.

      --
      "'Is not a quine' is not a quine" is a quine.
      Quine "quine?
  7. Java, Java, Java by Asparfame · · Score: 0

    Java is a pain. Not only is it a pain to write in, but it still crashes by browser whenever it loads. Couldn't they have written the emulater in C with X and just released the source of the emulator and the game? It would be much more stable...

    --

    There's no reason for a sig here.

    1. Re:Java, Java, Java by dmacon · · Score: 1

      You can run the game using

      appletviewer http://lcs.www.media.mit.edu/groups/el/projects/sp acewar/

      --
      -- Tov Are Jacobsen
    2. Re:Java, Java, Java by Bastian · · Score: 1

      Yes, they could have, but then they would have to go through the effort of porting it to every other system they wanted it to run on whereas now it works just fine on anything with a bytecode interpreter.

      I'll admit, its slow on my machine, but then again, so is anything written in Scheme. You can't have everything.

  8. Where was computing in 1962? by mo · · Score: 1

    I wasn't around then so perhaps somebody could help with the background of avaliable computing power in 1962.

    I would think that 1962 is very early to have display capabilities beyond text. When was the first computer where you actually could control pixels like that?

    1. Re:Where was computing in 1962? by Anonymous Coward · · Score: 0

      I thought you only had big fat eniac type machines with flashing lights back then. Where they even tranistor based?

    2. Re:Where was computing in 1962? by Jonas+�berg · · Score: 3

      The PDP1 had a display.. sort of.. It was one of the most interesting things about it compared to the TX-0 that the MIT hackers had used before. It was actually more like a older oscilloscope and I can't imagine that it was very easy to do anything useful with it. Steve Russell apparently apparently spent close to a month getting a tiny dot on the screen that you could move with the controls.

    3. Re:Where was computing in 1962? by Sumocide · · Score: 2

      There were no pixels to control. At the time there existed CRT (cathode ray tube) monitors. But these did not work pixel but vector oriented. That means it can draw lines and shapes. The emulator translates this vector into a pixel display. That's why the ships edges seem to morph a little when it moves. To play this game actually cost a few hundred bucks in processing time back when the PDP-1 was a hot machine. And for the record those guys invented the joystick for the game.

    4. Re:Where was computing in 1962? by Pascal+Q.+Porcupine · · Score: 3

      Actually, they didn't have text yet. Text was a very advanced display capability yet to be seen. Spacewar's display involved an oscilloscope and a ramp generator. :) (Remember the Vectrex, or the original Star Wars arcade game?)
      ---
      "'Is not a quine' is not a quine" is a quine.

      --
      "'Is not a quine' is not a quine" is a quine.
      Quine "quine?
    5. Re:Where was computing in 1962? by mendax · · Score: 1

      If memory serves, the PDP-1 was transisterized. But we're talking about discrete components--no integrated circuits. So it was the size of a large fridge. One of the neat things about it from the "Hackers" book is that DEC used Spacewar as a kind of test program. They'd load the game into the its magnetic core memory (which didn't lose its contents when the computer was powered off) from paper tape. If it ran, the computer worked. Then they turned it off. When the customer received their computer and turned it on, what they first saw was two space ships facing off to do combat.

      --
      It's really quite a simple choice: Life, Death, or Los Angeles.
    6. Re:Where was computing in 1962? by w3woody · · Score: 2

      No text; just three D to A converters controlling the horizontal, vertical and intensity of an oscilloscope. Quite elegant, really.

      I once dismantled an Atari Asteroids machine to see how it worked (I wish I kept it, damn it!), and it did more or less the same thing. The only thing it had that I suspect the Digital PDP didn't was specialized circuitry which controlled the horizontal and vertical using a simple "stepping" state machine. That is, you would program the start point of the electron gun as (x,y) in two registers, and a counter "stepper" in two registers. A counter would increment, and as it hit the values in the stepper registers, it would either increment or decrement the (x,y) value, changing the value of the electron gun. It was a fairly primitive mechanism for doing line drawings on the display, offloading that task from the 6502 processor that powered the machine. Quite clever, really.

      Of course this is all from memory; I've long lost the schematics and the video game motherboard. Makes me long for the days when I used to do embedded code...

  9. Ahhh! by Null_Packet · · Score: 1

    Dude, Robin- you *have* to start proofing your posts; you have cool stuff sometimes, just please look them over- that is of course unless there really is a new programming language spelled "Pearl"


    NP

    1. Re:Ahhh! by Roblimo · · Score: 1
      You're right. I should *never* trust a Slashdot reader to spell anything right, should I? :)

      - Robin

    2. Re:Ahhh! by mjg · · Score: 2

      Are you serious? PEARL is a real language, and is certainly not new. I wish I knew a little more about it myself, but here's something from FOLDOC:

      PEARL

      Process and Experiment Automation Real-Time Language. A real-time language for programming process control systems, widely used in Europe. Size and complexity exceeds Ada. One of five pedagogical languages based on Markov algorithms, used in "Nonpareil, a Machine Level Machine Independent Language for the Study of Semantics".

      I suppose you thought he meant PERL, which didn't turn up until much later (1985 or so?). Give the guy some credit, people do make spelling mistakes, but it's the facts which are important. Maybe you should check yours before criticising next time.

    3. Re:Ahhh! by Gottjager · · Score: 1

      • I suppose you thought he meant PERL, which didn't turn up until much later (1985 or so?). Give the guy some credit, people do make spelling mistakes, but it's the facts which are important. Maybe you should check yours before criticising next time.

      Hate to tell you but you should check out some facts too. The site even states that it was written in perl (as if there were any doubt).
    4. Re:Ahhh! by Null_Packet · · Score: 1

      Well, it seems you might after all be in a bit of a mess to start spell-correcting posts form other people, but I think that acronyms are quite important. I read that at first and thought it was the original, and called my parents because of it (mom= CS major at UC Berkeley in 69-or something like CS). We were disappointed after reading it an finding out it as PERL. Anyways, I din't mean to start a war over it, but that's kind of unavoidable here in /. land sometimes.

      NP
      service_accountnospam,please@yahoo.com

    5. Re:Ahhh! by mochaone · · Score: 1

      Dude, don't you know Robin is some 60's tree hugging, nature loving, trail mix eating, LCD taking,VW van driving, Gloria Steinem reading, Abbie Hoffman wannabe, draft card burning-cum-internet freak. That guy's brain cells are long gone. One too many hits of acid, I would suspect. If you don't believe me, read some of his posts. The man is clearly gone.

      --
      Hates people who have stupid little sigs
    6. Re:Ahhh! by mochaone · · Score: 1

      ...LCD taking

      While I surely meant to disparage Robin, I did not intend to imply that he is running around Andover.net stealing all the new flat monitor displays which use LCD technology. Rather, I meant to imply that he liked to indulge in the quait hippie past-time of taking hits of LSD. I apologize for any harm I may have caused Robin and his family.

      --
      Hates people who have stupid little sigs
  10. Spacewar? I think NOT. by Anonymous Coward · · Score: 0

    I am writing on behalf of myself and a few of my friends to state that Spacewar would have you believe that its hatchet jobs can give us deeper insights into the nature of reality. I will start this discussion by arguing that except for a few bright spots, its obiter dicta are thoroughly condescending. Then, I will present evidence that before bothering us with its next batch of deconstructionism-oriented disgusting inclinations, it should review the rules of writing a persuasive essay, most notably the one about sticking to the topic the writer establishes. Like I said, nobody seems to realize that the communicative efficacy of Spacewar's connection with the most nefarious bums you'll ever see will cause abominable so-called experts to silence critical debate and squelch creative brainstorming any day now. The essential point, however, is the following: I don't care what others say about Spacewar. It's still intemperate, hostile, and it intends to undermine the foundations of society until a single thrust suffices to make the entire edifice collapse.

    Spacewar wants all of us to believe that the most valuable skill one can have is to be able to lie convincingly. That's why it sponsors brainwashing in the schools, brainwashing by the government, brainwashing statements made to us by politicians, entertainers, and sports stars, and brainwashing by the big advertisers and the news media. As I mentioned before, it's never too late to set the stage so that my next letter will begin from a new and much higher level of influence. I have two words to say about Spacewar's stratagems: dirty poppycock.

    Spacewar's attempts to hold annual private conferences in which scary slovenly big-mouths are invited to present their "research" are much worse than mere militarism. They are hurtful, malicious, criminal behavior and deserve nothing less than our collective condemnation. I feel no shame in writing that I, for one, have noticed of late a strong undercurrent of barbaric disreputable narcissism among improvident imbeciles. If I have characterized Spacewar's cronies up to now as recalcitrant and dishonest, it is only because if Spacewar wanted to, it could transform our little community into a global crucible of terror and gore. It could sucker us into buying a lot of junk we don't need. And it could destroy everything beautiful and good. We must not allow Spacewar to do any of these. Stentorian immature-types generally contend that Spacewar has no intention to prevent me from getting my work done, but Spacewar's often-quoted ethics belie this notion. Amid the babel of false tongues all around us, even basically good people sometimes find it hard to know what is right and what is wrong, and hence, by extension, I can fight only for something that I love, love only what I respect, and respect only what I at least know. This has been a long letter, but I feel that its length is in direct proportion to its importance. Why? Because Spacewar is a myth-generating machine.

    1. Re:Spacewar? I think NOT. by number7 · · Score: 1

      now THAT'S funny.

      ...but Spacewar is the next big thing. It will become the Game Of Choice for a new generation in a new Millennium...


      'There is nothing more frightening than ignorance in action.'
      Goethe

      --
      Once, in the wilds of Afghanistan, we lost our corkscrew and had to live on food and water for a number of weeks.
    2. Re:Spacewar? I think NOT. by Anonymous Coward · · Score: 0

      yes. putting a topic into a random sentence generator is so..like..original, d00d.

    3. Re:Spacewar? I think NOT. by Mr.+Piccolo · · Score: 1

      Well, obviously someone left their complaint generator settings to "Political Action Committee" instead of changing it to "Dangerous video game that will turn our children into killers".

      --
      Glückwünsche, haben Sie Slashdot ermordet, indem Sie zum korporativen Druck beugten und Subskriptionen einlei
    4. Re:Spacewar? I think NOT. by Anonymous Coward · · Score: 0

      Would you please turn the perl script OFF?? We are NOT fooled by your AI. Go waste bandwidth somewhere else.

    5. Re:Spacewar? I think NOT. by Pascal+Q.+Porcupine · · Score: 1

      No, silly, it's a Pearl script, not PERL! ;)
      ---
      "'Is not a quine' is not a quine" is a quine.

      --
      "'Is not a quine' is not a quine" is a quine.
      Quine "quine?
    6. Re:Spacewar? I think NOT. by Anonymous Coward · · Score: 0

      Hey, that's GNU generation! Get it straight. ^_^

  11. Yup. It was the first... by Anonymous Coward · · Score: 0

    A while ago I read about the history of video/computer games, and yes indeed, Spacewar was the first. It apparently used joysticks for control. They also tried to market it somewhere, and failed because people had difficulty in understanding that movement of the external joystick moved the player in the forward=thrust, side=rotate scheme! I guess that a decade later, Pong was simple enough so that this didn't happen again!

    Respectfully,
    Kevin Christie
    kwchri@wm.edu

  12. So was the version that ran on my XT! by slaker · · Score: 1

    The version I had for my XT was many, many
    times better as well. The ships could (optionally)
    have teleport and shield capabilities and had
    two different modes of fire and there was AI,
    so it was possible to have a 1-player game.
    Much more fun than hitting the thrust a bit so
    the 2nd player goes crashing into the planet
    first.

    This was just... disappointing.

    And yes, java IS the most overhyped, unstable
    resource hungry idea to enter the industry in
    the last 10 years. Even when you DO have an
    up to date processor (the java spacewar runs like
    crap on the 700MHz dual PIII I'm sitting in
    front of now, which is running that other
    overhyped unstable, resource hungry idea that,
    well, any /.-er can fill in the rest).

    --
    -- I wanna decide who lives and who dies - Crow T. Robot, MST3K
    1. Re:So was the version that ran on my XT! by Anonymous Coward · · Score: 0

      It runs that slow on your dual PIII-700s? It runs great (very smooth) on this celeron 333 with 64megs of ram. Using netscape 4.08 on win95.

  13. Spacewar also emulated in MESS by catseye · · Score: 3

    The long-neglected (but recently renewed!) MESS emulator, little sister to MAME, also emulates a PDP-1 and Spacewar.

    Executables and source are available for Mac, DOS, Windows and some Unix flavors, I believe.

    Check it out: http://mess.emuverse.com

    -A.

    ---

    --
    What did the walrus say to the penguin? "No soap, radio."
    1. Re:Spacewar also emulated in MESS by Brian+Feldman · · Score: 1

      Actually, xmess is part of xmame now! Just thought you'd want to know :)

      --
      Brian Fundakowski Feldman
  14. Anyone remember the DOS version? by Improv · · Score: 1

    I remember playing a version of this for DOS
    quite some time ago... it had a lot more
    commands, including I think 3 weapons, the
    ability to warp, and both ships looked very
    different from each other.. one looked sort of
    like
    /--\
    | /
    |O-
    | \
    \--/

    --
    For every problem, there is at least one solution that is simple, neat, and wrong.
    1. Re:Anyone remember the DOS version? by Anonymous Coward · · Score: 0
      You can warp in this version too i think, hit all 4 control buttons for a ship and it'll disappear for a few seconds then reappear elsewhere

      or maybe it was just a bug

    2. Re:Anyone remember the DOS version? by Stonehand · · Score: 2

      Oh yes. ;-)

      The version with:

      * thrust/turn L/turn R/reverse-thrust
      for steering, plus hyperspace
      * torps/phasers for firepower, ea. costing
      energy
      * separate, transferrable weapon/energy power?

      and a star w/ a planet orbitting it, perhaps w/
      gravity?

      Mmmmmmm. That was GOOD stuff.

      Hmmm. Wonder if the source for that version is available... the AI opponents were both a little silly to the point that you could beat them firing just once in the game, or sometimes exactly zero times (with the sun/planet on)...

      --
      Only the dead have seen the end of war.
    3. Re:Anyone remember the DOS version? by orangepeel · · Score: 1

      Looking for the DOS version? Head to the OAK Software Repository, and check out their "PC/Blue Disk Library" at: http://oak.oakland.edu/pub/pc-blue/pcblue/ It's volume 271 that contains both the CGA and Hercules Graphics Card versions of Spacewar. I just tried the CGA version on my PII-400 ... ummm ... I think I'm going to have to drag out that old 486SX-25...

      --
      Whoever designed level 61 in Frozen Bubble is a sadistic bastard.
    4. Re:Anyone remember the DOS version? by wocky · · Score: 1

      When I was in college, my roommate and I wasted many hours playing this game. I only remember two weapons though: torps and phasers. Our typical strategy involved random plinking with torps until one person accidentally ate a string. Then the stronger ship would try to close in and phaser the weaker one to death. Our main goal was to finish the other guy off with a long range phaser. This would result in a "spectacular finish", with the victor's final phaser line connected to the exploding debris from the loser. Of course, chasing after a weakened ship made you vulnerable to playing pacman with a reciprocal string of torps...

      --
      David
    5. Re:Anyone remember the DOS version? by Anonymous Coward · · Score: 0

      Actually, Ive found that Spacewar runs better on a 386SX. Anything faster is a pain. Still, maybe if you can waste some clock cycles somewhere...

    6. Re:Anyone remember the DOS version? by CrayDrygu · · Score: 2
      I remember playing a version of this for DOS quite some time ago...

      Yeah, I remember that =) One of the few games I had for my old IBM XT. Great little computer... I think it had DOS version 2.something... I even had a version of Microsoft Works for it. I think it was the best version of MS works I've ever used, too ;)

      --

      --
      "I personal[ly] think Unix is "superior" because on LSD it tastes like Blue." -- jbarnett

    7. Re:Anyone remember the DOS version? by Ripat · · Score: 1

      Well actually, you should usa a XT or AT. Everything faster is to fast to be good.


      This game is one of my favourite games! Me and a friend of mine, spent a *lot* of time playing it on his fathers AT...

  15. Pearl preceeded Perl (offtopic) by Anonymous Coward · · Score: 0

    Wall's language was originally named "Pearl" until it was learned that an obscure language by that name already existed. I saw what Roblimo had written and thought "Cool, the PDP1. So that's where Pearl was used." Sadly, it seems to just be a typo.

  16. Wow, so origional. by Asparfame · · Score: 1

    Good work with the automatic insult generator there.

    --

    There's no reason for a sig here.

  17. Not able to fly away from the thing? by Kerosene · · Score: 1

    Use that gravitational pull like a slingshot when you first play, because its impossible to thrust away... Kinda like what astronauts really have to do...

    --
    -- There's only one replacement for displacement.....
    1. Re:Not able to fly away from the thing? by Eric+Smith · · Score: 1
      Kinda like what astronauts really have to do...
      Which real astronauts did that?
    2. Re:Not able to fly away from the thing? by MrCreosote · · Score: 1

      Apollo 13 for a start - they had to do a slingshot around the moon to be able to return to earth.

      --
      MrCreosote Meow!Thump!Meow!Thump!Meow!Thump! "You're right! There isn't enough room to swing a cat in here!"
    3. Re:Not able to fly away from the thing? by Kerosene · · Score: 1

      Any of the ones that went to the moon....

      --
      -- There's only one replacement for displacement.....
  18. ! by Yebyen · · Score: 1

    Does it really have the ! in it??? That really reminds me of terrible games like Skydive! and eXtreme Paintball lol... sorry for the offtopicness

    --
    Restating the obvious since nineteen aught five.
  19. SpaceWar by aselle · · Score: 1

    Finally SpaceWar gains the respect it deserves. I found this version a while back, and I was pleased to see it. I've always been interested in SpaceWar and its roots ever since I read Hackers. I even wrote a clone for the TI-85 :).

    1. Re:SpaceWar by Bastian · · Score: 1

      Spacewar on the TI-85? If you could post the code for that program somewhere, i would kill to get my hands on it.

      --or is it for zShell?

    2. Re:SpaceWar by aselle · · Score: 1

      Yeah it's for zshell... Why don't you send me an email at aselle@ticalc.org, and we can talk further.

  20. xpilot! by triple6 · · Score: 2

    If you like SpaceWar, then you'll probably love xpilot. Not only is it a multi-player network game, but it comes with most Linux distros. I'm almost always up for a game. :)

    1. Re:xpilot! by triple6 · · Score: 1

      More info at xpilot.org.

      rw-rw-rw-

  21. Dumbass - So what? by T-Ranger · · Score: 1
    The version you had for your XT wasent the origional version. The purpose of this was to recreate the origional SPACEWAR as accuratly as possible.

    The other week I saw on TV a experement to see if it was possible (with the aviable technology of the day) for the stones for stonehedeg to be moved from the quary site to there destination. (and two separate groups, doing it differently did it)

    Of course we wouldnt move big rocks the same way now, and the purpose of this was not to make a new and cool spacewar - it was to do it exactly as it had been done back then. And the did, and its cool.

    As for java, the language is cool. The VM stuff is equaly cool, though less refined. It will, in time, prove to be one of the most significant computer things of all time.

    1. Re:Dumbass - So what? by William+Tanksley · · Score: 2

      As for java, the language is cool. The VM stuff is equaly cool, though less refined. It will, in time, prove to be one of the most significant computer things of all time.

      I didn't used to think this, but I have to admit that the language IS cool. It does lack a lot, but oh well -- so does everything except Lisp.

      The VM, on the other hand, is ridiculous. Why did they go and use bytecodes, the single most inefficient and insecure technology out there? Wordcodes would have been faster, smaller, and more secure; abstract syntax trees would have been faster and more secure (smaller in transit, too, but they take more memory to compile than the basic bytecode interpreter).

      An example of AST technology is Juice and ANDF.

    2. Re:Dumbass - So what? by Eric+Smith · · Score: 1

      What are wordcodes? And why are they faster, smaller, and more secure than bytecodes? Secure in what sense?

    3. Re:Dumbass - So what? by mihalis · · Score: 1

      >An example of AST technology is Juice and ANDF

      The only compilers I heard of using ANDF never really got anywhere. It's wrong to draw conclusions from small samples, but at least Java runs right here and now ... somewhat ... where's any ANDF product for Linux? I'm curious.

      Chris Morgan

  22. Pong as the first computer game by Maryck · · Score: 1

    Well, I'm currently in the midst of reading Levy's book Hackers, and from what I recall, Pong was really the first game. Of course it was a very primitive pong. I can't remember whether it ran on the PDP-1 or Tixo, but if effectively consisted
    of causing the lights of the computer to light up sequentially based on the position of the ball. Using switches, you could send the ball back on its journey. SpaceWars was definitely the first worthwhile computer game.

    1. Re:Pong as the first computer game by Anonymous Coward · · Score: 0
      Well, I'm currently in the midst of reading Levy's book Hackers, and from what I recall, Pong was really the first game.

      I dunno...I've read that book like 5 times since 1989, and that doesn't ring a bell at all. :(

  23. Opensource and network it! :) by Improv · · Score: 1

    It'd be really neat if we could find the original
    author and see if we could get the source.. we
    could port it to X and make it support network
    play :)

    --
    For every problem, there is at least one solution that is simple, neat, and wrong.
    1. Re:Opensource and network it! :) by Improv · · Score: 1

      It looks like the original author is a
      Bill Seiler, who lived (lives?) at
      317 Lockweood Lane, Scotts Valley, CA 95066
      He also, according to the notes, handed out
      source for $30 in 1986. So.... we need to
      track him down...

      --
      For every problem, there is at least one solution that is simple, neat, and wrong.
  24. Pearl?!!! by Gottjager · · Score: 0


    Maybe slashdot should look into changing over to this language. It sounds kinda cool...

  25. Hangs on Netscape 4.61 by Aladdin+Sane · · Score: 1

    Seems to consistantly hang Netscape 4.61 (Linux 2.2.10, SuSE 6.2) on hitting the 'run' button.

    --

    When the going gets weird, the weird turn pro. [H.S.T.]

    1. Re:Hangs on Netscape 4.61 by 13th+seer · · Score: 1

      tip: I heard the best (stablest) netscape to run in linux is 4.08.

      try it.

  26. I wrote a clone of it - without knowing... by Hanno · · Score: 2

    The basics of Spacewar was featured in Scientific American's GREAT* column "Computer Recreations" years ago.

    While in high school in Germany, I wrote my own version of it that I called "Grav" - using Turbo Pascal 3.0 on old 4.77 MHz Dos PCs, using CGA graphics and "incredible" (eek) sound effects.

    It was quite a hit with school mates and we spent a lot of school breaks competing with each other on it. I also distributed it as freeware, including its (horrible) pascal source code. In those days, you had to order free- and shareware disks through mail order, if anyone cares to remember that...

    Anyway, only later when I had my game finished I found "Spacewar", which (I think) was written in C and had a much better keyboard control code.

    Nevertheless, I liked my own version and still think that Grav did not have to hide from Dos' Spacewar in any way.


    (* I think that this series of wonderful articles actually made me consider studying computer science in the first place.)

    ------------------

    --

    ------------------
    You may like my a cappella music
    1. Re:I wrote a clone of it - without knowing... by dgph · · Score: 1

      I remember reading this Scientific American article too. I started implementing a version for the Commodore 64. Unfortunately, my programming and physics skills weren't very good -- I remember bad things would happen if the ship flew too close to the star, like shooting off really fast (faster than it went in). Probably, the ship was getting too close to the singularity (and going into warp-space ;)

      In the SA article, the graphics were the USS Enterprise and a Klingon Bird of Prey, but I see that the original just has rocket ships.

  27. tracking down the author by rillian · · Score: 1

    Well, Lycos lists only one Bill Seiler in California, in Newport Beach. I called him, and he's not it :)

    There are quite a few William Seilers, though, and some bills in other states.

    I'm now looking for a homepage...

  28. whine whine whine by notsosilentbob · · Score: 1
    > Java is a pain. Not only is it a pain to write in

    Am I the only one who is getting sick and tired of the constant Java bashing that goes on here? "A pain to write in"? Good fucking grief! Compared to what I had to write in before (C, C++) it's a godsend! God damn if I ever go back to dealing with a language that easily lets you corrupt the heap, horrible (and easy to create) memory leaks, crappy window toolkits (MFC? X/Motif? YUCK!).

    Just get over it already! If you don't like it, don't use it, but your incessant bitching about it just clutters up otherwise interesting discussions. If anyone says either the word "Sun" or "Java" in a sentence, it turns into a bitch session. Slashdot is looking less and less like a good forum to have good technical discussions. More and more like an asylum of whiney losers.

    1. Re:whine whine whine by TurkishGeek · · Score: 2

      I couldn't agree more. Frankly, I don't believe most of the Java bashers here ever sat down and wrote any application of substance in Java.

      --
      Zigbee Central: A Zigbee weblog
    2. Re:whine whine whine by Maurice · · Score: 1

      Actually Java can be fast. There are a few tricks and in general you have to keep things simple... At the place where I work we actually prototyped a Java version of something we already had for Windows in C++/ATL/COM and the Java version was faster (well, some functionality was lacking, but it was still quite fast).

    3. Re:whine whine whine by Midnight+Coder · · Score: 1

      Frankly, I don't believe most of the Java bashers here ever sat down and wrote any application of substance in Java.

      I agree, especially as no one has ever written an application of substance in Java.

      Implementations of the language are limited, restricting the language to be used for simple applets, and backoffice and servlet development. Sun still can't get the GUI framework right, by all accounts Swing has serious scalability problems apparently partly due to the limitations of the inflexible (if elegant on paper, and great for small apps) threading model of Java.

      The only sizeable shrinkwrapped apps written in Java that I know of are the ones I've help do and Java IDEs, Java isn't used to implement any windows apps I use and isn't relied on in the upcoming *nix desktop environments. Implementations simply aren't competitive, (and I'm not interested in benchmarks I'm interested in substantial apps that are in wide spread use)

      Also the language itself can be horribly obtuse at times even for extremely common tasks:

      myVector.elementAt( ((Integer)myVector.elementAt( i )).intValue() )

      instead of:
      mVector[mVector[i]]

      And don't tell me you can't corrupt the stack and leak resources in Java, because after a few thousand lines of code it's hard not too (and in different ways on different VMs)!

      Java does have it uses, I think it's a better language for teaching than Pascal and a better language for developing business logic apps than visual basic.

      If you want to develop a large app C is the proven choice, C++ is the Johnny come lately that is proving itself and ADA is used by those with no choice in the matter.

      Java is nothing more than a dumbed down, simplified C++, it doesn't advance the state of the art for that I suggest looking at Haskell which is pushing the boundaries of Comp Sci.

      Anyway that's a few off the cuff remarks from someone who actually managed to ship a shrink wrapped Java app and who has lived to tell the tale. I really haven't given a proper critique of the language and its implementations but if you search previous posts on Slashdot you should come across some by a clued up Dylan advocate who has given some very nice summaries on the shortcomings of Java.

    4. Re:whine whine whine by phil+reed · · Score: 1
      I agree, especially as no one has ever written an application of substance in Java.

      I hate to be the one to tell you this, but the new version of JDEdwards OneWorld accounting software, a large package by any count, comes in multiple flavors (same source code - cross compilers), including everything running in Java.


      ...phil

      --

      ...phil
      "For a list of the ways which technology has failed to improve our quality of life, press 3."
    5. Re:whine whine whine by Midnight+Coder · · Score: 1

      I hate to be the one to tell you this,
      Just because I'm being obnoxious and arrogant doesn't mean I don't want to be corrected if I'm mistaken.

      the new version of JDEdwards OneWorld accounting software
      Never heard of it, will keep a look out for it. "new version" you say, has it been released?

      What products does it compete with?

      multiple flavors (same source code - cross compilers), including everything running in Java.
      Cross compiling normally refers to using a compiler on machine A to generate machine code for another type of machine, machine B, but I think I know what you mean.

      Well done to them, it can be a fair bit of work getting Java source to compile and run right under different java compilers and VMs. (Different OSs too? Do they have a Mac version? I hear VMs suck especially hard on the Mac).

    6. Re:whine whine whine by Bastian · · Score: 1

      Komplex is a group of programmers who seem to have gotten some computrons out of Java.

      Admittedly, they aren't making office suites or anything here, but I still think it shows that there may be some untapped use in Java.

      The beautiful thing about Java and the point that everybody seems to be missing is that you compile it once and it works anywhere on any machine that has the power to run the app and a VM installed. I don't think anybody can shoot that down with a comparison to C.

    7. Re:whine whine whine by _ska · · Score: 1

      I'm not out to bash Java here just picking a nit; I am a bit tired of hearing the 'The beautiful thing ... everyone seems to be missing...' type comments from various Java advocates. I don't know how many times I've heard/read 'and it works on *any* machine, **wow** what a breakthrough' statements. This is *not* a new idea. Java didn't invent it. For that matter, Sun didn't invent it. It is just cheesy hype from Sun on the same order as the common 'we invented the dll' type statements from MS.

      Come on guys, Java (like just about any other language) has some good points and some bad points. It isn't really a general purpose language in the sense that C/C++ is so the trade offs are different. If you're on the right side of those trade-offs it can make you life a lot easier (wrt C/whatever); on the wrong side it can make your life miserable.

      Please lets not have yet another discussion degenerate into a stupid language war full of pointless statements by people who either don't know what they are talking about or should know better than to get into it once the temperature is up, ok?

      peace,
      S.

    8. Re:whine whine whine by phil+reed · · Score: 1
      JDEdwards software runs on AS/400s and other mid-size and large machines. The OneWorld product line is true client-server, fat or thin clients, or can run in a centralized environment if you desire. Be prepared to spend $2-3 million for a complete package (and that's just the software).

      Yes, 'cross compiler' was not entirely appropriate, but I couldn't think of a better term. The source code, from a single compile, results in binaries that can run on x86, Java, or AS/400.


      ...phil

      --

      ...phil
      "For a list of the ways which technology has failed to improve our quality of life, press 3."
    9. Re:whine whine whine by rcromwell2 · · Score: 1


      "can't corrupt stack and leak resources"

      Please tell me how you can corrupt the stack in Java. Meaning, expose it to a buffer overflow attack ala Java. Or is it possible you don't
      know what you're talking about?

      In Java, you can only "leak resources" by holding onto them. However, these leaks don't build up and usually amount to a waste of memory that is constant. Until long running C servers which can chew up all the ram in a machine.

      The only "true memory leaks" in Java are related to JNI implementation bugs in classes like java.awt.Image, and java.awt.Dialog, which have been fixed.

      I wouldn't call Java "dumbed down", I would call it "a more coherent, organized version of C++". And since you mention Haskell, care to point us to any code you've written, or are you simply blowing smoke out your ass.

      And if you want to talk about blowing C++ out of the water, let's look at Eiffel, shall we?




    10. Re:whine whine whine by Midnight+Coder · · Score: 1

      "can't corrupt stack and leak resources"

      Please tell me how you can corrupt the stack in Java. Meaning, expose it to a buffer overflow attack ala Java.

      Hmm meant to say heap, makes no difference. All JVMs I've worked with (Sun,Netscape and MS implementations) are buggy and I haven't found it hard to write code that (unintentionally) crashes them, probably due 'exploiting' stack/heap corruption or dangling pointer references in JVM code. I'm not talking about the language here but the VM implementations.

      In Java, you can only "leak resources" by holding onto them.
      You can get garbage collectors for C/C++ too (Great Circle), which leaves you in the same position of only leaking resources when you hold onto them.

      Personally I prefer predictable runtime performance (can we say no garbage collection) and still do it manually (using a malloc debugger to find memory leaks). I admit having to do this is pretty sad, but at least in C++ I have the option.


      However, these leaks don't build up and usually amount to a waste of memory that is constant.
      Rubbish.

      Until long running C servers which can chew up all the ram in a machine.
      Huh?

      The only "true memory leaks" in Java are related to JNI implementation bugs in classes like java.awt.Image, and java.awt.Dialog, which have been fixed.
      Never mind the memory leaks in the VMs.

      And since you mention Haskell, care to point us to any code you've written, or are you simply blowing smoke out your ass.
      I haven't written any commercial Haskell code, there aren't any good Haskell compilers, a good optimizing Haskell compiler is quite possibly decades away. My point was that as a language the beauty (simplicity, readability) of Haskell is first rate, far superior to Java and C++.

      (Haskell isn't perfect though I suspect many problems will always be best solved with an imperative language).

      And if you want to talk about blowing C++ out of the water, let's look at Eiffel, shall we?
      Haven't really had a serious look at it. I'm not aware of any good compiler implementations, or any significant apps. Post and pre conditions seem like good ideas though.

      Java does have its place, servlets, business logic and e-commerce programming come to mind.

      However for developing shrinkwrap style apps in a competitive environment (my area of interest) it is a proven failure.

    11. Re:whine whine whine by rcromwell2 · · Score: 1
      Hmm meant to say heap, makes no difference. All JVMs I've worked with (Sun,Netscape and MS implementations) are buggy and I haven't found it hard to write code that (unintentionally) crashes them, probably due 'exploiting' stack/heap corruption or dangling pointer references in JVM code. I'm not talking about the language here but the VM implementations.

      So? It's still lightyears better than C/C++ code which makes it trivial to write a program that dumps core. You're problem is with bugs in the runtime. You'll encounter the same such bugs in MFC, QT, GTK, Motif, etc and other 3rd party libraries used with C++ (oh, and how about C/C++ compiler optimizer related bugs)

      Personally I prefer predictable runtime performance (can we say no garbage collection) and still do it manually (using a malloc debugger to find memory leaks). I admit having to do this is pretty sad, but at least in C++ I have the option.

      Yeah, it's pretty sad to do this when time-critical performance isn't an issue, isn't it? The number of apps that require real-time performance pail in comparison to the number of apps that run perfectly fine in Visual Basic, TCL, Perl, Java, and Python. (all of which, feature some form of automatic memory reclaimation, whether it is GC or reference counting)

      However, these leaks don't build up and usually amount to a waste of memory that is constant. Rubbish.

      Leaks caused by accidently holding onto references *DON'T* build up indefinately. The only way you can leak resources without bound would be to use a data structure that can grow without bound, and keep adding references to it.

      native-code related leaks are the only leaks that can grow without bound. Do you understand the difference between a piece of Java code holding onto a reference for too long, and a piece of native-code calling malloc() and not freeing?

      Until long running C servers which can chew up all the ram in a machine. Huh?

      I meant "Unlike". Long running C servers can allocate memory indefinately. For instance, a single unbalanced malloc() statement, over the course of months of uptime, could suck up all the memory available to it. Thankfully, most Unix servers are spawned from INETD and are not long running.

      The only "true memory leaks" in Java are related to JNI implementation bugs in classes like java.awt.Image, and java.awt.Dialog, which have been fixed. Never mind the memory leaks in the VMs.

      Which are principally in the AWT related code, not the VM core. Don't you get it? You complain about GUI/desktop related code. Don't you understand that most of the VM related bugs are in the native GUI integration code, and not in the core VM?

      I haven't written any commercial Haskell code, there aren't any good Haskell compilers, a good optimizing Haskell compiler is quite possibly decades away. My point was that as a language the beauty (simplicity, readability) of Haskell is first rate, far superior to Java and C++.

      But it's usability is far below. Functional Languages are nice theoretical abstractions, and there is a beautiful theory behind the interaction of functional languages and I/O using Monads, but functional languages are frankly a *bitch* to work with when it comes to handling environmental state like network, disk, or user interface events. Yes, Quicksort in 3 lines of Haskell is cool, but writing Slashdot in Haskell or a Word Processor would be alot more painful, and mucher slower than either Java or C++.

      Most of the world wants something that has immediate utility, a pragmatic advancement. Java, Eiffel, ADA, etc aren't theoretical advancements, they are simple evolutionary advancements that make development less buggier and easier to maintain.

      Java certainly isn't the end-all-and-be-all of programming languages. No programming language is! Java was invented to run untrusted code on multiplatforms, and at that, it excels, and happens to function very nicely in a variety of contexts.

      And no, Quake4 won't be written in Java, but who cares.

      However for developing shrinkwrap style apps in a competitive environment (my area of interest) it is a proven failure.

      And by extension, so in Eiffel, Smalltalk, ADA, oh, and not to mention, Linux itself right?

      Could it be that the whole idea of shrinkwrap style apps is a thing of the past? I don't know about you, but except for video games, multimedia, browsers, and Microsoft Office, I spent the vast majority of my time using the web.

      I don't use all these "business shrinkwrap 4GL" apps that do nothing but handle simplified non-realtime user input. I'll take HTML interfaces anyday, especially over the crappy X/GTK-style apps.

    12. Re:whine whine whine by Midnight+Coder · · Score: 1

      Please tell me how you can corrupt the stack in Java. Meaning, expose it to a buffer overflow attack ala Java.

      Hmm meant to say heap, makes no difference. All JVMs I've worked with (Sun,Netscape and MS implementations) are buggy and I haven't found it hard to write code that (unintentionally) crashes them, probably due 'exploiting' stack/heap corruption or dangling pointer references in JVM code. I'm not talking about the language here but the VM implementations.


      Hmm this sounds like I'm concerned with security. I was/am talking about reliability, I mean I have enough trouble getting code to run properly on different VMs let alone making sure it's secure!

    13. Re:whine whine whine by Midnight+Coder · · Score: 1

      So? It's still lightyears better than C/C++ code which makes it trivial to write a program that dumps core. You're problem is with bugs in the runtime. You'll encounter the same such bugs in MFC, QT, GTK, Motif, etc and other 3rd party libraries used with C++

      So in reality Java has these problems (resource leaks, abnormal terminations) just the same as C/C++, that's my point. I've found developing (debugging) C++ applications easier because the implementations are more polished and I have more choices about how things are done, and I don't have to 'debug' my code (when it's perfectly valid!) to get it running on multiple VMs.

      (oh, and how about C/C++ compiler optimizer related bugs)
      They suck, how about bugs introduce due to optimizing VMs, I've had simple (but long) arithmetic expressions work on some VMs but not others.

      Yeah, it's pretty sad to do this when time-critical performance isn't an issue, isn't it?
      Agreed.

      The number of apps that require real-time performance pail in comparison to the number of apps that run perfectly fine in Visual Basic, TCL, Perl, Java, and Python. (all of which, feature some form of automatic memory reclaimation, whether it is GC or reference counting)
      C++ supports reference counting too (eg shared string classes). Some parts of my code are absolutely time critical as my products can't make the user wait longer than our competitors products. (We are meant to be saving the clients time, not wasting it)

      Leaks caused by accidently holding onto references *DON'T* build up indefinately.
      Yes they do.

      The only way you can leak resources without bound would be to use a data structure that can grow without bound, and keep adding references to it.
      Correct, so you just contradicted yourself and explained my point to, thanks.

      native-code related leaks are the only leaks that can grow without bound.
      Not according to you previous sentence.

      Do you understand the difference between a piece of Java code holding onto a reference for too long, and a piece of native-code calling malloc() and not freeing?
      Yes. I do it accidentally (well operator new not malloc) all the time, and it shouldn't happen in Java. But as you've explained these aren't the only kind of resource leaks, and you still have to debug resource leaks in Java.

      Which are principally in the AWT related code, not the VM core. Don't you get it? You complain about GUI/desktop related code. Don't you understand that most of the VM related bugs are in the native GUI integration code, and not in the core VM?

      Thankfully I didn't have to write GUI code in Java. I found plenty of bugs in VMs writing ordinary (searching/sorting/compression) code.
      Saying writing GUI code is even worse is something I already know, and is a fact that scares rather than impresses me.

      But it's usability is far below. Functional Languages are nice theoretical abstractions
      Aaah, this was my point, I was debunking the Java is a revolutionary language myth.

      and there is a beautiful theory behind the interaction of functional languages and I/O using Monads
      I've studied and given a presentation on Monads and I think it's an ugly theory.

      but functional languages are frankly a *bitch* to work with when it comes to handling environmental state like network, disk,
      Agreed.

      or user interface events.
      Haggis was interesting, it looked promising.


      Yes, Quicksort in 3 lines of Haskell is cool,
      I remember think the 3 line Quicksort implementation wasn't really a Quicksort implemention as its Big O characteristics were entirely different.

      but writing Slashdot in Haskell or a Word Processor would be alot more painful, and mucher slower than either Java or C++.
      Today that is true.

      Most of the world wants something that has immediate utility, a pragmatic advancement. Java, Eiffel, ADA, etc aren't theoretical advancements, they are simple evolutionary advancements that make development less buggier and easier to maintain.
      I disagree, if this were true more people would be using apps written in these languages, at least on platforms MS doesn't control.

      Java certainly isn't the end-all-and-be-all of programming languages. No programming language is!
      Agreed.

      Java was invented to run untrusted code on multiplatforms, and at that, it excels, and happens to function very nicely in a variety of contexts.
      It has been a spectacular failure. The security models for the popular (netscape, ie) models is different and the netscape model sucks to the point of being broken, which is why you see very few signed applets. But maybe you are talking about it being a theoretical success rather than a practical one.

      And by extension, so in Eiffel, Smalltalk, ADA, oh, and not to mention, Linux itself right?
      yes, Yes, Yes, No.

      Could it be that the whole idea of shrinkwrap style apps is a thing of the past? I don't know about you, but except for video games, multimedia, browsers, and Microsoft Office, I spent the vast majority of my time using the web.
      You said except for .. browsers... I spend .. my time using the web which is strange. Other important apps are Email clients (I pity you if you rely on web based email), and IDEs, also an office suite consists of many apps.

      I write shrink wrapped software for a living, so it's very important to me, and I think it still has a bright future. The latency problems inherent with web based applications are currently unsolvable (we are limited by the speed of light in a vacuum) and will prevent current shrink wrapped software from being made obsolete by web based apps. (On the other hand many new types of web based apps are appearing, so really everyone wins).

      Fuck, what a waste of time this has been. I don't learn anything here anymore.

    14. Re:whine whine whine by divbyzero · · Score: 1

      >> Personally I prefer predictable runtime performance (can we say no garbage collection) and still do it manually (using a malloc debugger to find memory leaks). I admit having to do this is pretty sad, but at least in C++ I have the option.

      > Yeah, it's pretty sad to do this when time-critical performance isn't an issue, isn't it? The number of apps that require real-time performance pail in comparison to the number of apps that run perfectly fine in Visual Basic, TCL, Perl, Java, and Python. (all of which, feature some form of automatic memory reclaimation, whether it is GC or reference counting)

      We've had a long discussion about this on the Linux Audio Development mailing list. Audio applications are a notable class of programs in which realtime accuracy is a significant issue.

      Basically, our verdict was that there's no good reason not to use an interpreted or semi-interpreted language (like Java, Perl, or Tcl8) to write your program framework and GUI as long as critical sections were implemented in C or assembly. Keep in mind that all the languages in question can easily call C or assembly routines.

      If you're concerned about portability, remember that most "critical sections" involve computation only (not graphics, networking, database access, etc) and thus are trivially portable when written in pure ANSI C. The remaining issues are merely byte order, 32 vs. 64 bit accuracy, and the availability of SIMD instructions, all of which are problems for which there have been textbook workarounds for many years.

      For that reason, I've not been worried about using Java for the majority of the MIDI sequencer (an application which is very dependent on realtime accuracy) which I'm currently writing. Only the realtime I/O routines (not even the file I/O) are written in C. I personally find Java very comfortable and convenient for everything else.

      -- Div.
      But my grandest creation, as history will tell,

      --
      But my grandest creation, as history will tell,
      Was Firefrorefiddle, the Fiend of the Fell.
  29. Hello, sir... by Anonymous Coward · · Score: 0

    Yes, they are in fact two different things. Pong was the first _video_ game as you stated. Now regardless of the difference between the two, the author claims Spacewar to be the first _video_ not _computer_ game. Speak english much?

  30. I played the arcade version of this recently by Goonie · · Score: 1
    The Powerhouse Museum in Sydney, Australia had an arcade version of Spacewar at a recent exhibition. Vector graphics monitor, PDP-1 inside it (apparently). Had a great time playing against a 12-year-old who had absolutely no idea of the historical significance but thrashed me anyway :-)

    It was quite an interesting exhibition, if you made allowances for the drool factor. An Apple I (with a label stating it had an Intel processor...), a piece of Charles Babbage's Difference Engine, and a few other interesting bits and pieces. It was just so depressing that nobody was looking at the difference engine, and there were hundreds of people crowded around a ho-hum industrial robot that had be programmed to "dance" in time to some crappy 70's disco music.

    --

    Any sufficiently advanced technology is indistinguishable from a rigged demo
    --Andy Finkel (J. Klass?)
  31. Pearl? by blue_adept · · Score: 1

    "Pearl?" hmmmm... Is that *P*ractical *E*xtraction *A*nd *R*eporting *L*anguage? hhehe. nevermind.

    --

    "Is this just useless, or is it expensive as well?"
  32. Yes, it's just you. :) by droob · · Score: 1

    The "sun" in the center has gravity, so you'll be unable to escape it if you've used up all your fuel. And the sides overlap (think globe), so the rocket's only in one place when it reappears. Each corner of the screen is showing one quarter of the needle ship.

    1. Re:Yes, it's just you. :) by kkenn · · Score: 1

      Actually for games which wrap around on all four sides of the screen the topology is that of a torus (donut), not a sphere as you might think - imagine rolling up the screen into a cylinder (gluing together top/bottom), and then joining up the two circular ends.

  33. Anyone remember VTtrek ? by Macka · · Score: 1

    Talking of old systems and games, I remember playing VTtrek (I'm sure that's what it was called) oooh, 12 years ago, or there abouts on what was at the time a huge TOPS 10 or TOPS 20 system. That was the first multi-user game I ever came across.

    I wonder if anyone ever ported that or did a TOPS emulator.

    Macka

  34. PDP emulation---screw space wars, run V7 UNIX! by Kaz+Kylheku · · Score: 3

    I played with this a couple of years ago. There was (probably still is) a PDP-11 emulator you could download from ftp.dec.com. With the provided disk images, you could run V7 UNIX. I played with it for a while; I was able to log in, wrote a little C program using ed, and then compile and run it. Here, I think I found the link! (ftp://ftp.digital.com/pub/DEC/sim/).

  35. Spacewar by 311Stylee · · Score: 1

    The java version is a little different than the version I remember playing.
    Anyhow here is a link to an even different version.

  36. It's in assembly :( by Improv · · Score: 1

    I didn't find Bill Seiler, but I did find someone
    else talking about certain aspects of the
    source, and it seems to be x86 assembly :(
    So maybe a complete rewrite is in order...

    --
    For every problem, there is at least one solution that is simple, neat, and wrong.
  37. Obligatory Slashdot bashing? by Tasty · · Score: 1

    Slashdot is looking less and less
    like a good forum to have good technical discussions. More and more like an asylum of whiney losers.


    Is there a word yet for this phenomenon, this
    odd little "obligatory" slashdot-bashing that has become commonplace whenever anyone even slightly disagrees with a post?

    Seriously, how many of you are expecting me to finish my saying "Slashdot used to have great, respectful, logical discussion but has no degnerated to..."

    What the hell? We need a word for this.

    Marc







    1. Re:Obligatory Slashdot bashing? by notsosilentbob · · Score: 1
      What the hell?

      Hmm.. someone complained about the java bashing, you bitch about the slashdot bashing. I bitch about your meta-bash-bitching. Where will it end! (Hmm.. maybe there's your term? Meta-bashing?)

  38. Java by Chris+Johnson · · Score: 2

    I will say this: one, this is a Java emulator of the PDP-1 and not just a game written in Java. It's like a Java version of MAME only for Spacewar.
    I'll also say this: I'm trying it in netscape 4.08, and I know that the Netscape jvm bites. Makes me sorry I stopped using iCab ;)
    That said: ack! I'm running a 300Mhz G3 processor here. I can run Unreal Tournament without it being too much of a slideshow. To have _spacewar_ being unplayably slow and totally unresponsive is just disgusting. Blech! And yet I am delighted to have seen it- I read 'Hackers' too but I'd never seen the actual game. It was worth the hassle to actually see those little shapes and know that this was the game that started it all :)
    I downloaded the class file in hopes of running it on a better JVM sometime. I freaked out when it was only 4,615 bytes, sure that I'd got the wrong file. Then did a doubletake... _wait_ a minute... *grin* *hehehehe* funny what this industry does to your sense of proportion, isn't it?

  39. Look in the mirror you losers. by Anonymous Coward · · Score: 0

    "ITS PERL...NOT PEARL!!!!" Look in the mirror.. you are a loser if what you look forward to is flaming someone who does not spell perl correctly. I'm guessing that guy/girl gets laid 4 times as much as you.

  40. Wordcodes by William+Tanksley · · Score: 3

    Wordcodes are technically just an extension of bytecodes; instead of being 8 bits long, they're longer. A common length is 16 bits.

    They're faster and smaller because there are so many more possible ones -- the VM can have many more primitives which are more tailored to the job at hand. They're more secure for the same reason; it's possible to design an instruction set which does not have as many illegal combinations of primitives.

    You still need a security manager, of course, but the verifier can be much smaller and quicker.

    Secure in what sense?

    Secure in the sense that a verifier has to watch for much fewer conditions, and is thus simpler to build. Once you've built the verifier, of course, both systems have the same security.

    An example of a wordcoded system is threaded Forth. I don't know whether anyone has made a portable executable format out of wordcodes.

    -Billy

    1. Re:Wordcodes by Eric+Smith · · Score: 2
      I don't buy it. I'm familiar with the internals of FORTH, Java, and the old UCSD P-System. I haven't seen any compelling size advantage to Forth code, which, by the way, does NOT normally use wordcodes, but uses thread pointers which these days are typically 32 bits.

      Just having the code be 16-bits wide neither allows you to have more primitives (which you can do with multi-byte sequences of bytecode), nor does it "not have as many illegal combinations of primitives". Certainly FORTH allows (even in 16-bit implementations) for a huge number of "illegal combinations".

      Furthermore, there is every reason to expect that wordcodes would be larger than bytecodes, since even the most common primitives are forced to use twice as many bits.

      If x-codes were fundamentally better for larger x, don't you think people would have noticed that by now?

      For equivalent security to that provided by Java, wordcodes would still require a wordcode verifier. The verifier does a whole lot more than check for illegal codes. It has to analyze the code and make sure every possible path results in the same stack depth. Wordcodes don't help with this sort of problem.

    2. Re:Wordcodes by William+Tanksley · · Score: 2

      I haven't seen any compelling size advantage to Forth code, which, by the way, does NOT normally use wordcodes, but uses thread pointers which these days are typically 32 bits.

      I have. It's one of the things that just about every Forth programmer touts as the Great Thing about Forth. And yes, I know that most modern Forths use 32-bit cells; in fact, many modern Forths are switching to call threading rather than token threading, because it allows for inlined optimization. This is often an easy choice, because a call for many processors takes up 32 bits anyhow.

      Just having the code be 16-bits wide neither allows you to have more primitives (which you can do with multi-byte sequences of bytecode),

      At a serious cost in speed.

      nor does it "not have as many illegal combinations of primitives". Certainly FORTH allows (even in 16-bit implementations) for a huge number of "illegal combinations".

      You're ignoring what I said -- I said that it's possible to design an instruction set which does not have as many illegal combinations of primitives. I didn't say that Forth was it -- of course not. Forth was designed for totally different purposes -- security doesn't even show up on the list.

      Furthermore, there is every reason to expect that wordcodes would be larger than bytecodes, since even the most common primitives are forced to use twice as many bits.

      That's obvious. What's not obvious is that since there are many more wordcodes, the most common sequences of bytecodes can be encoded in a single, preoptimised, wordcode. This is also how a certain amount of increased security is possible.

      If x-codes were fundamentally better for larger x, don't you think people would have noticed that by now?

      Why do you think they haven't? I'm not sharing qabbalistic secrets here. Optimising wordcodes is a new science; using them is old.

      For equivalent security to that provided by Java, wordcodes would still require a wordcode verifier. The verifier does a whole lot more than check for illegal codes. It has to analyze the code and make sure every possible path results in the same stack depth. Wordcodes don't help with this sort of problem.

      Of course. You're absolutely right. All I claimed is that the analysis was less complex. I admit that not only did I not give numbers, though, I don't even HAVE any. To the best of my knowledge, nobody's ever written a security-critical system using wordcodes -- but then Java's the only bytecode-based system I know of.

      My preference is to use neither -- I like abstract syntax trees.

      -Billy

  41. Won't go fast enough over Internet by ForceOfWill · · Score: 1

    I love xpilot, but I can only really play against the robots, because whenever I try the servers in the metaserver, they're too slow and/or have nobody else there. Are all these things really in Europe, like the names seem to say? Or is it just that I'm an idiot for trying to play it on a 56K dialup?

    --

    --
    Seeing is believing; You wouldn't have seen it if you didn't believe it.
    1. Re:Won't go fast enough over Internet by myers_40 · · Score: 1

      I have played it on our T1 and it was great, tried at home and it was a dog.

  42. Hurrah Spacewar! by Anonymous Coward · · Score: 0

    THE #1, original video game. Him who came first. The Bombadil of our world between programming and gaming. Any game even vaguely based on Spacewar has been a hit. 1-player spacewar (Asteroids) was the one game you could count on finding anywhere when video games first began appearing in numbers. Hotels, bars, bus stations...all of those places that don't really "go for" video games, but have them nonetheless. There was a PC version of spacewar that I played on my dad's Compaq suitcase, but human opponents were rare and the computer opponent had but one strategy - to fire torpedoes as quickly as possible until it ran out of fuel. And along the way there were diversions such as Blasteroids and Space Duel. And the pinnacle (so far) of spacewar...Star Control 2! This incredible game, successor to its simpler and less complicated cousin Star Control, has many different ships, with strange abilities, and in the story-game part, a well-thought out and witty plot. I urge any casual spacewar fans to find a copy of Star Control 2 at your nearest search engine, and relax with some SuperMelee.

    1. Re:Hurrah Spacewar! by Anonymous Coward · · Score: 0

      I always loved the ship display in SC1. Very cool. The game mode of SC2 isn't half bad, either. Sadly SC3 is a real dog, horrible in every respect. Glad I waited and paid only $20 instead of $60 when it came out.

  43. Re:Hangs on Netscape 4.07 too by ForceOfWill · · Score: 1

    Netscape 4.07 Kernel 2.0.36 RH5.2

    --

    --
    Seeing is believing; You wouldn't have seen it if you didn't believe it.
  44. We're so fortunate! by CAIMLAS · · Score: 1
    Just think, 50 years from now, chances are that there won't even be a copy of these old software versions available. Even current bleeding edge technology will probably be difficult to come across. We are so priveledged to be at the innovation of such things as linux, and PC's in general.

    Who knows, several hundred years from now, the history books may portray Commander Robert Malda as an industry inspiration, great innovator, and even political leader. History is sometimes confused to fit political agendas.

    -------
    CAIMLAS

    --
    ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
  45. Anyone d/l'ed sources and compiled spacewar.bin? by Anonymous Coward · · Score: 0

    Being curious, I D/L'ed the sources and found several perl scripts and a spacewar.lst and spacewar.mac. Tried to compile the spacewar.mac using pass12.pl and then running tape.pl on the output to create spacewar.bin, but this blows up with 'Undefined instruction: 002776 at 001131' when I run pdp1b.class. Any one had more success?

  46. Versions of MESS by catseye · · Score: 1

    You're right! And I'm an idiot for relying on my memory to recall what platforms MESS supports. My other mistake was to say there's a WIN32 version. There's none (yet).

    Not that it matters. :-)

    -A.

    ---

    --
    What did the walrus say to the penguin? "No soap, radio."
  47. Netscape sucks, stop blaming Java by rcromwell2 · · Score: 1


    The Linux community is held hostage by Netscape and their implementation (until Mozilla and OJI
    frees them) It's not very scientific to have a single datapoint, Netscape's Java implementation, and therefore conclude, Java sucks.

    Netscape 4 sucks speedwise, and stability wise. It has resource leaks, segfaults, and its Java VM doesn't even have a JIT. Java on Windows, Solaris, HP-UX, OS/2, and AIX runs very nicely. Only Swing is still a little slow, and even that is wholly dependendant on how you use it. (evidence: jEdit vs JEditorPane)

    Try running the applet under IBM JDK1.1.8 appletviewer on Linux, it's about 30-50 times faster than the VM in Netscape and much more resource efficient.

    Now try writing a PDP-1 emulator in pure PERL and let's see how fast it runs.

    I've been coding Perl since 1991 and Java since 1993, and have mucho experiencing optimizing both Perl and Java code. All the anti-Java bashing that goes on here is pure FUD. You have clueless idiots bashing bytecode interpretation, and then cheerfully boost Perl, Python, PHP, TCL, etc,
    claiming that parse tree evaluation will be faster than optimized bytecode/JIT, and bashing Java's thread model (when in fact, the fault lies in Linux's poor threading model compared to Solaris, OS/2, BeOS, or NT)

    There are plenty of benchmarks out there now showing Java JIT's being within a fact of 50-80% of C on execution speed. Volano Report shows that some VMs/OSes can scale to thousands of simultanaeous threads (4000+). I personally ported a mini-raytracer to Java from C and only lost about 20% execution speed.

    No doubt, Java GUI components still need more optimization. But on the other hand, the lack of a Microsoft Office competitor written in Java is not evidence. The desktop app markup is pretty locked up right now, most companies are developing Web/HTML versions of tradition apps like email/address book/form processing/hr/billing/info mgmt/etc, so the fact of the matter is, the number of "desktop apps" being written in C/C++ is also on the way down.
    (why waste time doing C++ Forms Database, when you can develop much quicker by using HTML and a scripting language?)

    Why wasn't Slashdot written in C++? Hmm..

  48. Ironic - DEC PDP1 is faster than Java itself! by Anonymous Coward · · Score: 0

    heh heh

  49. Why wasn't Slashdot written in ... by Anonymous Coward · · Score: 0

    Nor is Slashdot written in Java. What's your point?

    1. Re:Why wasn't Slashdot written in ... by rcromwell2 · · Score: 1


      Point is, Slashdot is written in a purely
      interpreted language. Raw execution speed isn't the only thing that makes a language useful.

      The Java bashers need to get over it.

  50. Arcade Version by Jimhotep · · Score: 1

    I spent lots of time and money in front of an
    arcade version of this game back in 78-79!

    Never saw another one since then.

    Town Draw
    Lubbock TX

    Me Larry and Jo spent some quality time there.
    Best sun rises in town!

    those where the days

  51. Does anyone know where I could get any of these? by jd · · Score: 2

    I -love- old-time classics, and would love it if someone could point me to sites that have the sources (or ports or clones) for any. I'm mostly interested in PET games, but Apple I & Apple II games are of interest, too, and I wouldn't say no to any pointers to games for yet older machines.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  52. older games by mog · · Score: 1

    Regarding older games, when did Rogue enter the picture? That was one of my first computer games ever .. on my good ol' Tandy PC1000.

  53. OMG by Anonymous Coward · · Score: 0

    This game gave me serious flash-backs. Now I want to go buy a bunch of Dr. Pepper and play DnD all night.
    I didn't relize it was written in 1962. Jeez, I thought it was new when I stumbled into it in the mid\late 70's.