I am writing to a friend. It is necessary to make a game on the similarity of the arkanoid Tetris in the console, only you need not to shoot a controlled cannon but with a ball.
I see the writing of the game in this way, correct if not so:
- create a matrix;
- fill it with zeros - these are empty cells;
- then I will place the first level on it, for example units;
- two for example gun;
- the drawing function will be called up regularly and draw in the console that object or gun;
Actually the following questions arose: How to remove the scroll in the console? That is, here's how in the turbo-belts itself: Launched, and nothing scrolls. How do I better intercept keystroke and space (you can assign another key to FIRE)? How to add a delay?