Design Game Project with C++ language , Source Code Free & the Game project name is Turn Based Battle Project System in C++ programming language with source code free!.

Read More : Design Game Project in Android Studio

More: Game using programming language

For More : Create Game in C++ language,Piano game



<img src="GAMe (1).png" alt="game project pic"/>

Source Code

 #include <iostream.h>  
 #include <stdlib.h>  
 #include <stdio.h>  
 int hp = 20, mp = 20, ehp = 35, move; 
 
 void lose (void)  
 {  
     cout << "You lose." << endl;  
     hp = 20;  
     mp = 20;  
     ehp = 20;  
     }  
 
 void win (void)  
 {  
     cout << "You win." << endl;  
     hp = 20;  
     mp = 20;  
     ehp = 20; 
 } 
 
 
 int main()  
 {    
 label: 
 cout << "ehp: " << ehp << endl << "hp: "  << hp << endl << "mp: " << mp << endl  << "(1) Attack" << endl << "(2) Magic Missle"  <<endl << "(3) Summon" << endl;  
     cin >> move;   
     system("cls");  
     cout << "Status:" << endl; 
 
     if (move == 1)  
     { 
         cout << "You sliced the enemy with your sword." << endl;  
         ehp -= 1;   
         if (ehp < 0)  
 {  
     win();   
     return 0; 
 }  
 
 if (hp < 0)  
 {  
     lose();   
     return 0; 
 } 
     cout << "The enemy cast a Magic Missle." << endl << endl;  
     hp -= 2;  
     }  
 
     if (move == 2)  
     {  
     cout << "You cast a devistating Magic Missle." << endl;  
         ehp -= 2;  
         mp -= 1;  
         if (ehp < 0)  
 {  
     win();   
     return 0; 
 }  
 
 if (hp < 0)  
 {  
     lose();   
     return 0; 
 } 
     cout << "The enemy used his sword." << endl << endl;  
         hp -= 1;  
     }    
 
     if (move == 3)  
     {  
     cout << "You summoned Ultima!" << endl;  
         ehp -= 10;  
         mp -= 15;   
         hp -= 1; 
         if (ehp < 0)  
 {  
     win();   
     return 0; 
 }  
 
 if (hp < 0)  
 {  
     lose();   
     return 0; 
 } 
     cout << "The enemy used his sword." << endl << endl;  
     hp -= 1;  
     }   
     
     goto label; 
 } 
                 

Read More : >>>>>

Design Spinner Bottle Game With Source Code Step wise by using Android Studio and download this Spinner Bottle game app for Design First Open Android Studio .

A simple Bottle Spinner Game app For Entertainment nothing more nothing less. deepcrazyworld.com is an online learning.
deepcrazyworld is an online learning Platform with the help of various videos and blogs.
with free courses, all blogs are high demanded in today’s and explore your knowledge.
Search for deepcrazyworld.com in online with free .

1.Open Android Studio

2. Select Empty Project With min Sdk Version 15

3. Put This given XML Source Code for Designing Purpose .

4. Place This Given Main Activity code for Processing

5. Download Images For Spinner Bottle need Two Images Bottle And Surface Image

6. There is No Change in Manifest File .

7. After Download This Zip File , Than Require Unzip This File .

Download Images Click Here >>>>>>>>


Visit my Google Play Store Apps Click on this Link

Visit For Browser 5 G App On google Play Store>>>>>>>>>>

This My Creative App Click on DeepCrazyWorld App>>>>>>>>>>>

To Solve Your Math Calculation Math Solve App >>>>>

Spinner Bottle Game App>>>>>>>>>>>>>>>>>>>>>

This News Nation App News7on>>>>>>>>>>>>>>

Shopping App ZampKart >>>>>>>>>>>>>>>>>>>

Math Equation Solving App>>>>>>>>>>>>>>>>>>>

Event Basis Picture LovingCaring143 App>>>>>>>>>

Here This Blogger Site App to Explore Your Knowledge Download all this Apps By Google Play Store My Blogger Site App Download And InstallParagraph

Click on Link CrazyCoder>>>>>>>>>>
Flying Fish Video Game Visit Here >>>>>>

Download Complete Project Click Here >>>>>

8. Run The Project .

Please follow and like us:
0
20
fb-share-icon20

1 Comment

Create Game using C++ Language - source code Free! · February 10, 2020 at 5:34 pm

[…] Read More :Game Project […]

Leave a Reply

Your email address will not be published. Required fields are marked *