Skip to content
/ RPG-41 Public

Created an RPG style game inspired by Legend of Zelda, by randomly generating a map with dungeons and monsters. The game also had the ability to save hero stats and world info, by writing to a save file, and then reading from it, allowing the user to pause their program and resume it later from the same point

Notifications You must be signed in to change notification settings

H2Shami/RPG-41

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

===================
 ____  ____   ____
|  _ \|  _ \ / ___|
| |_) | |_) | |  _
|  _ <|  __/| |_| |
|_| \_\_|    \____|

===================

Turn based RPG - CSCI 41 Version

One letter grade is available for each of these bullet points implemented. If
you do only part of a bullet point, you will get a half grade.

Words in all caps are the things you will be graded on. Everything else is a
detail that you can change however you want.

1) Must have a FUNCTIONAL WORLD MAP that shows a view of the game world.
Must be able to WALK the heroes around the world map and PICK UP TREASURE,
BOUNCE OFF OBSTACLES, and FIGHT monsters by walking over them.
You must be able to BEAT THE GAME.

2) Must have a class for HEROES and MONSTERS, using PROPER CLASS DESIGN. Must
have things like health, attack value, defense value, special abilities, and SPEED.
You can design these things however you want, only SPEED is required.

3) All heroes & monsters must be held in a DATA STRUCTURE of some sort. You Must LOAD
heroes, monsters, and state of the world at launch, and SAVE it at program quit.
You must write a New Game function that will reset the world to the start.

4) When walking over a monster, switch to a combat screen. Must use a circular
linked list to keep track of whose turn it is. They will be originally
inserted into the CIRCULAR LINKED LIST in order of their SPEED stat. In other
words, if you have the following heroes: Bob (Speed 10), Cindy (Speed 15),
Charlie (Speed 8), and the following monsters: Leila (Speed 12), Johnson
(Speed 9), and Cthulu (Speed 1), then the circular linked list will look like
this at the beginning of the combat:
Cindy, Leila, Bob, Johnson, Charlie, Cthulu

So Cindy will go first, followed by Leila, followed by Bob, etc. Once Cthulu
goes, then it is Cindy's turn again.

When someone is killed in combat, you can either delete them from the circular
linked list, or you can mark them as dead, and then just skip their turn. End
combat once all heroes or monsters are dead.

5) You must visualize the turn order using BRIDGES. Look at the bridges_demo
directory on instructions on getting set up with BRIDGES and sample code.

About

Created an RPG style game inspired by Legend of Zelda, by randomly generating a map with dungeons and monsters. The game also had the ability to save hero stats and world info, by writing to a save file, and then reading from it, allowing the user to pause their program and resume it later from the same point

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published