diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 5ccfea4..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -TobeeRPG diff --git a/Makefile b/Makefile index d277d1a..15ae2f3 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,18 @@ -#COPYRIGHT no one cares lol - -#files to compile - -OBJS = src/Main.cpp src/RPG.cpp - -#compiler to use - -CC = g++ - -#name of muh bin lel - -OBJ_NAME = TobeeRPG - -#no regerts cuz its all together now - -all : $(OBJS) - $(CC) $(OBJS) -o $(OBJ_NAME) +#COPYRIGHT no one cares lol + +#files to compile + +OBJS = src/main.cpp + +#compiler to use + +CC = g++ + +#name of muh bin lel + +OBJ_NAME = TobeeRPG + +#no regerts cuz its all together now + +all : $(OBJS) + $(CC) $(OBJS) -o $(OBJ_NAME) diff --git a/README.md b/README.md index b1a7e0a..7d65abc 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,16 @@ -# TobeeRPG -THIS GAME/CODE CONTAINS CURSE WORDS AND OTHER OBSCENITIES - -

This is game I made for my good friend Tobi

-

To build you need git, make, and g++

- -## Building - -1. git clone https://gitdab.com/Canneddonuts/Tobee_RPG.git -2. cd Tobee_RPG -3. make "or run the compileWindows.bat file on windows" - -## To run - -### *nix -./TobeeRPG - -### Windows -TobeeRPG.exe +This is game I made for my good friend Tobi +To build you need git,make, and g++ + +Building + +1. git clone https://gitdab.com/Canneddonuts/Tobee_RPG +2. cd Tobee_RPG +3. make + +To run + +linux +./TobeeRPG + +windows +TobeeRPG.exe diff --git a/compileWindows.bat b/compileWindows.bat deleted file mode 100644 index b901db4..0000000 --- a/compileWindows.bat +++ /dev/null @@ -1,2 +0,0 @@ -@echo off -g++ src/Main.cpp src/RPG.cpp res/icon.o -o TobeeRPG.exe diff --git a/res/icon.ico b/res/icon.ico deleted file mode 100644 index 6eb4ad1..0000000 Binary files a/res/icon.ico and /dev/null differ diff --git a/res/icon.o b/res/icon.o deleted file mode 100644 index a9e944c..0000000 Binary files a/res/icon.o and /dev/null differ diff --git a/res/main.rc b/res/main.rc deleted file mode 100644 index 93c631f..0000000 --- a/res/main.rc +++ /dev/null @@ -1 +0,0 @@ -MAIN ICON "icon.ico" \ No newline at end of file diff --git a/res_src/Tobi RPG Ico-20210812-132500.piskel b/res_src/Tobi RPG Ico-20210812-132500.piskel deleted file mode 100644 index bb7e4fa..0000000 --- a/res_src/Tobi RPG Ico-20210812-132500.piskel +++ /dev/null @@ -1 +0,0 @@ -{"modelVersion":2,"piskel":{"name":"Tobi RPG Ico","description":"","fps":12,"height":64,"width":64,"layers":["{\"name\":\"Layer 1\",\"opacity\":1,\"frameCount\":1,\"chunks\":[{\"layout\":[[0]],\"base64PNG\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAABj0lEQVR4nO3b0a7DIAgGYOve/5Gb7qpL09opP6AiXJBsOajsG9ouzUmfbTvOyJfXpfePSJW/VyIzx7MjbUcaWoAQ5BnHvv+idUy6D2wJTQzO+gFQySltuaUAkHicAZILIcW/5ZoC0GhjEwDUrVRaYykAJMcsAGWv/8tdAoCTzwFAahcBkEQLAPDwDIAAWBCgnp/mAEDGIYfdtB1Qal001yxAK0ItZykA5DAzDUCBaBlrFuAfBGXMEIDRgW4dNwBo95gBqEG4AeCiBUAABIA/ACQCYOTi1cfv2jHN4/GZO4D7605jLolaTAJI1qIGIPHNTQvAzePmINf5ZQCQb7cbALIFAoABIPXhVQC05kIOR3GAt0lnBWhZD7oMIu3fWqgJgOuEPQCord0F4JyUW5gGAGXLid4JShTUexz5KjAaAA0xAO2W7AuQ8PsABAEFkEAQ7YC3gjQBtIJ1J0hFWA6AirAkQAnBHQACNfqDNwNIhnuA2SJ7B3DfAQHgHSDOgAC4/Roc/t/cnSN7fzyet3R8AR1BzJlVyvHgAAAAAElFTkSuQmCC\"}]}"],"hiddenFrames":[""]}} \ No newline at end of file diff --git a/res_src/Tobi RPG Ico.png b/res_src/Tobi RPG Ico.png deleted file mode 100644 index 94ba3ff..0000000 Binary files a/res_src/Tobi RPG Ico.png and /dev/null differ diff --git a/src/Main.cpp b/src/Main.cpp deleted file mode 100644 index c107a5b..0000000 --- a/src/Main.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/* This code has no license so you can do whatever you want with it. - made by M-C-O-B 2021 - */ -#include -using namespace std; - -#include "RPG.h" - - -// makes a function called PrgEnd -void PrgEnd(); - -int main(){ - cout << "Tobi was walking home from his long ass walk" << endl; - cout << "Then FROM OUTTA NOWHERE HE GOT JUMPED BY SOME ASSHOLE\n" << endl; - cout << "To play just type a number then hit enter" << endl; - cout << "Oh yeah if you type a letter the game fuckin breaks, enjoy\n" << endl; - RPG(); - cout << "Happy Birthday Tobi\n"; - PrgEnd(); - return 0; -} - -void PrgEnd(){ - string Name; // this makes a string called name - cout << "To exit the program please type your name: "; - cin >> Name; // this gets what you typed - cout << "Thanks for playing: " << Name << endl;// this displays what you type -} diff --git a/src/RPG.h b/src/RPG.h deleted file mode 100644 index 44d5b82..0000000 --- a/src/RPG.h +++ /dev/null @@ -1,3 +0,0 @@ -#pragma once - -void RPG(); diff --git a/src/RPG.cpp b/src/main.cpp similarity index 58% rename from src/RPG.cpp rename to src/main.cpp index 9241c39..840a987 100644 --- a/src/RPG.cpp +++ b/src/main.cpp @@ -1,37 +1,59 @@ -#include -using namespace std; - -void RPG(){ - int TobiHP = 10; - int BadGuyHP = 5; - // makes a variable for user input - int UsrIn; - cout << "'GIMME YO FUCKIN' MONEY' said the badguy\n"; - cout << "You need to help him\n"; - // this is an infinite loop - while (true){ - cout << "Tobi's HP is: " << TobiHP << endl; - cout << "BadDude's HP is: " << BadGuyHP << endl; - cout << "You can type 1 to kick the guys dick or type 2 to do nothing: "; - // this reads the number you typed and then writes it to the variable UsrIn - cin >> UsrIn; - if(UsrIn==1){ - cout << "Tobi used dick kick\n"; - BadGuyHP -= 2; - cout << "BadDude says 'Ow My fuckin dick'\n"; - } else if(UsrIn==2){ - cout << "BadDude used FUCKING LEAD TO THE HEAD!!!!!!\n"; - TobiHP -= 999999; - cout << "BadDude says 'Fuckin loser scrub cunt wanker bitch'\n"; - } - if (TobiHP<=0) { - cout << "Tobi fucking died 'Best ending' \n" << endl; - // break ends the loop - break; - } else if (BadGuyHP<=0) { - cout << "Tobi killed a man 'Good ending' \n" << endl; - break; - } - } - -} +/* This code has no license so you can do whatever you want with it. + made by M-C-O-B 2021 + */ + +#include +using namespace std; + +void RPG(){ + int TobiHP = 10; + int BadGuyHP = 5; + // makes a variable for user input + int UsrIn; + cout << "'GIMME YO FUCKIN' MONEY' said the badguy\n"; + cout << "You need to help him\n"; + // this is an infinite loop + while (true){ + cout << "Tobi's HP is: " << TobiHP << endl; + cout << "BadDude's HP is: " << BadGuyHP << endl; + cout << "You can type 1 to kick the guys dick or type 2 to do nothing: "; + // this reads the number you typed and then writes it to the variable UsrIn + cin >> UsrIn; + if(UsrIn==1){ + cout << "Tobi used dick kick\n"; + BadGuyHP -= 4; + cout << "BadDude says 'Ow My fuckin dick'\n"; + } else if(UsrIn==2){ + cout << "BadDude used FUCKING LEAD TO THE HEAD!!!!!!\n"; + TobiHP -= 999999; + cout << "BadDude says 'Fuckin loser scrub cunt wanker bitch'\n"; + } + if (TobiHP<=0) { + cout << "Tobi fucking died 'Best ending' \n" << endl; + // break ends the loop + break; + } else if (BadGuyHP<=0) { + cout << "Tobi killed a man 'Good ending' \n" << endl; + break; + } + } + +} + +void PrgEnd() { + string Name; // this makes a string called name + cout << "To exit the program please type your name: "; + cin >> Name; // this gets what you typed + cout << "Thanks for playing: " << Name << endl;// this displays what you type +} + +int main(){ + cout << "Tobi was walking home from his long ass walk" << endl; + cout << "Then FROM OUTTA NOWHERE HE GOT JUMPED BY SOME ASSHOLE\n" << endl; + cout << "To play just type a number then hit enter" << endl; + cout << "Oh yeah if you type a letter the game fuckin breaks, enjoy\n" << endl; + RPG(); + cout << "Happy Birthday Tobi\n"; + PrgEnd(); + return 0; +}