Compare commits
No commits in common. "master" and "3c936687a3285bd5adb528710b021c4fe43f0f3a" have entirely different histories.
master
...
3c936687a3
12 changed files with 93 additions and 111 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +0,0 @@
|
||||||
TobeeRPG
|
|
2
Makefile
2
Makefile
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
#files to compile
|
#files to compile
|
||||||
|
|
||||||
OBJS = src/Main.cpp src/RPG.cpp
|
OBJS = src/main.cpp
|
||||||
|
|
||||||
#compiler to use
|
#compiler to use
|
||||||
|
|
||||||
|
|
19
README.md
19
README.md
|
@ -1,19 +1,16 @@
|
||||||
# TobeeRPG
|
This is game I made for my good friend Tobi
|
||||||
THIS GAME/CODE CONTAINS CURSE WORDS AND OTHER OBSCENITIES
|
To build you need git,make, and g++
|
||||||
|
|
||||||
</p>This is game I made for my good friend Tobi<p>
|
Building
|
||||||
</p>To build you need git, make, and g++<p>
|
|
||||||
|
|
||||||
## Building
|
1. git clone https://gitdab.com/Canneddonuts/Tobee_RPG
|
||||||
|
|
||||||
1. git clone https://gitdab.com/Canneddonuts/Tobee_RPG.git
|
|
||||||
2. cd Tobee_RPG
|
2. cd Tobee_RPG
|
||||||
3. make "or run the compileWindows.bat file on windows"
|
3. make
|
||||||
|
|
||||||
## To run
|
To run
|
||||||
|
|
||||||
### *nix
|
linux
|
||||||
./TobeeRPG
|
./TobeeRPG
|
||||||
|
|
||||||
### Windows
|
windows
|
||||||
TobeeRPG.exe
|
TobeeRPG.exe
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
@echo off
|
|
||||||
g++ src/Main.cpp src/RPG.cpp res/icon.o -o TobeeRPG.exe
|
|
BIN
res/icon.ico
BIN
res/icon.ico
Binary file not shown.
Before Width: | Height: | Size: 17 KiB |
BIN
res/icon.o
BIN
res/icon.o
Binary file not shown.
|
@ -1 +0,0 @@
|
||||||
MAIN ICON "icon.ico"
|
|
|
@ -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":[""]}}
|
|
Binary file not shown.
Before Width: | Height: | Size: 456 B |
29
src/Main.cpp
29
src/Main.cpp
|
@ -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 <iostream>
|
|
||||||
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
|
|
||||||
}
|
|
|
@ -1,3 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
void RPG();
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
/* This code has no license so you can do whatever you want with it.
|
||||||
|
made by M-C-O-B 2021
|
||||||
|
*/
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
@ -17,7 +21,7 @@ void RPG(){
|
||||||
cin >> UsrIn;
|
cin >> UsrIn;
|
||||||
if(UsrIn==1){
|
if(UsrIn==1){
|
||||||
cout << "Tobi used dick kick\n";
|
cout << "Tobi used dick kick\n";
|
||||||
BadGuyHP -= 2;
|
BadGuyHP -= 4;
|
||||||
cout << "BadDude says 'Ow My fuckin dick'\n";
|
cout << "BadDude says 'Ow My fuckin dick'\n";
|
||||||
} else if(UsrIn==2){
|
} else if(UsrIn==2){
|
||||||
cout << "BadDude used FUCKING LEAD TO THE HEAD!!!!!!\n";
|
cout << "BadDude used FUCKING LEAD TO THE HEAD!!!!!!\n";
|
||||||
|
@ -35,3 +39,21 @@ void RPG(){
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
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;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue