Skip to content

LudwigAndreas/so_long

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

So Long

So Long is a simple 2D game. The player controls a character that can move through the map, collect collectibles, and avoid enemies. The player wins when all collectibles are collected, and the player loses when the character collides with an enemy.

Table of Contents

About

So Long is a simple 2D game. Game engine is implemented using C and the MLX library. The game has a map with walls, collectibles, and enemies. The player controls a character that can move through the map, collect collectibles, and avoid enemies. The player wins when all collectibles are collected, and the player loses when the character collides with an enemy.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them.

gcc >= 7.5.0
make >= 4.1
sudo apt-get install gcc
sudo apt-get install make

Installing

A step by step series of examples that tell you how to get a development env running.

Clone the repository.

git clone https://github.com/LudwigAndreas/so_long

cd so_long

Build the project.

make

Run the project.

./so_long resources/maps/valid_maps/map.ber

Running the tests

Explain how to run the automated tests for this system.

make test

Usage

After running the project, the game window will open. The player can control the character using the arrow keys. The player can collect collectibles and avoid enemies. The player wins when all collectibles are collected, and the player loses when the character collides with an enemy. The player can close the game window by clicking the close button.

Built Using

  • C - Programming language
  • MLX - Library
  • Make - Build automation tool

Authors

This project was developed by:

drawing LudwigAndreas

Acknowledgements

  • School 21 - Educational institution
  • 42 - Educational institution

License

This project is licensed under the School 21 License - see the LICENSE file for details.

About

simple 2D game written on C and MinilibX library

Resources

License

Stars

Watchers

Forks