Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,5 @@
*.exe
*.out
*.app
/Pokemon/.vs
Pokemon/.vs/Pokemon/v17/Browse.VC.db
Binary file not shown.
Binary file not shown.
Binary file removed Pokemon/.vs/Pokemon/v17/.suo
Binary file not shown.
Binary file removed Pokemon/.vs/Pokemon/v17/Browse.VC.db
Binary file not shown.
393 changes: 0 additions & 393 deletions Pokemon/.vs/Pokemon/v17/DocumentLayout.backup.json

This file was deleted.

37 changes: 0 additions & 37 deletions Pokemon/.vs/Pokemon/v17/DocumentLayout.json

This file was deleted.

Binary file removed Pokemon/.vs/Pokemon/v17/Solution.VC.db
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion Pokemon/Pokemon/x64/Debug/Pokemon.exe.recipe
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<Project>
<ProjectOutputs>
<ProjectOutput>
<FullPath>C:\Users\wasis\OneDrive\Desktop\My repos\Pokemon\Pokemon\x64\Debug\Pokemon.exe</FullPath>
<FullPath>C:\Users\wasis\Desktop\Project\Duck_Hunt\Pokemon\Pokemon\x64\Debug\Pokemon.exe</FullPath>
</ProjectOutput>
</ProjectOutputs>
<ContentFiles />
Expand Down
Binary file modified Pokemon/Pokemon/x64/Debug/Pokemon.ilk
Binary file not shown.
2 changes: 1 addition & 1 deletion Pokemon/Pokemon/x64/Debug/Pokemon.log
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
 main.cpp
Pokemon.vcxproj -> C:\Users\wasis\OneDrive\Desktop\My repos\Pokemon\Pokemon\x64\Debug\Pokemon.exe
Pokemon.vcxproj -> C:\Users\wasis\Desktop\Project\Duck_Hunt\Pokemon\Pokemon\x64\Debug\Pokemon.exe
Binary file modified Pokemon/Pokemon/x64/Debug/Pokemon.tlog/CL.command.1.tlog
Binary file not shown.
Binary file modified Pokemon/Pokemon/x64/Debug/Pokemon.tlog/CL.read.1.tlog
Binary file not shown.
Binary file modified Pokemon/Pokemon/x64/Debug/Pokemon.tlog/CL.write.1.tlog
Binary file not shown.
2 changes: 1 addition & 1 deletion Pokemon/Pokemon/x64/Debug/Pokemon.tlog/Cl.items.tlog
Original file line number Diff line number Diff line change
@@ -1 +1 @@
C:\Users\wasis\OneDrive\Desktop\My repos\Pokemon\Pokemon\main.cpp;C:\Users\wasis\OneDrive\Desktop\My repos\Pokemon\Pokemon\Pokemon\x64\Debug\main.obj
C:\Users\wasis\Desktop\Project\Duck_Hunt\Pokemon\Pokemon\main.cpp;C:\Users\wasis\Desktop\Project\Duck_Hunt\Pokemon\Pokemon\Pokemon\x64\Debug\main.obj
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.40.33807:TargetPlatformVersion=10.0.22621.0:
Debug|x64|C:\Users\wasis\OneDrive\Desktop\My repos\Pokemon\Pokemon\|
Debug|x64|C:\Users\wasis\Desktop\Project\Duck_Hunt\Pokemon\Pokemon\|
Binary file modified Pokemon/Pokemon/x64/Debug/Pokemon.tlog/link.command.1.tlog
Binary file not shown.
Binary file modified Pokemon/Pokemon/x64/Debug/Pokemon.tlog/link.read.1.tlog
Binary file not shown.
4 changes: 2 additions & 2 deletions Pokemon/Pokemon/x64/Debug/Pokemon.tlog/link.secondary.1.tlog
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
^C:\USERS\WASIS\ONEDRIVE\DESKTOP\MY REPOS\POKEMON\POKEMON\POKEMON\X64\DEBUG\MAIN.OBJ
C:\Users\wasis\OneDrive\Desktop\My repos\Pokemon\Pokemon\Pokemon\x64\Debug\Pokemon.ilk
^C:\USERS\WASIS\DESKTOP\PROJECT\DUCK_HUNT\POKEMON\POKEMON\POKEMON\X64\DEBUG\MAIN.OBJ
C:\Users\wasis\Desktop\Project\Duck_Hunt\Pokemon\Pokemon\Pokemon\x64\Debug\Pokemon.ilk
Binary file modified Pokemon/Pokemon/x64/Debug/Pokemon.tlog/link.write.1.tlog
Binary file not shown.
Binary file modified Pokemon/Pokemon/x64/Debug/vc143.idb
Binary file not shown.
Binary file modified Pokemon/Pokemon/x64/Debug/vc143.pdb
Binary file not shown.
65 changes: 63 additions & 2 deletions Pokemon/main.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,73 @@
#include <iostream>
using namespace std;

enum class PokemonChoice {
Charmander,
Bulbasaur,
Squirtle,
InvalidChoice
};

int main() {

PokemonChoice chosen_pokemon = PokemonChoice::InvalidChoice;

string name;

cout << "enter your name: ";
int choice;

cout << "Professor Oak: Hello there! Welcome to the world of Pokemon!\n";
cout << "Professor Oak: My name is Oak. People call me the Pokemon Professor!\n";

cout << "Professor Oak: But enough about me. Let's talk about you!\n";

cout << "Professor Oak: First, tell me, what�s your name?\n";
cin >> name;
cout << "Congrats " << name << "! Welcome to the game!\n";
cout << "Professor Oak: Ah, " << name<< "! What a fantastic name!\n";
cout << "Professor Oak: You must be eager to start your adventure. But first, you will need a Pokemon of your own!\n";

cout << "Professor Oak: I have three Pokemon here with me. They are all quite feisty!\n";
cout << "Professor Oak: Choose wisely...\n";
cout << "1. Charmander - The fire type. A real hothead!\n";
cout << "2. Bulbasaur - The grass type. Calm and collected!\n";
cout << "3. Squirtle - The water type. Cool as a cucumber!\n";

cin >> choice;

switch (choice) {
case 1:
chosen_pokemon = PokemonChoice::Charmander;
break;
case 2:
chosen_pokemon = PokemonChoice::Bulbasaur;
break;
case 3:
chosen_pokemon = PokemonChoice::Squirtle;
break;
default:
chosen_pokemon = PokemonChoice::InvalidChoice;
break;
}

switch (chosen_pokemon) {
case PokemonChoice::Charmander:
cout << "Professor Oak: A fiery choice! Charmander is yours!\n";
break;
case PokemonChoice::Bulbasaur:
cout << "Professor Oak: A fine choice! Bulbasaur is always ready to grow on you!\n";
break;
case PokemonChoice::Squirtle:
cout << "Professor Oak: Splendid! Squirtle will keep you cool under pressure!\n";
break;
default:
cout << "Professor Oak: Hmm, that doesn't seem right. Let me choose for you...\n";
chosen_pokemon = PokemonChoice::Charmander;
cout << "Professor Oak: Just kidding! Let's go with Charmander, the fiery dragon in the making!\n";
break;
}

cout << "Professor Oak: " << (chosen_pokemon == PokemonChoice::Charmander ? "Charmander" : chosen_pokemon == PokemonChoice::Bulbasaur ? "Bulbasaur" : "Squirtle") << " and you, " << name << ", are going to be the best of friends!\n";
cout << "Professor Oak: Your journey begins now! Get ready to explore the vast world of Pokemon!\n";

return 0;
}
Binary file modified Pokemon/x64/Debug/Pokemon.pdb
Binary file not shown.