Skip to content

Commit

Permalink
Add AIOpponent struct and supporting unit tests
Browse files Browse the repository at this point in the history
The AIOpponent struct contains the majority of the AI algorithms logic.
Test and documentation are added to describe how to use the structure
and to ensure it works as expected.

Note: There are still some rough spots in this commit such as duplicated
code for finding the best position and insufficient documentation
examples.

See issue #5.
  • Loading branch information
j-richey committed Dec 8, 2019
1 parent a9048b7 commit 2b3039f
Show file tree
Hide file tree
Showing 2 changed files with 508 additions and 28 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
rand = "0.7.2"

0 comments on commit 2b3039f

Please sign in to comment.