GithubHelp home page GithubHelp logo

guennach / so_long Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ajjig/so_long

0.0 0.0 0.0 5.18 MB

So_Long project is a 2D game builded with minilibx (AKA the most retarded library) that can read/parse any given map.

C 97.78% Makefile 2.22%

so_long's Introduction

SO_LONG

So_Long project is a 2D game builded with minilibx that can read/parse any given map.

GitHub code size in bytes Number of lines of code Code language count GitHub top language GitHub last commit

Ajjig.SO_LONG.mov

COMPILE

cd path/to/SO_LONG && make

for bonus part:

cd path/to/SO_LONG && make bonus

How-To-Play

./exec /path/to/my_map.ber

You can use given maps (.ber files) or you can generate your own one respecting following rules.

  • A textfile with '.ber' extension.
  • It must be rectangular.
  • It must be surrounded by wall '1'.
  • Must have at least one exit, only one player and at least one collectible.
Character Object
1 wall
0 Empty
C collectible
E exit
P Player starting position

**Be creative !!

Map-Examples

111111111111111
1100000C10011E1
10000000C000001
1C00000110C0V01
1C00000000P0001
1C00V00000C0001
111111111111111
1111111111111111111111111
1E0000000000000C000000001
1010010100100000100010101
1010010010101010000010101
1P0000C00C00C0000000000C1
1111111111111111111111111

so_long's People

Contributors

ajjig 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.