diff --git a/README.md b/README.md index 3b05eb0..4f2a5cb 100644 --- a/README.md +++ b/README.md @@ -19,12 +19,12 @@ and a loser then be my guest. The program is just a command line version of minimax. Once you run the program you'll be prompted to enter a command. The command list is as follows: #### example -Runs you through an example game if still feel a little unclear on the rules of the game +Walks you through an example game #### help Brings up a help menu with a list of commands #### begin Begins the game -#### set { key } = { value } +#### set {key} = {value} Example: `set depth = 6` Sets some paramaters for the game. Currently the available paramaters are: - singleplayer - A boolean value which which sets whether you play against the computer or another person diff --git a/src/main.rs b/src/main.rs index 7773b6e..1c9be16 100644 --- a/src/main.rs +++ b/src/main.rs @@ -245,10 +245,10 @@ fn pause() { fn print_help() { println!("Currently I have a number of commands at my disposal. I'll go ahead and list them for you real quick. -example > Runs you through an example game if still feel a little unclear on the rules of the game +example > Walks you through an example game if you still feel a little unclear on the rules of the game help > Well I think you already know about this command :) begin > Begins the epic journey through the binary tree -set {{key}} = {{value}} > Sets some paramaters for the game. Currently the available paramaters are: +set {{key}} = {{value}} > Example: \"set depth = 6\" | Sets some paramaters for the game. Currently the available paramaters are: singleplayer - A boolean value which which sets whether you play against me or play against your mates depth - An integer value which sets the depth of the tree min - One of either \"player_one\" OR \"player_two\". Sets that player's goal to minimize the value