GTest version: @tagv1.10.x- Include GTest as external lib in
WORKSPACEfile - Used as
depsin//testpackage
- Build:
bazel build //main:hex - Run:
bazel build //main:hexor 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
