https://github.com/ajhenry/chronle.com
Chronle - A Daily Chronological Timeline Game
https://github.com/ajhenry/chronle.com
chronology daily-game firebase history nextjs
Last synced: 8 months ago
JSON representation
Chronle - A Daily Chronological Timeline Game
- Host: GitHub
- URL: https://github.com/ajhenry/chronle.com
- Owner: ajhenry
- License: agpl-3.0
- Created: 2024-06-15T02:25:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-28T16:50:33.000Z (almost 2 years ago)
- Last Synced: 2025-05-06T20:48:20.076Z (about 1 year ago)
- Topics: chronology, daily-game, firebase, history, nextjs
- Language: TypeScript
- Homepage: https://chronle.com
- Size: 368 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Chronle
A daily game where you drag events into chronological order.
## How to Play
You are given a number of events that you must drag into chronological order. You have up to 6 tries to get all the events in the correct order.
Events that are in the correct spot will turn green. Events that are in the wrong spot will turn a solid neutral color.
## Development
1. Get accounts in order to develop.
You will need both a firebase web app and a firebase service account.
You will need an unsplash developer account to create events from the admin dashboard.
You will need to create a firebase project and add the firebase configuration to the `.firebaserc` file.
```bash
npm i -g firebase-tools
```
Then you will need to setup emulators for the project.
```bash
firebase login
firebase init
```
2. Get `.env` setup.
Take all the values created from the firebase web and service account and unsplash then add them to the `.env` file.
```bash
cp .env.example .env
```
3. Run `npm install` to install dependencies.
4. Run the development server with `npm run dev`.
There are bound to be bugs so don't be afraid to file an issue.
This project is developed with [Next.js](https://nextjs.org/), [Firebase](https://firebase.google.com/), and [Tailwind CSS](https://tailwindcss.com/).
## Contributing
All contributions are welcome! Please file an issue or create a pull request.
## License
This is licensed under AGPL-3.0. See the [LICENSE](LICENSE) file for more information.
## Credits
This starter project is based on [Venefish](https://github.com/enesien/venefish) by [enesien software](https://enesien.com/).