Giter Site home page Giter Site logo

rogue-like-game's Introduction

ROGUE with ncurses library    
*********************************************

*********************************************
Compiling the program
*********************************************

    On the terminal in the root directory(a2),
    type 'make'. You should see 'gcc -Wall -ansi
    src/rogue.c src/roguefunctions.c  
    -o bin/rogue -Iinclude -lncurses'. That means
    that the program has compiled.


*********************************************
Running the program
*********************************************

    To run the program, you should be on the
    terminal in the root directory(a2) already,
    then type 'cd bin' to change to the 
    binary folder. Then type './rogue rooms.txt' to enter
    the program, where rooms.txt is the input file with 
    the rooms in it(the file 'rooms.txt' must be in the 
    bin folder to work). Use the i,j,k,l keys to move. 
    Press 'n' to teleport to next room and 'q' 
    to exit the program and return to the
    terminal command line.

*********************************************
Known limitations
*********************************************

    In the input file 'rooms.txt', the dimensions
    should alway be immediatly proceeded by an object 
    such as treasure or a monster signified by 't','m' etc.
    and not by info for a door.

    ex. like this 10X6 t5,2........

        and not like this 10X6 de7.....
    
    Door elements can be in any other order except for being
    the first after the dimensions as stated above.
    (then can technically and the room will still work but if
    each line is read in with the door elements immediatly after
    the dimensions there will be a weird bug and you won't
    be able to play the game, so its best to start with 
    another element)

rogue-like-game's People

Contributors

vithursant avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.