Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Incognitowski committed Nov 1, 2023
1 parent 04c1c4a commit 9eee38d
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# match-3-calculator
A match-3 combination and possible combination calculator written in Rust 🦀 for learning purposes.

# Running it
`cargo run`

# Running it (Release mode)
`cargo run --release`

# Output sample
```bash
Time to generate board: 261.50µs
🟥🟥🟦🟥🟨🟪🟨🟦
🟥🟨🟩🟦🟩🟩🟦🟦
🟪🟥🟪🟦🟦🟥🟪🟦
🟪🟦🟩🟩🟪🟩🟪🟩
🟨🟥🟦🟥🟨🟩🟨🟦
🟪🟪🟥🟥🟦🟪🟪🟪
🟪🟩🟩🟪🟪🟨🟨🟪
🟪🟥🟦🟥🟩🟩🟨🟦
Time to find combinations: 21.20µs
Color: 🟪 | Matches: (5, 5)(6, 5)(7, 5)
Color: 🟪 | Matches: (0, 5)(0, 6)(0, 7)
Color: 🟦 | Matches: (7, 0)(7, 1)(7, 2)
Contains possible combinations.
Time to find possible combinations: 48.70µs
````

0 comments on commit 9eee38d

Please sign in to comment.