Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
C
cptr142_group_project
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Aaron Sturtevant
cptr142_group_project
Commits
6c1f0a9e
Commit
6c1f0a9e
authored
Mar 19, 2018
by
Aaron Sturtevant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commiting
parent
1fde9a21
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
13 deletions
+43
-13
Dungeon.h
Dungeon.h
+5
-0
INSTRUCTIONS.md
INSTRUCTIONS.md
+0
-0
SPECIFICATIONS.md
SPECIFICATIONS.md
+4
-4
main.cpp
main.cpp
+17
-9
test.cpp
test.cpp
+17
-0
No files found.
Dungeon.h
View file @
6c1f0a9e
#ifndef DUNGEON_H
#define DUNGEON_H
#include <iomanip>
#include <iostream>
#include <stdlib.h>
...
...
@@ -24,3 +27,5 @@ class Dungeon {
void
giveMonsterItems
(
int
encounterNum
,
Inventory
inventory
);
};
#endif
INSTRUCTIONS.md
0 → 100644
View file @
6c1f0a9e
SPECIFICATIONS.md
View file @
6c1f0a9e
...
...
@@ -15,11 +15,11 @@
*
Random Rooms - Semi-random(seed), Table of encounters - certain numbers correspond to certain contents of a room
*
___Project Management Plan___
*
Aaron Sturtevant - Dungeon Class - 3/4/2018
Save Data Read
ing - 3/9/2018
*
Eli Chung -
Items Class - 3/4/2018 / Menu's - 3/9
/2018
*
Aaron Sturtevant - Dungeon Class - 3/4/2018
Instructions and General Edit
ing - 3/9/2018
*
Eli Chung -
Save Data / Menu's - 3/18
/2018
*
Kameron Kinsey - Player Class - 3/4/2018/ Monsters Class - 3/9/2018
*
Milwaukee -
Help people in general - (late add in)
*
Milwaukee -
Items Class / Creative Content 3/4/2018
*
Everyone - Modifier functions for each class/ making the classes read to each other - 3/11/2018
*
Everyone -
The .cpp and .h file
for the game - 3/16/2018
*
Everyone -
All the .cpp and .h files
for the game - 3/16/2018
main.cpp
View file @
6c1f0a9e
...
...
@@ -10,6 +10,10 @@
#include "Dungeon.h"
using
namespace
std
;
void
introMenu
();
void
ingameMenu
();
int
main
()
{
Dungeon
*
dungeonPtr
=
new
Dungeon
;
...
...
@@ -20,22 +24,15 @@ int main() {
bool
playerWon
=
false
;
bool
playerVictory
=
false
;
// if(check for no save data){
int
seed
;
cout
<<
"Enter a seed: "
;
cin
>>
seed
;
// Set Stats
showMenu
();
introMenu
();
player
.
setPlayerName
(
name
);
player
.
setStats
(
seed
);
// }else{
while
(
playerVictory
==
false
){
//floor 1-3
...
...
@@ -161,4 +158,15 @@ int main() {
delete
playerPtr
;
return
0
;
}
void
introMenu
()
{
cout
<<
"Welcome to DunGen::theExperience()!"
<<
endl
;
cout
<<
"You will be diving into the most interesting dungeon around,"
<<
" so good luck fighting, talking or fleeing like a little baby!"
<<
endl
;
}
void
ingameMenu
()
{
cout
<<
"--------------------------------"
<<
endl
;
cout
<<
endl
;
}
\ No newline at end of file
test.cpp
0 → 100644
View file @
6c1f0a9e
#include <cstring>
#include <string>
#include <cstdlib>
#include <iostream>
#include <iomanip>
#include "Player.h"
#include "Boss.h"
#include "Monster.h"
#include "Inventory.h"
#include "Dungeon.h"
using
namespace
std
;
Player
player
;
player
.
setPlayerName
(
"Geoff"
);
cout
<<
player
.
getPlayerName
<<
endl
;
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment