Hello Friends..! Need ur help..!!
Actually i'm trying to code a game like thing..! In that, there is an aquarium of two fishes..
Both moving in opposite directions simultaneously and endlessly..
And two options will be displayed below the bottom of the aquarium..!!
One is To exit and another one is to feed those fishes...!!
If i press esc, the program should end and when i press enter, it should shower '*' symbols.
And i did only the second part.., i mean, an infinite loop to shower the symbol and the movement of fishes..
And i don't know how to control the infinite loop by those keystrokes...
Actually is that possible..?? Programmers..!! Help me please...!!!