Click here to Skip to main content
Licence 
First Posted 9 Jul 2004
Views 26,732
Bookmarked 12 times

Tiger Goat Console Based Game - using C++

By | 9 Jul 2004 | Article
This is a console based program written using a console based interface called Turbo C++ editor.

Sample Image - tigergoat.jpg

Introduction

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.

Summary :

This program has :

Usage of Pointers

All basic constructs like switch.

Graphics functions

Handling Mouse using the OS based inrerrupts.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Srinivas Varukala

Web Developer

United States United States

Member

My name is Srinivas Varukala, a citizen of India.
I m pursuing my masters in CS in the US of A.
My interests r in:
C
C++
C#
Java n its variants.
My webspace: www.cs.odu.edu/~svarukal

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
QuestionWhy do you waste our time? PinmemberLumiart7:18 28 Mar '09  

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web04 | 2.5.120517.1 | Last Updated 10 Jul 2004
Article Copyright 2004 by Srinivas Varukala
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid