Project specs: The following will be graded on the use of each of theseconcepts
ID: 3618554 • Letter: P
Question
Project specs:
The following will be graded on the use of each of theseconcepts from each chapter within your program:
Points available:
Effect use of variables and types---------------------------------10
If Statements / Loops-----------------------------------------------10
For Loops / Strings---------------------------------------------------10
Vectors / Iterators---------------------------------------------------10
Functions--------------------------------------------------------------10
References------------------------------------------------------------20
Classes-----------------------------------------------------------------20
Dynamic Memory /Pointers--------------------------------------20
Polymorphism-------------------------------------------------------10
Total for chapters:---------------------------------------------------------------------------110
The following will be graded on the performance of yourgame:
Runs completely without crashing-----------------------------40
Game interface is intuitive and easy touse------------------35
Creativity / fun to play---------------------------------------------15
Total for performance:---------------------------------------------------------------------90
Total for project:-----------------------------------------------------------------------------200
Presenting your project to theclass:---------------------------------------------------25
Explanation / Answer
please rate - thanks like I said I don't know Vectors, Dynamic Memory /Pointers, Polymorphism you'll have to add those but this should get you started #include #include #include using namespace std; class player {private: int spot; public: void move(int n); player() {spot=0; } int getspot() {returnspot; } void update(int n) {spot+=n; } void setspot(int n) {spot=n; } }; int throwdice(); void playermove(player&,int); void spinwheel(player&); void pickcard(player&,int&); void moveit(player&,int); int main() {int card[]={-9,0,-3,-8,2,1,3,0,2,6}; int spin[]={1,-4,2,-6,-9,0,-8,-7}; player a[2]; int cardpt=0,i; bool gameover=false; srand(time(0)); do { for(i=0;iRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.