Skip to content

Commit f8f3b1e

Browse files
authored
Merge pull request #5 from aymnms/dev
Dev
2 parents 92633b2 + f9e7d14 commit f8f3b1e

File tree

10 files changed

+161
-51
lines changed

10 files changed

+161
-51
lines changed

LICENSE

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright 2025 aymnms
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 154 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,113 +1,208 @@
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+
&middot;
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="#acknowledgments">Acknowledgments</a></li>
4156
</ol>
4257
</details>
4358

44-
45-
4659
<!-- ABOUT THE PROJECT -->
47-
## About The Project
60+
## About the Project
61+
62+
**Mario-ISN** is a project for the baccalauréat scientifique, specializing in ISN (Computer Science and Numerical Sciences).
63+
The goal is to recreate a Mario Bros-type game in C language, using the SDL2 library.
4864

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.
65+
The project received the **second prize of Labex Digicosme**:
66+
🔗 [Read the article (french)](https://digicosme.cnrs.fr/concours-isn2018/)
5467

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.
68+
Initially developed in 2017/2018 with 2 fellow students, the project has been updated in SDL2.
6069

6170
<p align="right">(<a href="#readme-top">back to top</a>)</p>
6271

72+
### Technologies Used
73+
74+
* C
75+
* CMake
76+
* SDL2, SDL2_image, SDL2_mixer
6377

78+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
6479

6580
<!-- GETTING STARTED -->
6681
## Getting Started
6782

68-
1. Clone the project
83+
Here are the steps to run the project locally (currently only on macOS ARM64 - windows and linux in progress).
84+
85+
### Prerequisites
86+
87+
* C
88+
* CMake
89+
* SDL2, SDL2_image, SDL2_mixer
6990

70-
```bash
71-
git clone https://github.com/aymerickmichelet/mario-isn.git
91+
#### macOS (arm - Apple Silicon):
92+
* [Homebrew](https://brew.sh/) to manage dependencies
93+
94+
### Installation
95+
96+
1. **Clone the repository**
97+
98+
```sh
99+
git clone https://github.com/aymnms/mario-isn.git
100+
cd mario-isn
72101
```
73102

74-
2. Go to the project directory
103+
2. **Install dependencies**
75104

76-
```bash
77-
cd mario-isn
105+
macOS
106+
```sh
107+
brew install sdl2 sdl2_image sdl2_mixer
78108
```
79109

80-
## Prerequisites
110+
3. **Config CMake**
81111

82-
- GCC
112+
macOS:
113+
```sh
114+
cmake -B build-arm -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES="arm64"
115+
```
83116

84-
<!-- USAGE EXAMPLES -->
85-
## Usage
117+
4. **Build**
118+
119+
macOS:
120+
```sh
121+
cmake --build build-arm --config Release
122+
```
86123

87-
1. Compile the program
124+
5. **Run the game**
88125

89-
```bash
90-
./compiler.sh
126+
macOS:
127+
```sh
128+
cd build-arm
129+
./mario-isn
91130
```
92131

93-
2. Run the program
132+
### Download release
133+
134+
#### macOS (only arm)
135+
136+
ℹ️ **Note for distribution**: The generated `.app` may be marked as coming from an unidentified source (attribute `com.apple.quarantine`). To run the application directly:
94137

95-
```bash
96-
./mario-isn
97138
```
139+
xattr -d com.apple.quarantine ./mario_isn.app
140+
```
141+
142+
Or you can go to system settings to “execute anyway”.
143+
144+
[![Game screenshot][product-screenshot-8]](#)
98145

99146
<p align="right">(<a href="#readme-top">back to top</a>)</p>
100147

148+
<!-- USAGE -->
149+
## Usage
150+
151+
The game launches in windowed mode, with a main menu (the size of which cannot be changed).
152+
Use the keyboard arrows to move the player, jump and interact with enemies.
153+
154+
| [![Game screenshot][product-screenshot-1]](#) | [![Game screenshot][product-screenshot-2]](#) | [![Game screenshot][product-screenshot-3]](#) |
155+
|-----------------------------------------------|-----------------------------------------------|-----------------------------------------------|
156+
| [![Game screenshot][product-screenshot-4]](#) | [![Game screenshot][product-screenshot-5]](#) | [![Game screenshot][product-screenshot-6]](#) |
157+
158+
159+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
160+
161+
<!-- ROADMAP -->
162+
## Roadmap
163+
164+
- [x] Redesign of the graphical interface
165+
- [x] Added animations for the player
166+
- [x] Collision handling with enemies
167+
- [ ] Rendering optimization
168+
- [ ] Adding additional levels
169+
170+
See the [open issues](https://github.com/aymnms/mario-isn/issues) for more.
171+
172+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
173+
174+
<!-- CONTRIBUTING -->
175+
## Contributing
101176

102-
## Collaborator
177+
### Initial contributors
103178

104-
- [Aymerick Michelet](https://github.com/aymnms)
105-
- [Anthony Quéré](https://github.com/Anthony-Jhoiro)
179+
- Aymerick Michelet - [@aymnms](https://github.com/aymnms)
180+
- Anthony Quéré - [@Anthony-Jhoiro](https://github.com/Anthony-Jhoiro)
106181
- Léo LIRZIN
107182

183+
### And others... (or not 🥲)
184+
185+
<a href="https://github.com/aymnms/mario-isn/graphs/contributors">
186+
<img src="https://contrib.rocks/image?repo=aymnms/mario-isn" alt="Contributors" />
187+
</a>
188+
189+
190+
<!-- LICENSE -->
191+
## License
192+
193+
Distributed under the MIT License. See `LICENSE` for more information.
194+
195+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
196+
197+
<!-- ACKNOWLEDGMENTS -->
198+
## Acknowledgments
199+
200+
* The ISN teaching team
201+
* Labex Digicosme
202+
203+
<p align="right">(<a href="#readme-top">back to top</a>)</p>
108204

109205
<!-- MARKDOWN LINKS & IMAGES -->
110-
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->
111206
[contributors-shield]: https://img.shields.io/github/contributors/aymnms/mario-isn.svg?style=for-the-badge
112207
[contributors-url]: https://github.com/aymnms/mario-isn/graphs/contributors
113208
[forks-shield]: https://img.shields.io/github/forks/aymnms/mario-isn.svg?style=for-the-badge
@@ -117,4 +212,12 @@ Il n'est actuellement plus en état de fonctionner mais le sera de nouveau proch
117212
[issues-shield]: https://img.shields.io/github/issues/aymnms/mario-isn.svg?style=for-the-badge
118213
[issues-url]: https://github.com/aymnms/mario-isn/issues
119214
[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
215+
[license-url]: https://github.com/aymnms/mario-isn/blob/main/LICENSE
216+
[product-screenshot-1]: img/screenshot-1.png
217+
[product-screenshot-2]: img/screenshot-2.png
218+
[product-screenshot-3]: img/screenshot-3.png
219+
[product-screenshot-4]: img/screenshot-4.png
220+
[product-screenshot-5]: img/screenshot-5.png
221+
[product-screenshot-6]: img/screenshot-6.png
222+
[product-screenshot-7]: img/screenshot-7.gif
223+
[product-screenshot-8]: img/screenshot-8.png

img/screenshot-1.png

93.7 KB
Loading

img/screenshot-2.png

88.3 KB
Loading

img/screenshot-3.png

95.8 KB
Loading

img/screenshot-4.png

112 KB
Loading

img/screenshot-5.png

79.4 KB
Loading

img/screenshot-6.png

71.4 KB
Loading

img/screenshot-7.gif

5.29 MB
Loading

img/screenshot-8.png

169 KB
Loading

0 commit comments

Comments
 (0)