first ai implementation
This commit is contained in:
33
README.md
Normal file
33
README.md
Normal 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/`
|
||||
Reference in New Issue
Block a user