Skip to content

castle2668/maplestory-match-cards-minigame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MapleStory Match Cards Mini Game

Tech Stack

Vite + React + TypeScript + Tailwind CSS + Shadcn UI + Zustand + ESLint

Project Structures

The project follows a modular and scalable structure to ensure maintainability and ease of navigation. Below is an overview of the folder organization:

β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ images/             # Publicly accessible images used across the application.
β”‚   └── music/              # Audio files used by the application, served as static resources.
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ assets/             # Application-specific static assets such as images, fonts, and cursors.
β”‚   β”‚   β”œβ”€β”€ cursors/        # Custom cursor images or assets.
β”‚   β”‚   └── images/         # Internal images used by components and features.
β”‚   β”œβ”€β”€ components/         # Reusable UI components shared across the application.
β”‚   β”‚   └── ui/             # Shadcn UI components like buttons, card, etc.
β”‚   β”œβ”€β”€ features/           # Modular features containing logic, components, and data.
β”‚   β”‚   β”œβ”€β”€ game/           # Game-specific components, assets, and utilities.
β”‚   β”‚   β”‚   β”œβ”€β”€ assets/     # Static resources specifically for the game (e.g., images, sounds).
β”‚   β”‚   β”‚   β”œβ”€β”€ components/ # UI components related to game functionality.
β”‚   β”‚   β”‚   β”œβ”€β”€ data/       # Data and configurations for the game.
β”‚   β”‚   β”‚   β”œβ”€β”€ store/      # Zustand store related to the game feature.
β”‚   β”‚   β”‚   └── utils/      # Utility functions used in game features.
β”‚   β”‚   └── music/          # Music-related components and logic for handling audio playback.
β”‚   β”‚       └── store/      # Zustand store related to the music feature.
β”‚   β”œβ”€β”€ layouts/            # Components defining the layout structure of different pages.
β”‚   β”œβ”€β”€ lib/                # Utility functions, helpers, and third-party integrations.
β”‚   β”œβ”€β”€ pages/              # Page components tied to specific routes in the application.
β”‚   β”œβ”€β”€ App.tsx             # Main application component, the root of the component tree.
β”‚   β”œβ”€β”€ index.tsx           # Application entry point for rendering the root component into the DOM.
β”‚   β”œβ”€β”€ main.tsx            # Bootstrap file for the application
β”‚   └── index.css           # Global CSS styles for the application.
└── vite.config.ts          # Vite configuration file for project-specific settings.

Special Note on features/:

The features/ folder is designed to separate distinct functionality from the pages/ directory. While pages/ is solely responsible for routing and rendering different views, features/ focuses on grouping logic, components, and assets for specific features.

Each feature folder (e.g. game/) contains its own state management, components, and assets that are exclusive to that feature. For example:

  • store/ handles state management related to the game.
  • assets/ stores game-specific images, sprites, and other resources.
  • components/ houses the UI and logic components that are specific to the game feature.
  • utils/ contains utility functions that assist with game functionality.

In contrast, the root src/ folder contains shared resources like global UI components, images, and utilities that are used across the entire application. This separation keeps features self-contained, while routing and global resources are handled separately for better modularity and scalability.

Disclaimer

This project is licensed under the LGPL-2.1 License, which permits use, modification, and distribution under certain conditions. However, please be aware that this work is a personal project, and while you're welcome to clone or fork the repository for learning purposes or contributions, using it directly as your own work in interviews or portfolios is not allowed.

If you'd like to reference or showcase this project in any professional context, please give proper credit and clearly indicate your modifications. Misrepresenting this project as your own original work may violate the terms of the license and ethical standards.