GTest version
: @tagv1.10.x
- Include GTest as external lib in
WORKSPACE
file - Used as
deps
in//test
package
- Build:
bazel build //main:hex
- Run:
bazel build //main:hex
or run./bazel-bin/main/hex
- Build GTest lib:
bazel build //test:hello_test
- Run a test:
bazel run //test:hello_test
- Draw the board using ASCII symbols and a given size, such as 7 by 7 or 11 by 11
- Input a move and determine if a move is legal.
- Computer opponent move based on Monte Carlo simulation
- Determine who won.
- Install dot command line tool with GraphViz:
brew install graphviz
- dot version:
dot -V
- dot - graphviz version 2.44.1 (20200629.0846) - Deps Graph:
bazel query --notool_deps --noimplicit_deps "deps(//main:hex)" --output graph
- Export graph:
bazel query --notool_deps --noimplicit_deps "deps(//main:hex)" --output graph | dot -Tpng > assets/images/deps.png