Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/squaregg10/squaregg_core
Squaregg10 game
https://github.com/squaregg10/squaregg_core
bevy rust
Last synced: 12 days ago
JSON representation
Squaregg10 game
- Host: GitHub
- URL: https://github.com/squaregg10/squaregg_core
- Owner: Squaregg10
- License: apache-2.0
- Created: 2025-01-21T11:27:20.000Z (12 days ago)
- Default Branch: main
- Last Pushed: 2025-01-21T12:22:48.000Z (12 days ago)
- Last Synced: 2025-01-21T13:42:22.949Z (12 days ago)
- Topics: bevy, rust
- Language: Rust
- Homepage:
- Size: 2.24 MB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Squarea_10
![cover](/assets/squaregg-chan.png)
Clear tiles in a rectangle that add up to 10.
The scoring system is calculated by
```
score += n_tiles_popped + area_multiplier + combo_multiplier
```### area_multiplier
The area_multiplier is defined as the number of tiles that area selected takes up.### combo_multiplier
The combo mutliplier will activate and increment `n_combo` if the area selected intersects the previous area selected. The combo value is calculated by
```rust
let combo_bonus = match n_combo {
0..6 => floor(n_combo.pow(1.5)),
otherwise => n_combo * 2,
};
```
If the selected area does not intersect the previous area, `n_combo` will be set to zero.