7f68bd2e7906a727482e1b468ed1ecc8a1a6f1d9
House Drawing Program
This program draws a simple house with a red square for the main wall, a blue triangle for the roof, colored rectangles for the windows, and a yellow circle for the sun using the MLV graphics library.
Features
- Draws a red square as the main wall of the house.
- Draws a blue triangle as the roof of the house.
- Draws two colored rectangles as the windows of the house.
- Draws a brown rectangle as the door of the house.
- Draws a yellow circle as the sun.
- Displays a message "Press ESC to quit" and waits for the user to press the ESC key to close the window.
Dependencies
- GCC (GNU Compiler Collection)
- MLV (Mini Library for Visualization)
Installation
Installing MLV on Ubuntu
- Update your package list and install the required packages:
sudo apt-get update sudo apt-get install build-essential gcc make libmlv3-dev
Building the Program
- Clone the repository or download the source code.
- Navigate to the directory containing the
Makefileandmaison.c. - Run the following command to build the program:
make
This will compile maison.c and create an executable named maison.
Usage
-
After building the program, run the executable:
./maison -
A window will open displaying the house and the sun. Press the ESC key to close the window.
Cleaning Up
To clean up the build files, run:
make clean
This will remove the object files and the executable.
License
This project is licensed under the GPLv3 License. For more details, see GPLv3 License.
Authors
- Alex Frequelin (light_emerald@aostia.com)
Acknowledgments
- Adrien Boussicault and Marc Zipstein for the MLV library.
- ESIEE Paris for the course materials and guidance.
Description
Development project at school with the objective of making a functioning snake game using the MLV graphic lib
First release
Latest
Languages
C
97.6%
Makefile
2.4%