Table of Contents
- Ncurses
- C
- A lot of coffee
In order to compile and play edgerunner, you'll need the ncurses library installed on your computer. You'll also need the gcc compiler, gnu make and a shell language.
Most distros provide a package for the library. On some distros (notably gentoo), you'll have to replace the
-lcurses
flag by
-lncurses -ltinfo
in the src/makefile file.
The only dependency that you might not have on you distro is ncurses. I don't guarantee that the code will work with a very old version of gcc.
-
gcc
-
make
-
ncurses
- debian / ubuntu
sudo apt-get install libncurses-dev
- arch
sudo pacman -S ncurses
- void
sudo xbps-install ncurses
-
Clone the repo
git clone https://github.com/k-avi/edgerunner.git cd edgerunner
-
you can use the build.sh script to compile edgerunner, add it to /usr/local/bin and add a manpage for edgerunner in /usr/local/share/man the script will also check for dependencies. If your linux does not have a /usr/local/share/man directory, the script won't create a man page. You can still copy manpages/edgerunner/man1/edgerunner.1 to your standard man location.
sudo bash build.sh
-
If you don't want to install edgerunner in /usr/local/bin , and want to create a binary simply type
make edgerunner
-
If you built edgerunner with build.sh and want to remove it , use the uninstall.sh script.
sudo bash uninstall.sh
To start a game, simply start the program. during the game, you are the @ symbol on the screen. You try to reach the % symbol by moving from node to node on a graph. You have to be careful and avoid the ennemy (or ennemies) represented with the ! character. The node where the exit is is colored in green , the node where the player is is colored in blue, the nodes where the ennemies are are colored in red.
In order to move from your node to another, type the number appearing on the node. Good luck !
product-screenshot1
For more informations, please refer to the manpage of the game or use the -h options
- Items / special nodes
- Score enhancement (better score system and score saving)
- Screensaver mode
- Make it so the ennemy still appears when it's on the exit node
- Fix spawn kill issues
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the free software community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the GPLv3 License. See LICENSE.txt
for more information.
I.M-R - [email protected]
Project Link: https://github.com/k-avi/edgerunner