Compare commits

..

No commits in common. "master" and "1.0.0" have entirely different histories.

8 changed files with 20 additions and 27 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
TobeeRPG

View file

@ -2,7 +2,7 @@
#files to compile
OBJS = src/Main.cpp src/RPG.cpp
OBJS = src/main.cpp src/TobeeRPG.h src/RPG.cpp
#compiler to use

View file

@ -1,19 +1,18 @@
# TobeeRPG
THIS GAME/CODE CONTAINS CURSE WORDS AND OTHER OBSCENITIES
</p>This is game I made for my good friend Tobi<p>
</p>To build you need git, make, and g++<p>
This is game I made for my good friend Tobi
To build you need git,make, and g++
## Building
Building
1. git clone https://gitdab.com/Canneddonuts/Tobee_RPG.git
1. git clone https://gitdab.com/Canneddonuts/Tobee_RPG
2. cd Tobee_RPG
3. make "or run the compileWindows.bat file on windows"
3. make
## To run
To run
### *nix
*nix
./TobeeRPG
### Windows
windows
TobeeRPG.exe

View file

@ -1,2 +1,2 @@
@echo off
g++ src/Main.cpp src/RPG.cpp res/icon.o -o TobeeRPG.exe
g++ src/main.cpp src/TobeeRPG.h src/RPG.cpp res/icon.o -o TobeeRPG.exe

View file

@ -1,4 +1,5 @@
#include <iostream>
#include "TobeeRPG.h"
using namespace std;
void RPG(){

View file

@ -1,3 +0,0 @@
#pragma once
void RPG();

1
src/TobeeRPG.h Normal file
View file

@ -0,0 +1 @@
void RPG();

View file

@ -1,14 +1,17 @@
/* This code has no license so you can do whatever you want with it.
made by M-C-O-B 2021
*/
#include <iostream>
#include "TobeeRPG.h"
using namespace std;
#include "RPG.h"
// makes a function called PrgEnd
void PrgEnd();
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;
@ -20,10 +23,3 @@ int main(){
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
}