Skip to content

A dungeon crawler top down terminal game developed from scratch in C++ using ncurses

License

Notifications You must be signed in to change notification settings

5okin/Bob-Potter-the-last-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bob Potter, the last challenge.

Bob Potter, the last challenge is a dungeon crawler top down terminal game developed from scratch in C++ only using ncurses.

Goal

Bob Potter has to go through a series of dark mysterious dungeon collecting all the jewels to reveal the magic parchment, while avoiding the gnomes and trolls that protect them.


Features

The game has a number of feautres including:

  • Real time gameplay.
  • High score tracking.
  • Dynamic window resizing.
  • Harder gameplay as you progress the levels.
  • Create and play your own maps.

Screenshots

Welcome Screen Game End screen


Installing

Dependencies

You need GCC and ncurses to make this project.


Compiling

In order to compile, you have to run make from the /src directory.

cd Bob_Potter/src && make

Running

After compiling run the ./bobpotter file giving the the name of the map you want to play, which should be in the /maps directory and the name of the highscore .bat file.

Example:

./output map1 highscore

Maps

Any maps you create can be saved without a file extension. They must be added to the /maps directory, upon launch you have to specify the name of the map you wish to play on.

The maps are created using space ( ) as roads and asterisk (*) as walls.

************************************************************
*           *              *          *     *            * *
****** * ** * ************ * **** *** * ***   *** **     * *
*    * * **                                 *     **       *
*           ****** * ***** * **** *** ***** ***** **     * *
************************************************************

Highscore

The highscores file is a .dat binary file (dont ask why) it could be empty or full of scores but it must exist on runtime. If it doesnt just create a empty .dat file using:

touch highscore.dat

About

A dungeon crawler top down terminal game developed from scratch in C++ using ncurses

Topics

Resources

License

Stars

Watchers

Forks