C++
Joust
Attached Files:
·
projectj_handouts.pdf (65.976 KB)
Description
You are developers at a game company and have been asked to do some initial development for the resident game designers. The relevant documents for this project can be found in the attached file.
Process
The joust project will be analyzed and designed in class. Each student must individually code their own solution.
Submission
Your .cpp, .h, and Makefile should be bundled together in a gzipped tarball for submission
tar czv *.h *.cpp Makefile >project2.tar.gz
Random
Attached Files:
· Randfiles.tar.gz (562 B)
To generate random numbers, a Random class (Random.h, Random.cpp) has been provided in the attached tarball. To extract the tarball type:
tar zxv <Randfiles.tar.gz
Example of use:
Random r(1,100); //creates 'r'. This variable can generate random numbers between 1-100
int rn=r.get(); //generate a random number and assign it to rn
Submit gzipped tarball of your source files and Makefile (do not include .o files or executables).
tar czv *.h *.cpp Makefile >project2.tar.gz