Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Berry-Princess-Game

I've coded my first 2D computer game called berry-princess-game. A princess collects strawberries. After she has collected them all, she has to return to her castle. This retro-style game reminds me to my childhood. It is written in C and utilizes the MLX42 library for its graphical interface. Feel free to explore the code and give it a try!

Controls

Use the following controls to play the game:

  • Arrow keys or WASD: Move the princess
  • Escape: Exit the game

👀 YouTube Video: Code-Princess/Mein erstes selbst programmiertes 2D Computer Spiel/Berry-Princess-Game/Retro-Style🍓👸

Code-Princess/Mein erstes selbst programmiertes 2D Computer Spiel/Berry-Princess-Game/Retro-Style

Prerequisites

Please note that this program is only compatible with Linux or macOS. Ensure that you have a C-compiler e.g. cc installed on your operating system.

Installation

To install the project follow these steps in your terminal:

git clone git@github.com:Code-Princess/berry-princess-game.git
cd berry-princess-game
make

Run the game

To run the game, use this command in your terminal:

./so_long maps/map_04.ber

You can replace maps/map_04.ber with the path to your desired map file.

About

My first computer game using the MLW42 library where a princess collects strawberries and returns back to her castle.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages