Git Product home page Git Product logo

marcusvinix / so_long Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 0.0 2.09 MB

This project’s objectives are similar to all this first year’s objectives: Rigor, use of C, use of basic algorithms, information research etc. As a graphic design project, so long will enable you to improve your skills in these areas: windows, colors, events, textures, etc

Makefile 2.78% C 77.84% Shell 1.36% Roff 17.48% Perl 0.54%
minilibx 42 42school

so_long's Introduction

SO_LONG

map

## Description This project is a very small 2D game. It is built to make you work with textures, sprites. And some very basic gameplay elements.

How play the game

To play this game you can use any map of your choice as long follow the following rues:

  • The extension need be .ber
  • Its must be rectangular, surrounded by wall 1
  • Must have only one exit, only one player and at least one collectible
  • Characters allowed:
Character Object
1 wall
0 Empty
C collectible
E exit
P Player starting position
V Enemy starting position

In folder map_files have some examples of maps.

Control of play

You can use AWSD to move UP, DOWN, LEFT, RIGHT.
For restart the game press ESC or click on the red cross of window. If you touch the enemy you loose the game. To win the game its necessary pick up all collectible and pass for the exit.

How execute the game

To start the game you need run the command make root directory. This will compile the executable file so_long, to execute its necessary run ./so_long map_files/map.ber or any map of your choice.

Makefile rules

Rule Description
make Compile the program.
make clean Remove every objects of compilation
make fclean Do clean rule and remove the executable program
make re Do fclean rule and compile the program

so_long's People

Contributors

marcusvinix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.