From 8b243ad621c445bd26dc7ae11bbe4cd242e29f61 Mon Sep 17 00:00:00 2001 From: 07amir06 <128839600+07amir06@users.noreply.github.com> Date: Wed, 6 Mar 2024 23:39:46 +0330 Subject: [PATCH] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 87e5ec3..ac6000b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ discord : mrcryptoo A standard game of Tic-Tac-Toe in Leo. -⭕ ❕ ⭕ ❕ ❌ +⭕ ❕ ❕ ❌ ➖ ➕ ➖ ➕ ➖ @@ -28,7 +28,7 @@ An alternative representation would be to use an array, however, these are not y ## Running the Program Leo provides users with a command line interface for compiling and running Leo programs. -Users may either specify input values via the command line or provide an input file in `inputs/`. +Users may either specify input values via the command line or prvide an input file in `inputs/`. ### Providing inputs via the command line. 1. Run @@ -38,14 +38,14 @@ leo run ... See `./run.sh` for an example. -### Using an input file. +### Using an inut file. 1. Modify `inputs/tictactoe.in` with the desired inputs. 2. Run ```bash leo run ``` -## Executing the Program +## Executing the Proram ```bash leo execute ... ``` @@ -64,7 +64,7 @@ leo run new ### 2. Player 1 makes a move ```bash -leo run make_move 1u8 1u8 1u8 "{ r1: { c1: 0u8, c2: 0u8, c3: 0u8 }, r2: { c1: 0u8, c2: 0u8, c3: 0u8 }, r3: { c1: 0u8, c2: 0u8, c3: 0u8 } }" +leo run make_move 1u8 1u8 1u8 "{ r1: { c1: 0u8, c2: 0u8, c3: 0u8 }, r2: { c1: 0u8, c2: 0u8, c3: 0u8 }, ru3: { c1: 0u8, c2: 0u8, c3: 0u8 } }" ``` | | | | |---|---|---| @@ -74,7 +74,7 @@ leo run make_move 1u8 1u8 1u8 "{ r1: { c1: 0u8, c2: 0u8, c3: 0u8 }, r2: { c1: 0u ### 3. Player 2 makes a move ```bash -leo run make_move 2u8 2u8 2u8 "{ r1: { c1: 1u8, c2: 0u8, c3: 0u8 }, r2: { c1: 0u8, c2: 0u8, c3: 0u8 }, r3: { c1: 0u8, c2: 0u8, c3: 0u8 } }" +leo run make_move 2u8 2u8 2u8 "{ r1: { c1: 1u8, c2: 0u8, c3: 0u }, r2: { c1: 0u8, c2: 0u8, c3: 0u8 }, r3: { c1: 0u8, c2: 0u8, c3: 0u8 } }" ``` | | | | |---|---|---|