A few small changes

This commit is contained in:
Gnarwhal 2019-07-26 15:32:28 -07:00
parent 4597fcc42b
commit 1b44dd5ee9
Signed by: Gnarwhal
GPG key ID: 0989A73D8C421174
2 changed files with 4 additions and 4 deletions

View file

@ -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 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: a command. The command list is as follows:
#### example #### 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 #### help
Brings up a help menu with a list of commands Brings up a help menu with a list of commands
#### begin #### begin
Begins the game Begins the game
#### set { key } = { value } #### set {key} = {value}
Example: `set depth = 6` Example: `set depth = 6`
Sets some paramaters for the game. Currently the available paramaters are: 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 - singleplayer - A boolean value which which sets whether you play against the computer or another person

View file

@ -245,10 +245,10 @@ fn pause() {
fn print_help() { 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. 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 :) help > Well I think you already know about this command :)
begin > Begins the epic journey through the binary tree 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 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 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 min - One of either \"player_one\" OR \"player_two\". Sets that player's goal to minimize the value