Arena of Doom:

Program Source Code



How are video games created? Creating video games, of course, involves lots of programming. 'Programming', if you didn't already know, is the process of how a person assembles the instructions and commands that tell a computer how to accomplish a specific task. Programming consists of 2 main components: variables and code. Variables are the entities within which information is stored. Code, on the other hand, consists of the instructions that act upon the variables. What did creating Arena of Doom involve? Arena of Doom involved a special type of programming called object-oriented programming ("OOP"). What sets apart object-oriented programming from average, everyday, standard programming? OOP is far superior to the regular programming approach. OOP, however, does not discard the use of "structured" programming (the 'standard' means of programming just mentioned), but rather takes over where structured programming leaves off.

In what way is OOP superior to "structured" programming? OOP is superior to normal "structured" programming not in the sense that OOP code can perform tasks that structured programming can't, but is superior rather because of how it organizes its code and variables. The manner in which OOP code and variables is organized, you see, has a very direct, noticable effect upon how easy programs are to update, modify, and maintain. How, then, does OOP work? Understanding how OOP works means understanding the 3 fundamental concepts that make OOP what it is. These concepts are referred to by the terms encapsulation, inheritance, and polymorphism. All 3 of these programming techniques are made use of, as one will find, in the downloadable Arena of Doom program source code.




C++ is an object-oriented programming language, and is the object-oriented programming language in which Arena of Doom is written. In fact, most video games are written using object-oriented programming, because the manner in which video games are required to be assembled happens to be highly compatible with the interface that object-oriented programming provides.

Arena of Doom was compiled using Microsoft Visual C++ 1.52. Later versions of Microsoft Visual C++, however, may not be capable of compiling the downloadable source code. C++ compilers made by other companies, in turn, may not be able to compile the source code either. However, this is not an issue, because a compiled copy of the game is made available. It must be realized, then, that the purpose of offering the downloadable source code is not so that it can be recompiled, but rather so that those who view it can learn of the details behind how the game works, obtain a greater knowledge of C++, and perhaps use that knowledge for their own programming purposes.

The 2 main files the Arena of Doom source code consists of are ARENA.CPP and ARENA.H. ARENA.CPP, first of all, is the file that contains a copy of the main C++ game source code. ARENA.H, in turn, is the file that contains information vital to the assembling-together of ARENA.CPP. If you desire to obtain a quick summary of the program behind Arena of Doom, refer to ARENA.H. If you desire to learn of the involved details of how the Arena of Doom program works (recommended for those who know C++), on the other hand, refer to ARENA.CPP.

Do you desire to view a copy of the Arena of Doom source code, or possibly even download it to your hard drive? There exists a site separate from this one designated for those very purposes. Click on the link below to go there. Once you arrive there, first view the code using your Internet browser. If the code is meaningful to you, by all means consider downloading it, so that you can refer to it even when not online.



to source code download site



If it was your wish, you should now have a viewable copy of the Arena of Doom source code on your hard drive.





Click arrow to return to Arena of Doom main page.

Comments, questions, feedback: [email protected]
Hosted by www.Geocities.ws

1