Skip to main content
gamedev.net
🔒 Locked

Source code for a newbie...

Started by Constantly Being Helped Nov 17, 2000 at 9:34 AM 1 replies 550+ views
Original Post
Constantly Being Helped
Constantly Being Helped
I''ve just started programming in c++ and I have the basics, but I need some source code. I was wondering if anyone could send me the source code for a Tetris like game that would run with djgpp. Lmnofun@yahoo.com
Yanroy
Yanroy
I believe there is an unofficial ban on replying to posts like this one, but I will anyway. If you just know the basics of C++, are you still doing console apps? If you can program a basic windows app that makes "Hello World" (just plain black text) bounce around the window, maybe you are ready to begin DirectX. If you are doing console apps, I can''t help you, but there are those around who still know the age-old art of console programming. As for the code, you would need to know the API to get more than a rudimentary understanding of it. I can''t supply tetris code because I skipped that programming phase... I went from Pong to a particle system to an RTS. You should go get a good book on DirectX, or, if you want to take the less-useful-in-the-future approach, a book on the Windows GDI. If you can blt a colored square to the screen, you are about 2 steps away from tetris .

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


You are not a real programmer until you end all your sentences with semicolons; (c) 2000 ROAD Programming


You are unique. Just like everybody else.

Yanroy@usa.com

Visit the ROAD Programming Website for more programming help.

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

You are not a real programmer until you end all your sentences with semicolons; (c) 2000 ROAD Programming
You are unique. Just like everybody else.
"Mechanical engineers design weapons; civil engineers design targets."
"Sensitivity is adjustable, so you can set it to detect elephants and other small creatures." -- Product Description for a vibration sensor

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.