diff --git a/src/theory/cairo.md b/src/theory/cairo.md index 2152fe98..c6beae80 100644 --- a/src/theory/cairo.md +++ b/src/theory/cairo.md @@ -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. diff --git a/src/tutorial/onchain-chess/0-setup.md b/src/tutorial/onchain-chess/0-setup.md index 5acae886..9cdc716e 100644 --- a/src/tutorial/onchain-chess/0-setup.md +++ b/src/tutorial/onchain-chess/0-setup.md @@ -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)]