first ai implementation

This commit is contained in:
Tobias Christian Nauen
2026-03-05 17:36:08 +01:00
commit 89c3cd91c2
14 changed files with 2040 additions and 0 deletions

33
README.md Normal file
View File

@@ -0,0 +1,33 @@
# Pokemon Type Quiz
A fast, keyboard-driven quiz to master Pokemon type effectiveness.
## Quick Start
```bash
npm install
npm run dev
```
Open http://localhost:5173
## How to Play
- **Select answer**: Press `1`-`6` (number of options shown on buttons)
- **Next question**: `Enter` or `Space`
- **Toggle dual types**: Check "Allow Dual Types" for harder questions (6 options)
## Features
- Weighted sampling: wrong answers appear more often, right answers less often
- Tracks ALL history in localStorage for persistent progress
- Shows detailed explanation on wrong guesses
- Monotype (default) and dual-type modes
## Build
```bash
npm run build
```
Output in `dist/`