Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jackyef/kotla
Kota (city; in Indonesian) guessing game, inspired by Katla
https://github.com/jackyef/kotla
game nextjs react tailwindcss wordguessing worlde
Last synced: about 1 month ago
JSON representation
Kota (city; in Indonesian) guessing game, inspired by Katla
- Host: GitHub
- URL: https://github.com/jackyef/kotla
- Owner: jackyef
- License: bsd-3-clause
- Created: 2022-01-27T11:59:14.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-14T15:13:10.000Z (almost 3 years ago)
- Last Synced: 2024-08-01T21:41:45.671Z (4 months ago)
- Topics: game, nextjs, react, tailwindcss, wordguessing, worlde
- Language: TypeScript
- Homepage: https://kotla.vercel.app
- Size: 1.35 MB
- Stars: 60
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-made-by-indonesian - Kotla - `Kota (city; in Indonesian) guessing game, inspired by Katla` *by [Jacky Efendi](https://github.com/jackyef)* (K)
- made-in-indonesia - Kotla - `Kota (city; in Indonesian) guessing game, inspired by Katla` *by [Jacky Efendi](https://github.com/jackyef)* (K)
README
# Kotla
_Kota_ (city; in Indonesian) guessing game, inspired by [Katla](https://github.com/pveyes/katla), [wordle](https://www.powerlanguage.co.uk/wordle/) and [worldle](https://worldle.teuteuf.fr/).
---
## How it works
For those who are curious, or are looking for a way to cheat:
1. All cities data are stored in [cities.json](./utils/dataSources/cities.json). ([source](https://simplemaps.com/data/id-cities)). The data will be bundled with the app.
2. [/api/getNumberOfTheDay](./pages/api/getNumberOfTheDay.ts) generates a number given a `dateString`. The number is then used to select a particular city from the list.List of kabupaten/kota is gotten from: [yusufsyaifudin/wilayah-indonesia](https://github.com/yusufsyaifudin/wilayah-indonesia)