Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matthijsgroen/block-sort
🍀 mobile sorting puzzle game
https://github.com/matthijsgroen/block-sort
css-animations game-development mobile-game pwa react web-audio
Last synced: 24 days ago
JSON representation
🍀 mobile sorting puzzle game
- Host: GitHub
- URL: https://github.com/matthijsgroen/block-sort
- Owner: matthijsgroen
- License: other
- Created: 2024-09-11T22:38:21.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-01-04T13:48:11.000Z (about 1 month ago)
- Last Synced: 2025-01-04T14:42:22.313Z (about 1 month ago)
- Topics: css-animations, game-development, mobile-game, pwa, react, web-audio
- Language: TypeScript
- Homepage: https://matthijsgroen.github.io/block-sort/
- Size: 80.6 MB
- Stars: 20
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Block Sort
A small mobile game where you need to sort blocks
## Where to play
[https://matthijsgroen.github.io/block-sort/](https://matthijsgroen.github.io/block-sort/)
To install on an iOS device:
1. Open the link in Safari
2. Open the share menu
3. Select 'Add to Home Screen'
4. Confirm installation### Level Types
1. Normal levels - Will increase in amount of colors, and from level 160 will add a random variant that has 2 small buffers instead of a free column.
2. Special levels - These vary in layout, buffers and locked columns. They come around every 7 levels.
3. Hard levels - The same as Normal levels (including variant after level 160), but all blocks under the surface are hidden. Occur every 9 levels.
4. Easy levels - These can be hard, normal or special, but are always a few difficulty levels below your current difficulty level. They start occurring from level 150, and come around every 13 levels.
5. Scrambled levels - These are normal levels, but someone has already done some moves towards solving them! The start occurring from level 180, and Occur every 9 levels, mostly just after a hard level.
## Development setup
```
yarn install
yarn dev
```> [!NOTE]
> This project uses _yarn pnp_. This means you need to install the
> [ZipFS](https://marketplace.visualstudio.com/items?itemName=arcanis.vscode-zipfs) extension, and you possibly need to run `yarn dlx @yarnpkg/sdks`Running tests:
```
yarn test
```Lint code:
```
yarn lint
```The game will use pre-created seeds to generate levels in a fast way on mobile (reduces power usage and loading times).
To generate all the seeds, run:
```
bin/generate-level-seeds.ts run --all
```This project uses the [CC BY-NC-SA 4.0](./LICENSE) license.