Giter Club home page Giter Club logo

so_long's Introduction

So_Long

Game Screenshot

So_Long is a 2D maze game. In the game, the player navigates through a maze, collects coins while avoiding obstacles. The goal is to collect all the coins and reach the exit.

Features

  • Maze navigation.
  • Coin collection and scoring.
  • Exiting the maze to complete the game.
  • Simple and user-friendly interface.

Requirements

  • C compiler
  • MinilibX library

How to Play

  1. Compile the game by running the following command:

    make
    make bonus
    
  2. After the compilation is complete, start the game by using the following command:

    ./so_long maps/map.ber
    

Replace maps/map.ber with the file path of the maze map you want to play.

  1. While playing the game, you can move the player using the arrow keys on your keyboard. Your objective is to collect all the coins and reach the exit.

  2. After completing the game, you will see your score and a success message on the screen.

  3. test.sh and test_bonus.sh can test your so_long game with diffrent maps command:

    ./test.sh
    ./test_bonus.sh
    

Resources

Contributing

For any bug reports or improvement suggestions, please open an Issue or submit a Pull Request.

License

This project is licensed under the MIT License.

so_long's People

Contributors

chaglr avatar

Watchers

 avatar

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.