added xmake benchmark target
All checks were successful
Linux arm64 / Build (push) Successful in 1m52s
All checks were successful
Linux arm64 / Build (push) Successful in 1m52s
This commit is contained in:
15
README.md
15
README.md
@@ -6,7 +6,7 @@ Modern stacker game with every polyominoes from size 1 to 15, made in C++ with [
|
||||
|
||||
// TODO when the game is finished //
|
||||
|
||||
This game has been tested on and built on Windows 11 and WSL2 Ubuntu only.
|
||||
This game has been tested on and built for Windows 11 and WSL2 Ubuntu.
|
||||
If your OS isn't compactible with either of theses two, you can try [manually building the project](#manual-build).
|
||||
|
||||
## How to play
|
||||
@@ -19,7 +19,6 @@ Each gamemode has its own objective, but you can play as you wish.
|
||||
You can see and change in-game keybinds in the **SETTINGS** section of the main menu!
|
||||
All of in-menu navigation is done with the **arrow keys**, the **Enter key** and the **Escape key**. Theses are unchangeable keybinds.
|
||||
You will find more infos about the Rotation System, the scoring system, or the different pieces type in the **INFO** section of the main menu.
|
||||
If you want to know more details about the generation of polyominoes, [check the documentation](/doc/)!
|
||||
|
||||
## Features
|
||||
|
||||
@@ -51,6 +50,9 @@ Pieces select screen
|
||||
AutoRS demonstration
|
||||

|
||||
|
||||
0° spins demonstration
|
||||

|
||||
|
||||
## Manual build
|
||||
|
||||
This project uses xmake for compiling, xmake is cross-platform and works in most OS, xmake also automatically install supported librairies.
|
||||
@@ -76,6 +78,7 @@ To switch between debug and release mode:
|
||||
``xmake f -m release``
|
||||
|
||||
If for some reasons you wanna run the command line version (not updated):
|
||||
``xmake build text``
|
||||
``xmake run text``
|
||||
|
||||
### Package the project
|
||||
@@ -102,8 +105,14 @@ If for some reasons you wanna run the command line version (not updated):
|
||||
| 12 | 126759 | 2s 709.277ms | 1s 530.34ms | 0s 155ms | 1647867 bytes |
|
||||
| 13 | 476270 | 10s 668.308ms | 7s 395.512ms | 0s 765.601ms | 6667780 bytes |
|
||||
| 14 | 1802312 | 45s 606.597ms | 32s 28.7977ms | 2s 919.653ms | 27034680 bytes |
|
||||
| 15 | ~6M | ~5mn | ~5mn | ~10s | ~100 MB |
|
||||
|
||||
_File storing includes normalizing and sorting all polyominoes before writing them to the file._
|
||||
_File storing includes normalizing and sorting all polyominoes before writing them to the file._
|
||||
If you want to know more details about the generation and storage of polyominoes, [check the documentation](/doc/)!
|
||||
|
||||
Run it yourself by typing:
|
||||
``xmake build benchmark``
|
||||
``xmake run benchmark``
|
||||
|
||||
## Credits
|
||||
|
||||
|
||||
Reference in New Issue
Block a user