Skip to content

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.

Notifications You must be signed in to change notification settings

JordanMedinaOrtiz/memorama-c

Repository files navigation

Memory Game in C 🎴🧠

Ver README en Español

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.

Technologies Used

C

Objective

  • 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.

Main Features

  • 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.

Skills Acquired

  • 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.

How to Use

  1. Clone this repository to your local machine:

    git clone https://github.com/JordanMedinaOrtiz/memorama-c.git
    cd memorama-c
  2. Compile the program using GCC or any compatible C compiler:

    gcc memorama.c -o memorama
  3. Run the program:

    ./memorama
  4. 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.

Project Image

About

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published