Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
updated to reflect IO changes
  • Loading branch information
Maneren authored Aug 6, 2021
1 parent eb6c7a8 commit 9f9e586
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,21 @@ uses AlphaBeta pruning, caching with zobrist hashing, multithreading and iterati

### 1. interactive

`gomoku <player> <depth> [start]`
`gomoku <player> <time> [start]`

- player - which symbol should engine play as ('x' or 'o')
- depth - how many plies in future should the engine look
- start - should the engine be first player ('true' or 'false')
- time - time limit for searching in milliseconds
- start - should the engine be play first ('true' or 'false')

reads from stdin in format `x,y`
reads from stdin in format `d6` (letter is horizontal, number is vertical)

### 2. single position

`gomoku <player> <depth> debug <path-to-input-file>`
`gomoku <player> <time> debug <input-file>`

- player - which symbol should engine play as ('x' or 'o')
- depth - how many plies in future should the engine look
- path-to-input-file - path to file in specified format
- time - time limit for searching in milliseconds
- input-file - path to file in specified format

evaluates single positions and returns its move

Expand Down

0 comments on commit 9f9e586

Please sign in to comment.