Joe Estock wrote:
Michael Mair wrote: Dr_Locke_Z2A wrote:
[snip]
1) You cannot write Pong in portable standard C.
Not entirely true. Using printf and the escape sequence for the
backspace key you could implement a fairly workable version that is very
close to standard C, however I don't think it would be very playable. It
might be a good starting point at learning the algorithms involved, however.
Well, given that backspacing will limit you to a single line of display
(assuming that you have a "display" which can backspace), it will be even
more boring as you can't take any input from the user without pausing
every time and waiting for Enter to be pressed (which will make the
backspace issue moot as the cursor will probably advance to the next line
at that point).
[...]
--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody |
www.hvcomputer.com | |
| kenbrody/at\spamcop.net |
www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
Don't e-mail me at: <mailto:Th*************@gmail.com>