From 143c0bec3750398ee5875f7fa91e1d40b70ff3b6 Mon Sep 17 00:00:00 2001 From: Tosin Samuel <68669102+TosinJs@users.noreply.github.com> Date: Sun, 10 Sep 2023 05:33:11 +0100 Subject: [PATCH 1/2] Update cairo.md --- src/theory/cairo.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. From 44ada017cd9efff1e6497da6d33954116c555560 Mon Sep 17 00:00:00 2001 From: tosinjs Date: Sun, 10 Sep 2023 05:57:47 +0100 Subject: [PATCH 2/2] Update 0-setup.md --- src/tutorial/onchain-chess/0-setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)]