Thread: Anybody have the source code to asteroids?

  1. #1
    Registered User Fool's Avatar
    Join Date
    Aug 2001
    Posts
    335

    Anybody have the source code to asteroids or tetris?

    I'd like to see it (play around with it), preferably in C.

    -Fool
    Last edited by Fool; 09-02-2001 at 03:13 PM.

  2. #2
    Registered User Esss's Avatar
    Join Date
    Aug 2001
    Posts
    133
    A version of it (called 'Donuts') is supplied with the DirectX SDK.
    Ess
    Like a rat in a maze who says,
    "Watch me choose my own direction"
    Are you under the illusion
    The path is winding your way?
    - Rush

  3. #3
    Registered User Fool's Avatar
    Join Date
    Aug 2001
    Posts
    335
    Originally posted by Esss
    DirectX SDK.
    What's that?

    -Fool

  4. #4
    .
    Join Date
    Aug 2001
    Posts
    598
    the sdk (libarys, header files, ect) that let you use directx in your programs. cheak out microsoft.com/directx (I think) for links to what you want.
    To Err Is To Be Human. To Game Is Divine!"

  5. #5
    Registered User Esss's Avatar
    Join Date
    Aug 2001
    Posts
    133
    Ess
    Like a rat in a maze who says,
    "Watch me choose my own direction"
    Are you under the illusion
    The path is winding your way?
    - Rush

  6. #6
    Disagreeably Disagreeable
    Join Date
    Aug 2001
    Posts
    711
    >Anybody have the source code to asteroids or tetris?

    Borland C 4.5 comes with a version of each of these. Of course I couldn't give them to you; that'd be wrong

  7. #7
    Registered User Fool's Avatar
    Join Date
    Aug 2001
    Posts
    335
    Come on guys, I can't find em anywhere. Could somebody just copy and paste the code in this thread?

    -Fool

  8. #8
    Disagreeably Disagreeable
    Join Date
    Aug 2001
    Posts
    711
    Well, the Borland versions are Windows versions and have more than one file, but here's a Tetris that runs on DOS.

    Here is a screenshot of a ported version of it running on Cosmos.

    Enjoy! Dunno 'bout the asteroids...

  9. #9
    .
    Join Date
    Aug 2001
    Posts
    598
    Look here for astroids.
    To Err Is To Be Human. To Game Is Divine!"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How do you call another source code file?
    By nifear4 in forum C Programming
    Replies: 2
    Last Post: 10-28-2008, 12:16 PM
  2. 'Type' Error on Build of Officially Released Source Code
    By Jedi_Mediator in forum C++ Programming
    Replies: 5
    Last Post: 07-07-2008, 05:28 PM
  3. DxEngine source code
    By Sang-drax in forum Game Programming
    Replies: 5
    Last Post: 06-26-2003, 05:50 PM
  4. Lines from Unix's source code have been copied into the heart of Linux????
    By zahid in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 05-19-2003, 03:50 PM
  5. Source Code Beautifier
    By Hammer in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 05-05-2002, 09:21 PM