Skip to content

Xdev200/TapSnap

Repository files navigation

TapSnap Logo

⚡ TapSnap

A fast-paced, reflex-based matching game built with React, Tauri, and Go.

React Tauri Vite Go TypeScript


🌟 Overview

TapSnap is an engaging desktop reflex game designed to test your hand-eye coordination. Players interact with abstract shapes horizontally scrolling and falling down the screen, aiming for the perfect snap overlay.

Powered by Tauri for seamless desktop performance and utilizing a Go Sidecar for backend metrics and persistence via SQLite, TapSnap offers a highly responsive and fluid gameplay experience!

🚀 Features

  • 🎮 Dynamic Game Loop: Smooth 60FPS animation updates utilizing optimized requestAnimationFrame.
  • 🕹️ Matching Mechanics: Complex object alignment, shape rotation tracking, and precise overlap calculations.
  • 🎨 Visual Flourishes: Stunning visual feedback, including screen flashes and canvas-based confetti celebrations for perfect hits!
  • 🗄️ Local Persistence: Secure SQLite tracking of your high scores, progression, and unlocked levels via our integrated Go Sidecar.
  • 📱 Responsive UI: "Zomato-style" clean interface designs with polished Level Selection screens.

🛠️ Tech Stack

  • Frontend Core: React 18, TypeScript, and Vite.
  • State Management: Zustand
  • Styling: Tailwind CSS v4 & Lucide React Icons.
  • Desktop Interop: Tauri v2 IPC Bridge.
  • Backend / Database: Go (Golang) compiled sidecar with SQLite.

💻 Getting Started

Prerequisites

Ensure you have the following installed on your machine:

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/TapSnap.git
    cd TapSnap
  2. Install frontend dependencies:

    npm install
  3. Run the development server natively (Web View):

    npm run dev
  4. Launch the Tauri Desktop app:

    npm run tauri dev

🏗️ Architecture Architecture & WBS

Check out our WBS.md for a detailed roadmap of the project's development phases.

Directory Structure

  • /src/ — React frontend components, screens, and game loop logic.
  • /src-tauri/ — Rust boilerplate and Tauri configurations.
  • /sidecar/ — Go backend executables and SQLite handling.
  • /tapsnap-info-website/ — Project landing profile and policy pages.

Crafted with ❤️ by the TapSnap Team.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors