Skip to content

Commit

Permalink
Merge pull request #49 from TosinJs/main
Browse files Browse the repository at this point in the history
Fix Broken Command Route in Cairo.md
  • Loading branch information
ponderingdemocritus authored Sep 11, 2023
2 parents 5720156 + 44ada01 commit 009cd6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/theory/cairo.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Cairo is an open-source, Turing-complete smart contract language developed by St

Dojo builds on Cairo to create a robust framework for developing Autonomous Worlds (AWs). By leveraging the capabilities of Cairo, Dojo aims to streamline the development process, improve maintainability, and enhance the performance of AWs.

A key feature of the Dojo framework is its use of [commands](../framework/cairo/commands.md). Commands are a design pattern that helps to reduce boilerplate code, resulting in cleaner and more maintainable applications. They achieve this by encapsulating specific actions or operations within self-contained, reusable units.
A key feature of the Dojo framework is its use of [commands](../cairo/commands.md). Commands are a design pattern that helps to reduce boilerplate code, resulting in cleaner and more maintainable applications. They achieve this by encapsulating specific actions or operations within self-contained, reusable units.

Developers can write commands freely within Systems, and the Cairo compiler takes care of inlining the appropriate functions.

Expand Down
2 changes: 1 addition & 1 deletion src/tutorial/onchain-chess/0-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ While there are many ways to design a chess game using the ECS model, we'll foll

> Every square of the chess board (e.g., A1) will be treated as an entity. If a piece exists on a square, the square entity will hold that piece.
First, add this basic component to `components.cairo` file. If you are not familar with component syntax in Dojo engine, go back to this [chapter](../../framework/cairo/components.md).
First, add this basic component to `components.cairo` file. If you are not familar with component syntax in Dojo engine, go back to this [chapter](../../cairo/components.md).

```rust,ignore
#[derive(Component)]
Expand Down

0 comments on commit 009cd6b

Please sign in to comment.