Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
IM SORRY KYLE FOR WORKING OVER YOUR STUFF
AT LEAST I IMPLEMENTED COMBAT IF YOU HIT THE GOBLIN FROM THE RIGHT HAHA FUNNY RIGHT? SO IT WORKS AND WHEN YOU ATTACK HIM TWICE HE GOES POOF BUT IT ONLY WORKS ON THAT ONE SPECIFIC GOBLIN IT DOESN'T WORK IF YOU MAKE ANY OTHERS ANYWAY IT STILL WORKS AS A PROTOTYPE SO I'LL GET WORKING ON IT TOMORROW IF EVERYONE IS COOL WITH IT
- Loading branch information
Showing
4 changed files
with
58 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#include <iostream> | ||
#include <fstream> | ||
using namespace std; | ||
|
||
void saveGame(){ | ||
ofstream outFile; | ||
outFile.open("sample.txt"); | ||
outFile << "This is a test."; | ||
outFile.close(); | ||
} | ||
|
||
/* | ||
int main () { | ||
ofstream myfile; | ||
myfile.open ("example.txt"); | ||
myfile << "Writing this to a file.\n"; | ||
myfile.close(); | ||
return 0; | ||
} | ||
*/ | ||
|