But there is a bug:Sometimes, a part of brick is stuck on the top of the screen. He gave me the code source, but I could not fix that bug.

Here is a screenshot:
And here is the game : Tetris.rar
Posted 05 October 2005 - 04:49 PM
Posted 06 October 2005 - 02:26 PM
Posted 09 October 2005 - 09:42 AM
wow look really nice, how fast does it run approximately? (in frames per seconds)
Posted 16 October 2005 - 02:55 PM
Posted 17 October 2005 - 02:08 AM
Posted 11 November 2005 - 06:46 PM
Posted 27 November 2005 - 06:37 PM
Nobody sees this topic.
Please, can somebody find the bug?
Posted 28 November 2005 - 01:31 AM
Posted 29 November 2005 - 11:05 AM
Especially when the code was not made to be readable by someone else...Besides, to work with someone else's code is often a nightmare.
Posted 29 November 2005 - 01:36 PM
I totally agree. Debugging someone else's code is a nightmare, even if the code is structured (if it's not structured, it's not a nightmare, it's real hell). There is a saying about this, found in the Unix program "fortune". It says:Especially when the code was not made to be readable by someone else...
Posted 30 November 2005 - 07:37 PM
I totally agree. Debugging someone else's code is a nightmare, even if the code is structured (if it's not structured, it's not a nightmare, it's real hell). There is a saying about this, found in the Unix program "fortune". It says:
Real programmers don't comment their code; it was hard to create it, it should be hard to understand it!
This statement is obviously a joke, but it also explains how difficult is to debug a program made by another person.
0 members, 0 guests, 0 anonymous users