Code Monkey home page Code Monkey logo

bomberman's Introduction

so_long

This project is a small 2D Bomberman game using minilibx, a graffic library used at 42. It uses textures, sprites and tiles.

Timeline.11_.mov

Description

  • The player’s goal is to collect all the collectible bombs present on the map, then to escape from the revealed pipe with minimal movement.
  • At each move the current number of movements is updated on the window.
  • Ennemy patrols cause the player to lose in case of contact.
  • Collectibles include :
    Speed = allows the player to move faster
    Bomb = allows the player to set an additional bomb on the field
    Fire = increases the power of the bombs set by the player

Commands

  • Run
make
./so_long [map]       ex: ./so_long maps/map_large.ber
  • QWERTY
    Up = W
    Down = S
    Left = A
    Right = D

  • AZERTY
    Up = Z
    Down = S
    Left = Q
    Right = D

  • Set bomb = B

  • Quit = ESC

Map

  • The program takes as a first argument a map description file with the .ber extension.
  • The map can be composed of only 6 possible characters:
    0 for an empty space
    1 for a wall
    C for a collectible
    E for map exit
    P for the player’s starting position
    M for an ennemy's starting position

This is a simple valid map:

1111111111111
10010000000C1
1000011111001
1P0011E000001
1111111111111
  • The map must be closed/surrounded by walls.
  • It must have at least one exit, one collectible, and one starting position.
  • It must be rectangular.

Screenshots

bomberman's People

Contributors

daisvke avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

yassineeddyb

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.