LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 718 users online 158069 members 2057 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Video | Dictionary | News | FAQ
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
4 online / 52 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic

my game for college
Replies: 2Last Post Dec. 3, 2004 11:18pm by GamerX
Single page for this topic Email Print Favorite
( xxxxxxxx )


Technician
Reply
well i have to make a game. i have decided to make tetris but i dont know how to make it so when the shape hits the bottom you can send the same shape down again any help would be great code,site,what to look for etc

6:27 pm on Dec. 2, 2004 | Joined Sep. 2004 | 22 Days Active
Join to learn more about xxxxxxxx United Kingdom | 33 Posts | 255 Points
Duekiller

Dairy Product Addict
Reply
just add the shape to the arrayfull parameter.

The best way to do a tetris game is to have the board devided into a two dimentional array then you mark each square as full or not (a bool array)

just make the shape generation random.

-------
Some days I am the dog, Some days I am the hydrant. In either case the sun shines in my face.


9:17 pm on Dec. 2, 2004 | Joined May 2004 | 421 Days Active
Join to learn more about Duekiller Ohio, United States | Metrosexual Male | 936 Posts | 5166 Points
GamerX


Dairy Product Addict
Reply
My friend made text-based tetris, yup in a console window. You can take a look at the code there
http://vstolpner.ucesys.com/C++/
just don't copy it all.

(Edited by GamerX at 11:19 pm on Dec. 3, 2004)

-------
Take back the web! GetFirefox.com


11:18 pm on Dec. 3, 2004 | Joined Nov. 2003 | 112 Days Active
Join to learn more about GamerX British Columbia, Canada | Straight Male | 140 Posts | 1273 Points
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic