Files
QingLong/AI/Game/SuperMario/README.md
2025-08-15 09:13:13 +08:00

26 lines
999 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# SuperMario
A improved supermario game based on https://github.com/justinmeister/Mario-Level-1.
* support four levelslevel 1-1 to level 1-4
* support go into the pipe
* use json file to store level data (e.g. position of enemy, brick, box and pipe)
* add new enemies in level 1-3 and 1-4
* add slider in level 1-2
# Requirement
* Python 3.7
* Python-Pygame 1.9
# How To Start Game
$ python main.py
# How to Play
* use LEFT/RIGHT/DOWN key to control player
* use key 'a' to jump
* use key 's' to shoot firewall or run
# Demo
![level_1_1](https://raw.githubusercontent.com/marblexu/PythonSuperMario/master/resources/demo/level_1_1.png)
![level_1_2](https://raw.githubusercontent.com/marblexu/PythonSuperMario/master/resources/demo/level_1_2.png)
![level_1_3](https://raw.githubusercontent.com/marblexu/PythonSuperMario/master/resources/demo/level_1_3.png)
![level_1_4](https://raw.githubusercontent.com/marblexu/PythonSuperMario/master/resources/demo/level_1_4.png)