A game where players guess which celebrity said a quote.
- Improved layout for the game to fit better in the webview popup
- Created a uniform 3x2 grid for celebrity buttons that's responsive to screen size
- Added support for celebrity images with initial-based fallbacks
- Improved visual design with hover effects and consistent styling
- Optimized spacing and padding throughout the interface
- Added a
celebrity-imagesdirectory in the webroot folder - Implemented image loading for celebrities with fallback to colorful initial avatars
- Created a responsive grid that switches to 2 columns on smaller screens
- Standardized button height and image display across all celebrities
- Fixed audio playback when selecting celebrities
- Ensured game conclusion works properly after audio playback
- Added better error handling for audio loading issues
- Created compact notifications for selection and results
webroot/
├── celebrity-images/ # Celebrity photos
│ ├── bono.jpg
│ ├── taylor-swift.jpg
│ ├── beyonce.jpg
│ └── ...
├── audio/
│ └── music/ # Celebrity audio clips
│ ├── bono_music.mp3
│ ├── swift_music.mp3
│ └── ...
└── script.js # Main game logic
- Select a category
- Read the displayed quote
- Click on the celebrity you think said the quote
- Hear the audio clip and see if you were correct
- Earn points for correct answers
Hear Say!? is a game where players:
- Choose a category (Music, Politics, Movies, History, Sports, Academia)
- See a famous quote and 6 different celebrities who could have said it
- Have 20 seconds to choose the correct celebrity
- Hear the celebrity saying the quote after making their selection
- Earn points based on correct answers and speed
The game requires audio clips of celebrities saying the quotes. Follow these steps to add your own audio files:
Audio files are organized by category in the following directory structure:
webroot/audio/
├── academia/
├── history/
├── movies/
├── music/
├── politics/
└── sports/
Audio files should be named according to the following format:
[celebrity_lastname]_[keyword].mp3
For example:
einstein_imagination.mp3ali_float.mp3king_dream.mp3
- Place your audio files in the appropriate category folder within
webroot/audio/ - Make sure the files are in MP3 format
- Update the
MOCK_QUOTESobject insrc/main.tsxif adding new quotes or celebrities
- Format: MP3
- Quality: Clear voice without background noise
- Duration: Short clips (5-15 seconds) of the celebrity saying the quote
- Size: Keep files under 1MB each for optimal performance
This game is built using:
- Devvit platform
- TypeScript/React for the main application
- HTML/CSS/JavaScript for the WebView component
- Web Audio API for sound effects
To deploy the game:
- Make sure you have the Devvit CLI installed
- Add your audio files to the appropriate directories
- Run
devvit deployto deploy to Reddit
Hear Say!? was created as a sample game for the Devvit platform.