1- <a name =" readme-top " ></a >
1+ <!-- Improved compatibility of back to top link -->
2+ <a id =" readme-top " ></a >
23
4+ <!-- PROJECT SHIELDS -->
35[ ![ Contributors] [ contributors-shield ]] [ contributors-url ]
46[ ![ Forks] [ forks-shield ]] [ forks-url ]
57[ ![ Stargazers] [ stars-shield ]] [ stars-url ]
68[ ![ Issues] [ issues-shield ]] [ issues-url ]
7- [ ![ MIT License] [ license-shield ]] [ license-url ]
9+ [ ![ License] [ license-shield ]] [ license-url ]
810
911<!-- PROJECT LOGO -->
1012<br />
1113<div align =" center " >
14+ <a href =" https://github.com/aymnms/mario-isn " >
15+ <img src="img/sdl_icone.png" alt="Logo" width="80" height="80">
16+ </a >
1217
13- <a href =" https://github.com/github_username/repo_name " >
14- <img src =" img/logo.png " alt =" Logo " width =" 80 " height =" 80 " >
15- </a >
16-
17- <h3 align =" center " >mario-isn</h3 >
18+ <h3 align =" center " >Mario-ISN</h3 >
1819
1920 <p align =" center " >
20- mario bros in c
21+ A Mario Bros game in C, ISN scientific project
22+ <br />
23+ <a href="https://github.com/aymnms/mario-isn"><strong>Explore the documentation »</strong></a>
2124 <br />
22- <a href="https://github.com/aymnms/art-ascii"><strong>Explore the docs »</strong></a>
2325 <br />
26+ <img src="img/screenshot-7.gif" alt="Logo" width="600" height="500">
2427 <br />
25- <a href="https://github.com/aymnms/art-ascii /issues/new?labels=bug&template=bug-report---.md">Report Bug </a>
26- ·
27- <a href="https://github.com/aymnms/art-ascii /issues/new?labels=enhancement&template=feature-request---.md">Request Feature </a>
28+ <a href="https://github.com/aymnms/mario-isn /issues/new?labels=bug&template=bug-report---.md">Report a bug </a>
29+ ·
30+ <a href="https://github.com/aymnms/mario-isn /issues/new?labels=enhancement&template=feature-request---.md">Suggest a feature </a>
2831 </p >
2932</div >
3033
31-
32-
3334<!-- TABLE OF CONTENTS -->
3435<details >
3536 <summary >Table of Contents</summary >
3637 <ol >
37- <li><a href="#about-the-project">About The Project</a></li>
38- <li><a href="#getting-started">Getting Started</a></li>
39- <li><a href="#prerequisites">Prerequisites</a></li>
38+ <li>
39+ <a href="#about-the-project">About the Project</a>
40+ <ul>
41+ <li><a href="#built-with">Technologies Used</a></li>
42+ </ul>
43+ </li>
44+ <li>
45+ <a href="#getting-started">Getting Started</a>
46+ <ul>
47+ <li><a href="#prerequisites">Prerequisites</a></li>
48+ <li><a href="#installation">Installation</a></li>
49+ </ul>
50+ </li>
4051 <li><a href="#usage">Usage</a></li>
52+ <li><a href="#roadmap">Roadmap</a></li>
53+ <li><a href="#contributing">Contributing</a></li>
54+ <li><a href="#license">License</a></li>
55+ <li><a href="#contact">Contact</a></li>
56+ <li><a href="#acknowledgments">Acknowledgments</a></li>
4157 </ol >
4258</details >
4359
44-
45-
4660<!-- ABOUT THE PROJECT -->
47- ## About The Project
61+ ## About the Project
62+
63+ ** Mario-ISN** is a project for the baccalauréat scientifique, specializing in ISN (Computer Science and Numerical Sciences).
64+ The goal is to recreate a Mario Bros-type game in C language, using the SDL2 library.
4865
49- [ EN 🇬🇧]
50- mario-isn is a Scientific Terminal project in ISN (Computing and digital sciences).
51- The objective being to recreate a mario bros in c.
52- The project has been rewarded by the second price of Digicosme Labex : https://digicosme.lri.fr/tiki-read_article.php?articleId=267 .
53- It is currently out of service, but will be back in service shortly.
66+ The project received the ** second prize of Labex Digicosme** :
67+ 🔗 [ Read the article (french)] ( https://digicosme.cnrs.fr/concours-isn2018/ )
5468
55- [ FR 🇫🇷]
56- mario-isn est un projet de Terminal Scientifique en ISN (Informatique et sciences du numérique).
57- L'objectif etant de recréer un mario bros en c.
58- Le projet a été récompencé par le second prix du Labex Digicosme : https://digicosme.lri.fr/tiki-read_article.php?articleId=267 .
59- Il n'est actuellement plus en état de fonctionner mais le sera de nouveau prochainement.
69+ Initially developed in 2017/2018 with 2 fellow students, the project has been updated in SDL2.
6070
6171<p align =" right " >(<a href =" #readme-top " >back to top</a >)</p >
6272
73+ ### Technologies Used
74+
75+ * C
76+ * CMake
77+ * SDL2, SDL2_image, SDL2_mixer
6378
79+ <p align =" right " >(<a href =" #readme-top " >back to top</a >)</p >
6480
6581<!-- GETTING STARTED -->
6682## Getting Started
6783
68- 1 . Clone the project
84+ Here are the steps to run the project locally (currently only on macOS ARM64 - windows and linux in progress).
6985
70- ``` bash
71- git clone https://github.com/aymerickmichelet/mario-isn.git
72- ```
86+ ### Prerequisites
87+
88+ #### macOS (arm - Apple Silicon):
89+ * [ Homebrew] ( https://brew.sh/ ) to manage dependencies
90+
91+ ### Installation
92+
93+ 1 . ** Clone the repository**
94+
95+ ``` sh
96+ git clone https://github.com/aymnms/mario-isn.git
97+ cd mario-isn
98+ ```
99+
100+ 2 . ** Install dependencies**
101+
102+ macOS
103+ ``` sh
104+ brew install sdl2 sdl2_image sdl2_mixer
105+ ```
106+
107+ 3 . ** Config CMake**
108+
109+ macOS:
110+ ``` sh
111+ cmake -B build-arm -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=" arm64"
112+ ```
113+
114+ 4 . ** Build**
115+
116+ macOS:
117+ ``` sh
118+ cmake --build build-arm --config Release
119+ ```
120+
121+ 5 . ** Run the game**
122+
123+ macOS:
124+ ``` sh
125+ cd build-arm
126+ ./mario-isn
127+ ```
73128
74- 2 . Go to the project directory
129+ ### Download release
75130
76- ``` bash
77- cd mario-isn
131+ #### macOS (only arm)
132+
133+ ℹ️ ** Note for distribution** : The generated ` .app ` may be marked as coming from an unidentified source (attribute ` com.apple.quarantine ` ). To run the application directly:
134+
135+ ```
136+ xattr -d com.apple.quarantine ./mario_isn.app
78137```
79138
80- ## Prerequisites
139+ Or you can go to system settings to “execute anyway”.
81140
82- - GCC
141+ [ ![ Game screenshot ] [ product-screenshot-8 ]] ( # )
83142
84- <!-- USAGE EXAMPLES -->
143+ <p align =" right " >(<a href =" #readme-top " >back to top</a >)</p >
144+
145+ <!-- USAGE -->
85146## Usage
86147
87- 1 . Compile the program
148+ The game launches in windowed mode, with a main menu (the size of which cannot be changed).
149+ Use the keyboard arrows to move the player, jump and interact with enemies.
88150
89- ``` bash
90- ./compiler.sh
91- ```
151+ | [ ![ Game screenshot ] [ product-screenshot-1 ]] ( # ) | [ ![ Game screenshot ] [ product-screenshot-2 ]] ( # ) | [ ![ Game screenshot ] [ product-screenshot-3 ]] ( # ) |
152+ | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- |
153+ | [ ![ Game screenshot ] [ product-screenshot-4 ]] ( # ) | [ ![ Game screenshot ] [ product-screenshot-5 ]] ( # ) | [ ![ Game screenshot ] [ product-screenshot-6 ]] ( # ) |
92154
93- 2 . Run the program
94155
95- ``` bash
96- ./mario-isn
97- ```
156+ <p align =" right " >(<a href =" #readme-top " >back to top</a >)</p >
157+
158+ <!-- ROADMAP -->
159+ ## Roadmap
160+
161+ - [x] Redesign of the graphical interface
162+ - [x] Added animations for the player
163+ - [x] Collision handling with enemies
164+ - [ ] Rendering optimization
165+ - [ ] Adding additional levels
166+
167+ See the [ open issues] ( https://github.com/aymnms/mario-isn/issues ) for more.
98168
99169<p align =" right " >(<a href =" #readme-top " >back to top</a >)</p >
100170
171+ <!-- CONTRIBUTING -->
172+ ## Contributing
101173
102- ## Collaborator
174+ ### Initial contributors
103175
104- - [ Aymerick Michelet] ( https://github.com/aymnms )
105- - [ Anthony Quéré] ( https://github.com/Anthony-Jhoiro )
176+ - Aymerick Michelet - [ @ aymnms ] ( https://github.com/aymnms )
177+ - Anthony Quéré - [ @ Anthony-Jhoiro ] ( https://github.com/Anthony-Jhoiro )
106178- Léo LIRZIN
107179
180+ ### And others... (or not 🥲)
181+
182+ <a href =" https://github.com/aymnms/mario-isn/graphs/contributors " >
183+ <img src =" https://contrib.rocks/image?repo=aymnms/mario-isn " alt =" Contributors " />
184+ </a >
185+
186+
187+ <!-- LICENSE -->
188+ ## License
189+
190+ Distributed under the MIT License. See ` LICENSE ` for more information.
191+
192+ <p align =" right " >(<a href =" #readme-top " >back to top</a >)</p >
193+
194+ <!-- ACKNOWLEDGMENTS -->
195+ ## Acknowledgments
196+
197+ * The ISN teaching team
198+ * Labex Digicosme
199+
200+ <p align =" right " >(<a href =" #readme-top " >back to top</a >)</p >
108201
109202<!-- MARKDOWN LINKS & IMAGES -->
110- <!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->
111203[ contributors-shield ] : https://img.shields.io/github/contributors/aymnms/mario-isn.svg?style=for-the-badge
112204[ contributors-url ] : https://github.com/aymnms/mario-isn/graphs/contributors
113205[ forks-shield ] : https://img.shields.io/github/forks/aymnms/mario-isn.svg?style=for-the-badge
@@ -117,4 +209,12 @@ Il n'est actuellement plus en état de fonctionner mais le sera de nouveau proch
117209[ issues-shield ] : https://img.shields.io/github/issues/aymnms/mario-isn.svg?style=for-the-badge
118210[ issues-url ] : https://github.com/aymnms/mario-isn/issues
119211[ license-shield ] : https://img.shields.io/github/license/aymnms/mario-isn.svg?style=for-the-badge
120- [ license-url ] : https://github.com/aymnms/mario-isn/blob/master/LICENSE.txt
212+ [ license-url ] : https://github.com/aymnms/mario-isn/blob/main/LICENSE
213+ [ product-screenshot-1 ] : img/screenshot-1.png
214+ [ product-screenshot-2 ] : img/screenshot-2.png
215+ [ product-screenshot-3 ] : img/screenshot-3.png
216+ [ product-screenshot-4 ] : img/screenshot-4.png
217+ [ product-screenshot-5 ] : img/screenshot-5.png
218+ [ product-screenshot-6 ] : img/screenshot-6.png
219+ [ product-screenshot-7 ] : img/screenshot-7.gif
220+ [ product-screenshot-8 ] : img/screenshot-8.png
0 commit comments