Skip to content

AndresZourelli/DungeonRun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DungeonRun

This is a Text-based game that allows the user to move through different rooms to get items and accomplish goals.

The program keeps track of user position, has an item inventory, the game has a time limit, and has a fun dungeon theme!

This was the final project for CS-162 (Intro to Computer Programming 2)

How to Run the Program?

Simply make a makefile with the following code included or run the included makefile

CXX = g++
CXXFLAGS = -std=c++0x
CXXFLAGS += -Wall
CXXFLAGS += -pedantic-errors
CXXFLAGS += -g


OBJS =  main.o checkInput.o chest.o deadend.o empty_room.o exit.o game.o inventory.o locked_door.o monster.o person.o space.o starting_room.o

SRCS = main.cpp checkInput.cpp chest.cpp deadend.cpp empty_room.cpp exit.cpp game.cpp inventory.cpp locked_door.cpp monster.cpp person.cpp space.cpp starting_room.cpp
 
HEADERS = checkInput.hpp chest.hpp deadend.hpp empty_room.hpp exit.hpp game.hpp inventory.hpp locked_door.hpp monster.hpp person.hpp space.hpp starting_room.hpp

OTHER = makefile Reflection.pdf

main: ${OBJS} ${HEADERS}
	${CXX} ${CXXFLAGS} ${OBJS} -o main

${OBJS}: ${SRCS}
	${CXX} ${CXXFLAGS} -c $(@:.o=.cpp)

clean:
	rm *.o main

zip:
	zip -D FinalProject_Zourelli_Fabian_Andres ${HEADERS} ${SRCS} ${OTHER}

Technologies Used

  • C++
  • Makefile

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published