Giter Site home page Giter Site logo

dspilleb / so_long Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 774 KB

This is a 42 School's project. The project consists in creating a little 2D game with the MiniLibX, the school's graphic library.

C 96.13% Makefile 3.87%
42 42born2code 42projects 42school

so_long's Introduction

๐Ÿ“– So Long | 19 Brussels

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

๐Ÿ’ก About the project

This is a 42 School's project. The project consists in creating a little 2D game with the MiniLibX, the school's graphic library. I decided to use some classic rpg sprites which kinda gives "The legend of Zelda" vibes.

โš”๏ธ The game

In order to complete the game, players must avoid all enemies and acquire all of the collectibles on the map before taking the exit. ennemies can be vanquished by using your sword.

Screenshot

Running Game

./so_long [MAP.ber]

HOW TO PLAY
Z Move up โฌ†๏ธ
Q Move left โฌ…๏ธ
S Move down โฌ‡๏ธ
D Move right โžก๏ธ
F Use your sword โš”๏ธ
ESC Close the game โŒ

To be valid, a map must meet the following conditions :

  • be rectangular
  • surrounded by walls
  • contain only one starting position
  • contain only one exit door
  • contain at least one collectible
  • Have a valid path

so_long's People

Contributors

dspilleb avatar

Stargazers

Simon avatar

Watchers

 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.