Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/megasanjay/colorize
Pick the odd one out game using colors
https://github.com/megasanjay/colorize
typescript vue
Last synced: about 2 months ago
JSON representation
Pick the odd one out game using colors
- Host: GitHub
- URL: https://github.com/megasanjay/colorize
- Owner: megasanjay
- Created: 2022-09-28T18:44:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-18T18:36:02.000Z (7 months ago)
- Last Synced: 2024-06-18T23:52:06.590Z (7 months ago)
- Topics: typescript, vue
- Language: Vue
- Homepage: https://colorize.saso.one
- Size: 1.81 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Colorize
A simple game where you have to find the odd one out. The game is written in Vue and TypeScript. Feature requests and bug reports are welcome.
## How to play
The regular game mode has three levels of difficulty. The first level has a 3x3 grid, the second level has a 5x5 grid and the third level has a 7x7 grid. The game will start with the first level and will increase the level after 10 rounds. The game will end after 30 rounds. You will also be under the pressure of a timer so you have to be quick. The amount of time per round will also reduce as the level increases.
Good luck!
## Recommended IDE Setup
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
## Type Support for `.vue` Imports in TS
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
1. Disable the built-in TypeScript Extension
1. Run `Extensions: Show Built-in Extensions` from VSCode's command palette
2. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.## Customize configuration
See [Vite Configuration Reference](https://vitejs.dev/config/).
## Project Setup
```sh
yarn install
```### Compile and Hot-Reload for Development
```sh
yarn dev
```### Type-Check, Compile and Minify for Production
```sh
yarn build
```### Run Unit Tests with [Vitest](https://vitest.dev/)
```sh
yarn test:unit
```### Run End-to-End Tests with [Cypress](https://www.cypress.io/)
```sh
yarn build
yarn test:e2e # or `yarn test:e2e:ci` for headless testing
```### Lint with [ESLint](https://eslint.org/)
```sh
yarn lint
```### Format with [Prettier](https://prettier.io/)
```sh
yarn format
```