Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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.