Commit ed5b20e
svg feedback messed up (#152)
* Add prompt guessing game initial structure
Created a new React app for the prompt guessing game that will:
- Generate creative prompts using text.pollinations.ai
- Create images from prompts using image.pollinations.ai
- Let users guess the prompts and provide feedback
Next steps:
1. Integrate with text.pollinations.ai for prompt generation
2. Integrate with image.pollinations.ai for image generation
3. Implement prompt similarity checking for guess evaluation
Closes # 140
Mentat precommits passed. Log: https://mentat.ai/log/da1bbadf-deed-4d43-b60e-4fdf03101e21
* Implement prompt guessing game functionality
- Added utility functions for:
- Generating creative prompts using text.pollinations.ai
- Creating images from prompts using image.pollinations.ai
- Evaluating guess similarity
- Enhanced UI with loading and error states
- Added disabled states for inputs during loading
- Improved feedback system for user guesses
- Added loading animation and error styling
Closes # 140
Mentat precommits passed. Log: https://mentat.ai/log/81a96ae5-98dc-4628-985c-a96846c045de
* Add game instructions and hint system
- Added clear instructions for players
- Implemented hint system after 5 attempts
- Show actual prompt after successful guess
- Added game won state to prevent further guesses
- Improved UI feedback and styling
- Added loading and disabled states for better UX
Closes # 140
Mentat precommits passed. Log: https://mentat.ai/log/10c53bb0-aa10-4fdf-9153-ba6aff1b73bc
* Fix build configuration and directory structure
- Added proper Vite configuration
- Fixed directory structure to match Vite requirements
- Added missing index.css file
- Updated build settings
- Successfully building to dist directory
The build is now working correctly and generating the necessary files.
Mentat precommits passed. Log: https://mentat.ai/log/549d3bf4-9953-43bc-8d8a-e879e2a81697
* Update deploy-apps.yml
* Update utils.js
* Update vite.config.js
* Update vite.config.js
* Update vite.config.js
* Update vite.config.js
* Crop
* Add svg feedback experiment
* Update index.html
* Update index.html
* Update index.html
* Update index.html
* Update index.html
* Beautiful version
* Update index.html
* Update index.html
* initial svg state
* save preset too
* Update index.html
* Update index.html
* Update index.html
* Update index.html
* Update SVG dimensions to 100% width and height
- Modify systemPrompt to set SVG dimensions to 100%
- Ensure SVG adapts to container size for better responsiveness
* Extract js
* revert script to html file
* Update index.html
---------
Co-authored-by: MentatBot <160964065+MentatBot@users.noreply.github.com>1 parent b00957a commit ed5b20e
File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments