This repository contains the source code for my Programming 1 lab project, where I developed a console-based memory game (Memorama) using the C programming language. The main goal of this project was to practice and reinforce my understanding of one-dimensional and two-dimensional arrays in a fun and interactive way through game development.
- Apply structured programming in a real project.
- Work with 1D and 2D arrays to manage game data.
- Design a fully playable memory card game in the console.
- Game Board managed with 2D arrays.
- Card data handled through 1D arrays.
- Simple user interface in the terminal.
- Real-time interaction with card flipping and matching logic.
- Validations to ensure consistent and error-free gameplay.
- Deepened understanding of array manipulation in C.
- Strengthened logic and flow control using loops and conditionals.
- Practiced input/output operations in the command line.
- Applied clean code structure in a full, self-contained project.
-
Clone this repository to your local machine:
git clone https://github.com/JordanMedinaOrtiz/memorama-c.git cd memorama-c
-
Compile the program using GCC or any compatible C compiler:
gcc memorama.c -o memorama
-
Run the program:
./memorama
-
Play the game
This solo-developed project was a great opportunity to combine my programming knowledge with a real application. It allowed me to reinforce core C programming concepts like arrays, conditionals, and loops, while building something interactive and enjoyable.