LiveWire Peer Support Network

Printable Version of Topic "my game for college"

- LiveWire Teen Forums & College Forums (http://www.golivewire.com)
-- (http://www.golivewire.com/forums/support-technical.html)
--- Programming & Application Development (http://www.golivewire.com/forums/forum-211-s-0.html)
---- my game for college (http://www.golivewire.com/forums/peer-piyee-support-a.html)


-- Posted by xxxxxxxx at 6:27 pm on Dec. 2, 2004

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


-- Posted by Duekiller at 9:17 pm on Dec. 2, 2004

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.


-- Posted by GamerX at 11:18 pm on Dec. 3, 2004

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)


www.golivewire.com