-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
84bcc56
commit 5403574
Showing
1 changed file
with
24 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,38 @@ | ||
## Usage | ||
# π¨ HEXLE | ||
|
||
Those templates dependencies are maintained via [pnpm](https://pnpm.io) via `pnpm up -Lri`. | ||
Welcome to Hexle, where every day, you'll be tested on your color knowledge by guessing the correct hex color code! π§ | ||
To start playing Hexle π¨, visit the [Hexle Website](https://hexle.otters.one/). | ||
|
||
This is the reason you see a `pnpm-lock.yaml`. That being said, any package manager will work. This file can be safely be removed once you clone a template. | ||
## π Features | ||
|
||
```bash | ||
$ npm install # or pnpm install or yarn install | ||
``` | ||
- β¨ **Daily Color Guessing:** Challenge yourself daily by guessing the mysterious hex color of the day. π¨ Can you crack the code? | ||
|
||
### Learn more on the [Solid Website](https://solidjs.com) and come chat with us on our [Discord](https://discord.com/invite/solidjs) | ||
- β¨ **Streaks:** Keep your guessing streak alive! The longer you guess correctly, the hotter your streak gets. π₯ How high can you go without missing a color? | ||
|
||
## Available Scripts | ||
# Hexle π¨ Tutorial | ||
|
||
In the project directory, you can run: | ||
Welcome to the Hexle tutorial! Learn how to play this colorful game step by step. | ||
|
||
### `npm run dev` or `npm start` | ||
## π― Guess the Color | ||
The color you see in the background is the color of the day. Take your best guess! π€ | ||
|
||
Runs the app in the development mode.<br> | ||
Open [http://localhost:3000](http://localhost:3000) to view it in the browser. | ||
Fun Fact: Colors on the web have secret codes called 'hex codes', like #16b8f3. These codes are made up of numbers 0-9 and letters A-F. The first two numbers represent the amount of red, the second two the amount of green, and the last two the amount of blue. | ||
|
||
The page will reload if you make edits.<br> | ||
## π Clues | ||
After you've entered your guess, the color you entered is shown in the small dot after the input, and we'll give you some hints: | ||
|
||
### `npm run build` | ||
- If it's correct! π | ||
- If it's included. π€ | ||
- If it's not included. π | ||
|
||
Builds the app for production to the `dist` folder.<br> | ||
It correctly bundles Solid in production mode and optimizes the build for the best performance. | ||
## π Keep Guessing | ||
No giving up! Keep guessing until you find the color of the day. π | ||
|
||
The build is minified and the filenames include the hashes.<br> | ||
Your app is ready to be deployed! | ||
## 𦦠Have Fun | ||
Enjoy the colorful journey! π | ||
|
||
## Deployment | ||
--- | ||
|
||
You can deploy the `dist` folder to any static host provider (netlify, surge, now, etc.) | ||
**Note:** This tutorial is also available in the Hexle game itself. To start playing, follow the instructions in the game. | ||
|
||
Have a colorful day and enjoy Hexle! π |