Skip to content

Commit

Permalink
Merge pull request #3 from caillef/patch-1
Browse files Browse the repository at this point in the history
typo: Update overview.md
Appreciate it:)
  • Loading branch information
0xshora authored Apr 23, 2024
2 parents ae0698e + e0d7b6a commit 930c8ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/app-tutorials/minesweeper/0-minesweeper-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ trait IMinesweeperActions<TContractState> {
```

### Set constants
We set some constants. We added `GAME_MAX_DURATION` to avoid parmanent sessions.
We set some constants. We added `GAME_MAX_DURATION` to avoid permanent sessions.
```rust,ignore
/// APP_KEY must be unique across the entire platform
const APP_KEY: felt252 = 'minesweeper';
Expand Down Expand Up @@ -98,4 +98,4 @@ mod minesweeper_actions {
fn ownerless_space(self: @TContractState, default_params: DefaultParameters, size: u64) -> bool {}
}
}
```
```
4 changes: 2 additions & 2 deletions src/architecture/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Here are the components.
#### For User-changeable Properties
- `app`: ContractAddress
- `color`: u32
- `owener`: ContractAddress
- `owner`: ContractAddress
- `text`: felt252
- `timestamp`: u64
- `action`: felt252
Expand Down Expand Up @@ -55,4 +55,4 @@ For snake game, the queue system is important.

## Queue System
We use queue system to execute stacked processes.
![Queue](../images/queue.jpg)
![Queue](../images/queue.jpg)

0 comments on commit 930c8ce

Please sign in to comment.