Skip to content

Commit

Permalink
updated documentation with new changes
Browse files Browse the repository at this point in the history
Former-commit-id: af63071d3a9ae58f742579e148e80e2deef5f7db
Former-commit-id: de629524905bf9446fd971f1c2f0212a64d23c11
  • Loading branch information
milan252525 committed Aug 31, 2021
1 parent 98a258f commit 4d96f4e
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 17 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,11 @@ In case you use normal Command prompt you will have to locate where msbuild is i

You can additionally specify platform with`/p:Platform=x86` argument. Available options are `x64` (64-bit) and `x86` (32-bit).



Alternatively you can download Windows executables from this [release](https://gitlab.mff.cuni.cz/abraham1/celat/-/releases/v1).

## Usage

<img title="" src="docs/images/celat.png" alt="">
<img title="" src="docs/images/celat2.png" alt="">

A grid of the automaton is located on the left side. You can click each individual cell to cycle its state to a next one. On the right side a control panel is located.

Expand All @@ -58,12 +56,13 @@ In the first textbox you can define cells of the automaton.

Each definition needs to be on separate line, empty lines will be ignored.

**Format:** NAME,COLOUR
**Format:** NAME,COLOUR,PROBABILITY

| Name | Description |
| ------ | ------------------------------------------------------------------------------------ |
| NAME | name of the cell type, only letter of English alphabet should be used, no whitespace |
| COLOUR | hexadecimal RGB representation of a cell colour |
| Name | Description |
| ----------- | ------------------------------------------------------------------------------------ |
| NAME | name of the cell type, only letter of English alphabet should be used, no whitespace |
| COLOUR | hexadecimal RGB representation of a cell colour |
| PROBABILITY | probability of this cell appearing when board is randomly generated |

**Examples**:

Expand Down Expand Up @@ -138,6 +137,8 @@ This automaton almost always results in chaotic growth, randomizing the board is

### Other functionalities

**SET BOARD SIZE** - set size of the board, application will restart and all settings will be reset!

**ONE STEP** - advances the automaton by one evolution

**RANDOMIZE BOARD** - every cell is set to random state
Expand Down
4 changes: 3 additions & 1 deletion docs/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ Součástí projektu je uživatelská dokumentace obsahující návod k instalac

Projekt jsem rozdělil na dvě hlavní části - knihovna implementující univerzální automat a uživatelské rozhraní používající tuto knihovnu.



**Ukázka rozhraní:**

<img title="" src="images/celat.png" alt="" width="590">
<img title="" src="images/celat2.png" alt="" width="590">

## Pravidla

Expand Down
Binary file modified docs/documentation.pdf
Binary file not shown.
Binary file added docs/images/celat2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 9 additions & 8 deletions docs/user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Alternatively you can download Windows executables from this [release](https://g

## Usage

<img title="" src="images/celat.png" alt="">
<img title="" src="images/celat2.png" alt="" width="727">

A grid of the automaton is located on the left side. You can click each individual cell to cycle its state to a next one. On the right side a control panel is located.

Expand All @@ -56,12 +56,13 @@ In the first textbox you can define cells of the automaton.

Each definition needs to be on separate line, empty lines will be ignored.

**Format:** NAME,COLOUR
**Format:** NAME,COLOUR,PROBABILITY

| Name | Description |
| ------ | ------------------------------------------------------------------------------------ |
| NAME | name of the cell type, only letter of English alphabet should be used, no whitespace |
| COLOUR | hexadecimal RGB representation of a cell colour |
| Name | Description |
| ----------- | ------------------------------------------------------------------------------------ |
| NAME | name of the cell type, only letter of English alphabet should be used, no whitespace |
| COLOUR | hexadecimal RGB representation of a cell colour |
| PROBABILITY | probability of this cell appearing when board is randomly generated |

**Examples**:

Expand Down Expand Up @@ -134,10 +135,10 @@ Dead cell becomes alive if it has two alive neighbours.

This automaton almost always results in chaotic growth, randomizing the board is recommended with this one.



### Other functionalities

**SET BOARD SIZE** - set size of the board, application will restart and all settings will be reset!

**ONE STEP** - advances the automaton by one evolution

**RANDOMIZE BOARD** - every cell is set to random state
Expand Down
Binary file modified docs/user_guide.pdf
Binary file not shown.

0 comments on commit 4d96f4e

Please sign in to comment.