Coder Social home page Coder Social logo

biralavor / 42_solong Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 8.67 MB

Game for Linux/Unix about Astronauts, developed in C language

License: MIT License

Makefile 0.67% C 89.31% CMake 0.69% C++ 7.63% GLSL 0.15% Batchfile 0.11% Shell 0.10% Python 1.35%
42cursus 42school 42solong

42_solong's Introduction

Let's save the Astronauts!

This is a common core project from https://42.fr

Project name: so_long

My grade at 42 School: 105% \o/

so_longm 105sucess

  • Main goal:
    • Build a game in C language
    • Use a graphic library (minilibX or MLX42codam)

Screenshot from 2024-04-14 10-04-21

Features

  • Build your own map, using:
    • '1' for walls (my Asteroids)
    • '0' for vacuum space
    • 'P' for starting Player position
    • 'E' for Exit
    • 'C' for Coins (my Astronauts)
    • && Map rules!
  • Move the player with keyboard arrows and WASD keys
  • Collect coins
  • Exit the game gracefully!
  • A LOT of feedback messages on the Linux terminal
  • Prebuilt game maps for playing and system validation tests:
    • map file extension - needs to be '.ber'
    • bad format - is your map rectangular?
    • illegal char in map
    • locked item in map
    • tiny map
    • big map
    • wall - do you have a breach on the wall?
    • items_to_check - I've build this map to help users understand about map validation. Try it!

Bonus Features

  • Text on screen
  • New terminal messages
  • Enemy patrol (you have to figure it out who is your enemy!)
  • New Game rules ๐Ÿค”

About the code

  • 100% boolean functions for map validation Screenshot from 2024-04-15 10-06-51

About Evaluation feedbacks:

  • "The approach to Boolean functions was very cool. The bonus gameplay was incredible, perhaps the first so_long that made you want to keep replaying it. Bira explained the code very well and you could see that he had more audacious plans for the project, it's a shame he didn't have time to implement everything. Congratulations on the project, Bira!!!" (Cadet actual project: so_long)
  • "Congratulations on the project, Bira! It was very beautiful and with lots of contextual details. Good luck with your next training projects. Cheers!" (Cadet actual project: transcendence)
  • "Awesome project. Bira did an excellent job implementing his game. In addition to adding non-mandatory features to the project, he took great care to think about gameplay and user experience, printing personalized messages on the terminal for each scenario and movement within the game. Not to mention that the code was very well structured and organized: most of the functions were standardized with Boolean return, which I thought was brilliant. Clean and easy to understand code. Congratulations! You have masterfully mastered the so_long concepts and functionalities." (Cadet actual project: minishell)

42_solong's People

Contributors

biralavor avatar

Watchers

 avatar

Forkers

0bvim

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.