Beş Harf — Turkish Word Game
A game for guessing a five-letter Turkish word in six tries. Daily words, free play, a 120-second timed mode and challenge links for friends in a free, ad-free PWA.
Challenge
I wanted to bring daily and free play, a timed mode and challenges for friends together around five-letter Turkish words. I needed to evaluate guesses without sending the answer to the client while a game was in progress.
Solution
I built the game API with Hono and TypeScript on Cloudflare Workers and the interface with vanilla JavaScript. I select answers on the server and do not send the answer to the client while a game is in progress. I used D1 (SQLite), Turnstile and passwordless sign-in via email codes. I used the Apache-2.0-licensed Zemberek-NLP source for the word list and made free play available offline in the PWA.
Key features
- Guess a five-letter Turkish word in six tries
- Daily words and free play
- 120-second timed mode
- Challenge links for friends
- Passwordless email-code sign-in and member leaderboard
- Archive of past daily words
- PWA with offline free play
- Light, dark and high-contrast themes; free and ad-free
Results
- Answers are selected on the server and are not sent to the client during an active game
- Free play works offline in the PWA
- Passwordless sign-in uses email codes; data is stored in D1 (SQLite)
Technologies
- Cloudflare Workers
- Hono
- TypeScript
- D1 (SQLite)
- Turnstile
- JavaScript
- PWA
Related services
Thinking about a similar project?
Get Quote→Other projects
Turkey Travel Guide and Route Planner
Turkey travel guide covering 81 provinces, about 980 places to visit and 1,000 hotels. Pick a province or region and the route engine builds a day-by-day plan with distance, time and budget.
Black Sea Road Trip Planner
A 15-day / 14-night self-drive Black Sea tour from Izmir: Google Maps routes, an hourly day-by-day schedule, 3 hotel options per stop, fuel stops, an interactive budget and PDF export.
Industry Website Demos
Live website examples for six industries, plus marketplace order, invoice, quote-to-CRM automation and Excel/CSV import demos. The automation demos use fictional data in the browser without sending it anywhere.