Skip to content

This project is a small 2D Bomberman-style game created using minilibx, a graphics library used at 42. The game features textures, sprites, and tile-based design.

Notifications You must be signed in to change notification settings

daisvke/Bomberman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bomberman

This 42 School project, originally named 'so_long', is a small 2D Bomberman-style game created using minilibx, a graphics library used at 42. The game features textures, sprites, and tile-based design.

Timeline.11_.mov

Description

In this game, the player’s goal is to:

  • Collect all bombs (collectibles) scattered across the map.
  • Escape through the revealed pipe (exit) with the fewest possible moves.

Features:

  • The current movement count updates dynamically on the game window.
  • Enemy patrols: Coming into contact with an enemy results in game over.
  • Collectibles include:
    • Speed: Increases the player’s movement speed.
    • Bomb: Allows the player to place an additional bomb.
    • Fire: Boosts the power of the player’s bombs.

Commands

Run the Game

make
./bomberman [map]       # Example: ./bomberman maps/map_large.ber

Controls

Key (QWERTY) Key (AZERTY) Action
W Z Move Up
S S Move Down
A Q Move Left
D D Move Right
B B Set Bomb
ESC ESC Quit Game

Map

The game requires a valid .ber map file as input. The map consists of the following 6 characters:

Character Meaning Icon
0 Empty space
1 Wall
C Collectibles
E Map exit
P Player's starting position
M Enemy's starting position

Example of a Valid Map:

1111111111111
10010000000C1
1000011111001
1P0011E000001
1111111111111

Map Requirements:

  • Must be surrounded by walls (1).
  • Must contain at least:
    • One exit (E).
    • One collectible (C).
    • One starting position (P).
  • Must be rectangular.

Screenshots

About

This project is a small 2D Bomberman-style game created using minilibx, a graphics library used at 42. The game features textures, sprites, and tile-based design.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published