This repository contains the source code and related files of my final project for the Programming 2 course. The project is a puzzle game inspired by Mexican mythology, offering two levels of difficulty, a login and registration system, and persistent score tracking through file handling. Developed using C and C++, this game showcases advanced programming skills in file manipulation, data structures, and user input validation. The main objective of the project was to apply advanced programming techniques by building an interactive game that handles user data, difficulty settings, and persistent scores through efficient file operations and structured logic.
- Design and implement a complete game system with user profiles and difficulty options.
- Practice file input/output for saving user accounts and scores.
- Implement structured programming with clean modular code using structs and queues.
- Ensure a consistent user experience through solid input validation and error handling.
- Advanced File Handling: User data and game scores are stored and retrieved from text files, enabling persistent game sessions.
- Difficulty Levels: Two levels of difficulty are available to accommodate different player skill levels, offering a fun and scalable challenge.
- Login & Registration System: Players can create and manage accounts, with secure validation to prevent duplicate usernames.
- Robust Input Validation: Ensures that all inputs are valid, usernames are unique, and game data remains consistent across sessions.
- Cultural Theme: Inspired by Mexican mythology, adding an educational and thematic layer to the gameplay.
- Advanced C/C++ file management techniques
- Implementation of lists, queues, and structs
- Development of console UI/UX logic
- Design of authentication and session systems
- Debugging and validating user input for stability
-
Clone this repository to your local machine:
git clone https://github.com/jordanmedinaortiz/mexican-mythology-puzzle.git cd mexican-mythology-puzzle
-
Compile the program using GCC or any compatible C compiler:
gcc rompecabezasMitologiaMexicana.c -o rompecabezasMitologiaMexicana
-
Run the program:
./rompecabezasMitologiaMexicana
-
Login or Register
-
Choose Difficulty
-
Enjoy the Game
This project was developed individually as my final project for the Programming 2. It was an excellent opportunity to deepen my understanding of game development, user session management, and file-based systems using C/C++. I hope it provides inspiration or a starting point for anyone learning about system-based console applications.