Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 1.79 KB

README.md

File metadata and controls

59 lines (40 loc) · 1.79 KB

So_long | 1337 Bengurir | 125/125

This project is a small 2D game designed to help you work with textures, sprites, and basic gameplay elements. The goal is to create a 2D game using the MiniLibX library, focusing on window management, event handling, colors, textures and animations .

Logo

And Thanks for All The Dolphins :trollface::

Norms

The code in this repository may appear unconventional or different from typical coding practices. This is intentional and follows the coding standards and norms set by my school.

The Goal of The Game

You play as a brave samurai facing off against dolphins. Your mission: defeat the dolphins in combat, collect all the coins scattered across the battleground, and make a daring escape before a giant wave hits.

Map Rules

Map components: walls, collectibles, free space, exit, starting position.
Map composed of 0, 1, C, E , P characters.
Rectangular map enclosed by walls.
Validate map for duplicates, valid path, and completeness.
Other characters will be added in bonus to represent the enemy and traps .

Controls:

Key Action
W, Move up
S, Move down
A, Move left
D, Move right
, Attack up
, Attack down
Attack left
, Attack right
ESC, Leave The Game

Installation

This project was done on macOS Catalina (Version 10.15.7), OpenGL and AppKit is required .

  git clone https://github.com/3IMAD69/so_long.git
  cd so_long
  make
  ./so_long mandatory/maps/map1337.ber

For Bonus

  make bonus
  ./so_long_bonus bonus/maps/map1337.ber