summaryrefslogtreecommitdiff
path: root/2017-battleships/readme.txt
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2022-04-19 21:28:54 +0200
committerJustin Wernick <justin@worthe-it.co.za>2022-04-19 21:28:54 +0200
commit59f8b6a8ef1abfd0556cc940ccb64305fcdf2968 (patch)
treeaf1e8424d7704cf7ccab5818c6d2adb915b183f3 /2017-battleships/readme.txt
parentdc01a3e25e6c4ef056467e36f876ebd68f3ade22 (diff)
parenta866bde485c7d8bc82820f2def70af7b6c70a066 (diff)
Merge branch 'battleships-main'
Diffstat (limited to '2017-battleships/readme.txt')
-rw-r--r--2017-battleships/readme.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/2017-battleships/readme.txt b/2017-battleships/readme.txt
new file mode 100644
index 0000000..ffffa2f
--- /dev/null
+++ b/2017-battleships/readme.txt
@@ -0,0 +1,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