Skip to content

octalsrc/c-maze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

 //////////////////////////////
 //                          //
 //         C - Maze         //
 //                          //
 //////////////////////////////

 Not the most glamorous name..

 This is rewritten from a java/swing game I made for a class project, mostly
 as a bit of practice in learning the C language (and SDL!)

 It now has a random maze generator (!) and keyboard controls to set it apart
 from the original, but I haven't added any kind of dialog boxes to explain
 the "story" or congratulate you on your success.

 Dependancies:
    
    make, gcc, SDL2, SDL2_image

 Objective:
    
    Find the fabled *Eye of the Pharaohs* before your flashlight dies


 Controls:
    
    WASD (or arrow keys) for turning and movement

    SPACE to run

    F to toggle flashlight between low and high power

    ESC (or q) to quit (or just close the window)

 
 Things I'd like to add:

    cleaner code
        This is the first thing I've written in C, and I had no idea how
        to organize things.

    animations

    items/powerups
        Flashlight batteries might be a good place to start

    multiple levels

    story?

    monsters?
        really this could become a rogue-like pretty easily

About

A simple generated maze-crawler written in C using SDL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published