Skip to content
This repository has been archived by the owner. It is now read-only.
It's an assignment for the object orientated programming. This game is run in console
Branch: linux
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
achievement.cpp
achievement.h
getch.cpp
getch.h
hero.cpp
hero.h
information.cpp
information.h
kbhit.cpp
kbhit.h
main.cpp
map.h
message.cpp
message.h
monster.cpp
monster.h
mymap.cpp
mymap.h
room.cpp
room.h
shield.cpp
shield.h
shoe.cpp
shoe.h
weapon.cpp
weapon.h

README.md

EvilCastle_Console-Game

It's an assignment for the object orientated programming course. This game is run in console

Originally implemented in Windows with Visual Studio. This is a linux (MacOS) version. The kbhit() function is slightly different from Windows' so users might not be able to skip the combat.

Use the following command to compile and run:

git clone https://github.com/zeruniverse/EvilCastle_Console-Game.git

# compile the game
cd EvilCastle_Console-Game
g++ -o game *.cpp

# play
./game

For Windows version (compiled in Visual Studio), checkout the windows branch.

You can’t perform that action at this time.