This game is a console based program but I am using the OS interrupts and
thus able to use Mouse to play this game. You can find a Mouse.h header file
which you can include in other programs.
I wrote this game program in my undergraduate out of my interest in learning
C/C++. I used the console based editor named the Turbo C editor for coding this.
I didnt had google.com or any help documentation while writing this. Its purely
console based and the code is not optimized and I think there will leakage of
memory due to pointers. This is not a managed C++ code. But it has got lots of
complexity is using the pointers.
I could write this program in 850 lines using the graphics
classes and pointers. Also it helped me learn many things like
handling mouse and keyboard events and many basic constructs of C++ language.
Most importantly I learned using pointers.
This program has :
Usage of Pointers
All basic constructs like switch.
Handling Mouse using the OS based inrerrupts.