Skip to content

Repository files navigation

so_long Game Project

Description

so_long is a 2D game project developed in C as part of the School 42 curriculum, designed to implement basic game mechanics and utilize the MLX library.

Prerequisites

  • MinilibX graphics library
  • Make build tool
  • cc compiler

Installation

git clone https://github.com/607mark/so_long.git
cd so_long
make

Usage

./so_long [map_file.ber]

Game Controls

  • : Move Up
  • : Move Left
  • : Move Down
  • : Move Right
  • ESC: Exit Game

Map Requirements

  • Must have a valid .ber extension
  • Require elements:
    • One player start position
    • Collectible items
    • One exit
  • Surrounded by walls
  • Rectangular layout

Features

  • 2D top-down game environment
  • Sprite-based movement
  • Collectible item mechanics
  • Basic collision detection

Author

@607mark

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages