summaryrefslogtreecommitdiff
path: root/readme.txt
blob: ffffa2faeea47930515b875230befcfb9cabe11e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
* Admiral Worthebot

** Compilation Instructions

As per the Rust sample bot. Install the Rust build toolchain from https://www.rust-lang.org/en-US/install.html, then from the root directory of the project run

cargo build --release

** Project Structure

Cargo.toml - Cargo project config, including project dependencies
src/ - Soure code directory
src/main.rs - Command line entrypoint (main function) and command line argument parsing
src/lib.rs - Programs public interface (as used by main.rs and any integration tests)

** Strategy

- Track all possible ways that an opponent may have placed their ships
- After every move, deduce which possibilities are now impossible
- Shoot in an attempt to (possibly) eliminate as many possibilities as possible