loopyLettersApp
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of coney branch: v55View latest version
A word game with a small gameplay loop. Plays best on your phone.
- Main Game (
/) - Use every letter on the donut to spell words random words. - Birds (
/birds) - With random birds instead of random words.
├── backend/
│ └── index.ts # Main Hono server with API routes
├── frontend/
│ ├── components/
│ │ └── GameApp.tsx # Main game component
│ ├── index.html # HTML template
│ └── index.tsx # Frontend entry point
├── shared/
│ └── gameLogic.ts # Shared game logic and utilities
└── README.md
- Use every letter on the donut to spell a word.
- Letters in the word must be adjacent to each other on the donut.
- You can go clockwise or counterclockwise.
- When you find a word, the next word to find appears.
- Go fast. Go slow. Enjoy.
New Coney Letter Feature: One letter from each word is randomly selected as the "coney letter" and displayed as an interactive circle in the center of the donut. This special letter is adjacent to every other letter on the donut, making it easier to form words. You can click and drag from/to the center circle just like the donut segments.
isAdjacent()- Standard adjacency check for letters on the donutconeyIsAdjacent()- Special adjacency check where a designated "coney letter" is adjacent to every other letter
The coney letter system works by:
- Randomly selecting one letter from each target word as the "coney letter"
- Removing that letter from the donut display (creating a complete circle with remaining letters)
- Displaying the coney letter as an interactive circle in the center
- Using special adjacency rules where the center letter connects to any donut letter
- Validating completed words against the full original target word
This revisits the gameplay from a 2002 Observable notebook I made called "find a (big) word, rings".
- Main game uses random words from the Wordnik word game list
- Birds version uses Wikipedia's List of Birds By Common Name with images