PDA

View Full Version : Anybody have the source code to asteroids?



Fool
09-02-2001, 02:46 PM
I'd like to see it (play around with it), preferably in C.

-Fool

Esss
09-02-2001, 03:18 PM
A version of it (called 'Donuts') is supplied with the DirectX SDK.

Fool
09-02-2001, 03:20 PM
Originally posted by Esss
DirectX SDK.

What's that?

-Fool

gamegod3001
09-02-2001, 03:25 PM
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.

Esss
09-02-2001, 03:26 PM
http://www.google.com/search?q=DirectX+SDK

Hillbillie
09-02-2001, 03:53 PM
>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 ;)

Fool
09-02-2001, 04:07 PM
Come on guys, I can't find em anywhere. Could somebody just copy and paste the code in this thread?

-Fool

Hillbillie
09-02-2001, 06:07 PM
Well, the Borland versions are Windows versions and have more than one file, but here's (http://www.execpc.com/~geezer/software/tetris.c) a Tetris that runs on DOS.

Here (http://www.execpc.com/~geezer/os/cosmos4.gif) is a screenshot of a ported version of it running on Cosmos.

Enjoy! Dunno 'bout the asteroids...

gamegod3001
09-02-2001, 06:21 PM
Look here (http://www.planet-source-code.com/xq/ASP/txtCodeId.1786/lngWId.3/qx/vb/scripts/ShowCode.htm) for astroids.