vithursant / rogue-like-game Goto Github PK
View Code? Open in Web Editor NEWRogue-like-game implementation in C
Rogue-like-game implementation in C
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)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.