0

Hello everyone!

I'm making a tetris program, and now I'm stucked a bit. I have to use the simple getch() function, but in a special way. I need to use it for exact time, and when the time is up, I need to break the function, even if I haven't got any characters entered.

It's for the horizontal movement of a brick - you have time to move it horizontally, but when the time is up, it moves one pixel vertically.

I hope, I was understandable.

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by WaltP
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.