Skip to content

Commit

Permalink
Added export section for statistics
Browse files Browse the repository at this point in the history
  • Loading branch information
italankin committed May 6, 2021
1 parent 68bb868 commit 1b6adc3
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/how-to-play-ru.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -183,3 +183,21 @@ permalink: /ru/how-to-play/
<p align="center"><img src="/assets/stats.jpg" alt="Statistics" /></p>

Включить Статистику можно в [дополнительных настройках](#62-дополнительные).

### 8.1. Экспорт

Статистика текущей сессии может быть экспортирована в [CSV](https://ru.wikipedia.org/wiki/CSV) файл (кнопка `экспорт`).

Файл будет содержать следующую информацию:

|тип|сложный режим|ширина|высота|время|ходы|tps|
|-|-|-|-|-|-|-|
|[тип игры](#3-типы-игры)|`0` для легкого режима, `1` для [сложного](#42-сложный)|ширина поля|высота поля|время в секундах (с миллисекундами)|количество ходов|[TPS](https://www.speedsolving.com/wiki/index.php/Turns_per_second)|

Например:

```
тип;сложный режим;ширина;высота;время;ходы;tps
classic;0;4;4;11.732;78;6.648
classic;0;4;4;16.315;134;8.213
```
18 changes: 18 additions & 0 deletions docs/how-to-play.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -183,3 +183,21 @@ Statistics screen shows various information about current session, such as [aver
<p align="center"><img src="/assets/stats.jpg" alt="Statistics" /></p>

Statistics can be enabled in [advanced settings](#62-advanced).

### 8.1. Export

Current session statistics can be exported to a file in [CSV](https://en.wikipedia.org/wiki/Comma-separated_values) format by pressing `export` button.

The exported file contains the following information:

|type|hard mode|width|height|time|moves|tps|
|-|-|-|-|-|-|-|
|[game type](#3-game-types)|`0` for easy mode, `1` for [hard mode](#42-hard)|width of the puzzle|height of the puzzle|time in seconds (with milliseconds)|count of moves|[TPS](https://www.speedsolving.com/wiki/index.php/Turns_per_second)|

For example:

```
type;hard mode;width;height;time;moves;tps
classic;0;4;4;11.732;78;6.648
classic;0;4;4;16.315;134;8.213
```

0 comments on commit 1b6adc3

Please sign in to comment.