Spaces:
Running
A newer version of the Gradio SDK is available: 6.20.0
title: Match Wise
emoji: ๐
colorFrom: purple
colorTo: pink
sdk: gradio
sdk_version: 6.17.3
python_version: '3.12'
app_file: app.py
pinned: true
short_description: AI-Powered Educational Memory Game with Llama.cpp
hf_oauth: true
tags:
- track:wood
- sponsor:openbmb
- achievement:offgrid
- achievement:offbrand
- achievement:llama
- achievement:sharing
- achievement:fieldnotes
- matchWise
- gradio
- minicpm5-1b
thumbnail: >-
https://cdn-uploads.huggingface.co/production/uploads/683d69c43015d6c975e276c1/f9OyOJSr8M08WCArixzvb.png
๐ MatchWise
AI-Powered Educational Memory Game with Adaptive Challenge Levels using MiniCPM5 llm via Llama.cpp
๐ Purpose
MatchWise attempts to make memory training more playful and educational by combining emoji card matching, AI-generated learning themes, session-wise performance tracking, and challenge levels that unlock when the player performs well.
The game starts simple, then gradually moves the player from Easy toward Challenge Me using a performance meter based on level completion, matching accuracy, and gameplay progress.
Instead of using fixed handcrafted stages, MatchWise keeps generating fresh memory boards and learning themes with LLM, so players can continue progressing through an endless learning loop.
โจ Key Features of MatchWise
- ๐ด Emoji-based memory card matching game
- ๐ค Infinite AI-generated levels with fresh themes and card sets
- ๐ง Performance Meter that moves from Easy to Challenge Me
- โก Challenge levels unlocked through strong gameplay performance
- โค๏ธ 5-life system to begin with
- ๐ก Peek system to help players during difficult boards
- ๐ Persistent leaderboard support using SQLite storage
- ๐ฎ Interactive Gradio UI with polished game-style visuals
๐จโโ๏ธ Hackathon Tracks & Judging Notes
๐ Social Media Post
๐ Watch MatchWise in action
๐ด Off the Grid / Local-first: No cloud AI APIs are used. The game runs locally through MiniCPM5-1B-GGUF inside the Space.
๐จ Off-Brand / Custom UI: MatchWise uses a custom game-style frontend with handcrafted HTML, CSS, and JavaScript instead of the default Gradio look.
๐ฆ Llama Champion: The model runs through the llama.cpp runtime using llama-server.
๐ก Sharing is Caring / Open Trace: I've shared the Codex agent trace artifacts on the Hub so the community can explore my development process and build on top of it: MatchWise Open Trace
๐ Field Notes: I also wrote a full build report about the design, challenges, small-model constraints, and lessons learned: Building MatchWise
๐๏ธ Collection: https://huggingface.co/collections/build-small-hackathon/matchwise
๐ง Models Dataset and APIs Used
- LLM: openbmb/MiniCPM5-1B-GGUF model running locally through llama.cpp
- Model File: MiniCPM5-1B-Q4_K_M.gguf
- Inference Runtime: llama.cpp
llama-server - Game Content: AI-generated level titles, educational messages, challenge content, learning simple facts
- Leaderboard Storage: SQLite database stored in HuggingFace Bucket capturing HF username and high scores
- UI Framework: Gradio with custom HTML, CSS, and JavaScript game logic
๐ ๏ธ Core Functionality Overview
- Start the MatchWise game from the landing screen
- Memorize the emoji cards during the preview timer
- Flip cards and match identical emoji pairs
- Earn score, peeks, and performance progress through clean gameplay
- Move the Performance Meter from Easy toward Challenge Me
- Unlock AI-generated challenge levels when performance is high enough
- Continue playing while protecting your lives and improving your high score
- Save and compare scores using the leaderboard
๐งช Install dependencies after clonning with:
pip install -r requirements.txt
Run locally with:
python app.py
Made with โค๏ธ using Gradio, MiniCPM5-1B via llama.cpp, and Hugging Face CPU (Free Tier) Spaces ๐ค
Created by tejasashinde for The Build Small Hackathon 2026.