Compare commits
1 commit
Author | SHA1 | Date | |
---|---|---|---|
cdf022c8ce |
8 changed files with 27 additions and 20 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
TobeeRPG
|
2
Makefile
2
Makefile
|
@ -2,7 +2,7 @@
|
|||
|
||||
#files to compile
|
||||
|
||||
OBJS = src/main.cpp src/TobeeRPG.h src/RPG.cpp
|
||||
OBJS = src/Main.cpp src/RPG.cpp
|
||||
|
||||
#compiler to use
|
||||
|
||||
|
|
17
README.md
17
README.md
|
@ -1,18 +1,19 @@
|
|||
# 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++
|
||||
</p>This is game I made for my good friend Tobi<p>
|
||||
</p>To build you need git, make, and g++<p>
|
||||
|
||||
Building
|
||||
## Building
|
||||
|
||||
1. git clone https://gitdab.com/Canneddonuts/Tobee_RPG
|
||||
1. git clone https://gitdab.com/Canneddonuts/Tobee_RPG.git
|
||||
2. cd Tobee_RPG
|
||||
3. make
|
||||
3. make "or run the compileWindows.bat file on windows"
|
||||
|
||||
To run
|
||||
## To run
|
||||
|
||||
*nix
|
||||
### *nix
|
||||
./TobeeRPG
|
||||
|
||||
windows
|
||||
### Windows
|
||||
TobeeRPG.exe
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
@echo off
|
||||
g++ src/main.cpp src/TobeeRPG.h src/RPG.cpp res/icon.o -o TobeeRPG.exe
|
||||
g++ src/Main.cpp src/RPG.cpp res/icon.o -o TobeeRPG.exe
|
||||
|
|
|
@ -1,17 +1,14 @@
|
|||
/* 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;
|
||||
|
||||
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
|
||||
}
|
||||
#include "RPG.h"
|
||||
|
||||
|
||||
// makes a function called PrgEnd
|
||||
void PrgEnd();
|
||||
|
||||
int main(){
|
||||
cout << "Tobi was walking home from his long ass walk" << endl;
|
||||
|
@ -23,3 +20,10 @@ 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
|
||||
}
|
|
@ -1,5 +1,4 @@
|
|||
#include <iostream>
|
||||
#include "TobeeRPG.h"
|
||||
using namespace std;
|
||||
|
||||
void RPG(){
|
||||
|
|
3
src/RPG.h
Normal file
3
src/RPG.h
Normal file
|
@ -0,0 +1,3 @@
|
|||
#pragma once
|
||||
|
||||
void RPG();
|
|
@ -1 +0,0 @@
|
|||
void RPG();
|
Loading…
Reference in a new issue