A web-based lab of interactive AI-powered puzzles, built with React, TypeScript, Vite, and Gemini AI integration.
Welcome to AI Puzzle Lab! This repository contains interactive puzzle applications powered by AI, with two different deployment targets:
- React Web App deployed on Vercel — a full-featured React-based experience.
- Single HTML Puzzle — a standalone
HTMLfile (SingleHtmlPuzzle/index.html) for simple, easily sharable deployment.
- 🧩 Multiple classic puzzle games (Sudoku, Sliding Puzzle, Maze, Color Sorter) built as interactive React components
- 🤖 Optional AI assistance via Google Gemini API for hints, solving, or puzzle generation
- 🎨 Modern UI with Tailwind CSS and componentized layout (Navbar, Footer, Landing Page)
- 🥳 Animations & effects with Canvas Confetti and Motion for a fun puzzle-solving experience
AI_Puzzle_lab/
├── public/ # Static assets for the React app
├── src/ # React app source code
│ └── ... # Components, hooks, utilities, etc.
├── SingleHtmlPuzzle/
│ └── index.html # Self-contained HTML puzzle app
├── package.json
└── README.md # You're here!
git clone https://github.com/Kishore-Krish19/AI_Puzzle_lab.git
cd AI_Puzzle_labnpm install
npm run dev # or 'npm start' as per your scripts- Open http://localhost:3000 in your browser to see the app.
The main React application is set up for continuous deployment via Vercel.
- Push your latest changes to the repository.
- Visit the Vercel Dashboard and import this repository if not done already.
- Vercel will automatically build and deploy your app on every push to main.
Your live app will be available at the Vercel-assigned URL.
If your app needs environment variables, set them up in the Vercel dashboard under project settings.
The SingleHtmlPuzzle/index.html is a self-contained HTML file and can be deployed anywhere static files are supported (GitHub Pages, your own server, Netlify, etc).
- Open
SingleHtmlPuzzle/index.htmldirectly in your browser. - Or, upload the file to any static hosting provider.
- Move or copy
SingleHtmlPuzzle/index.htmlto the root or to/docsand enable GitHub Pages in the repository settings pointing to the correct path. - The HTML puzzle will then be accessible via
https://<username>.github.io/AI_Puzzle_lab/SingleHtmlPuzzle/(or the path you chose).
- Visit the deployed site (Vercel URL shown in your dashboard).
- Interactive puzzles, leaderboards, progress tracking, and more (subject to implementation).
- Use for demos, lightweight deployment, or as an embeddable widget.
- No server setup required. One file, instant puzzle!
- React (with TypeScript) — Main application.
- HTML/CSS/JavaScript — Used in the Single HTML Puzzle.
- Vercel — For frictionless deployment and hosting.
- GitHub Pages (Optional) — For static single puzzle hosting.
Contributions are welcome! Suggestions, bug reports, and pull requests are appreciated.
- Fork this repo
- Make your changes (ensure code quality and add tests if relevant)
- Submit a pull request describing your changes