aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortslil clingman <tslil@posteo.de>2021-01-28 21:45:57 -0500
committertslil <tslil@posteo.de>2026-08-28 19:37:41 +0100
commita5cb8973496611b82d3e4caa3c95f6e6ba1367be (patch)
treea138dcc2f84dc1a64b857b674d994d8e32629c29
parenta77062ce3dc9a99ad0662010cc7eeb00dd5036a6 (diff)
Skeleton readme
-rw-r--r--README.md37
-rwxr-xr-xdo_buildroot.sh2
2 files changed, 38 insertions, 1 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..0acbb9a
--- /dev/null
+++ b/README.md
@@ -0,0 +1,37 @@
+# ctak, ctaklm, and ct1986
+
+## Overview
+
+Details forthcoming, but at a glance:
+
+1. ctak is a C library for the game of Tak
+2. ctaklm is a line-mode interface to ctak and a computer opponent
+ (for 5x5)
+3. ct1986 is a similar interface, but designed for a Raspberry Pi Zero
+ running buildroot and displaying output on a character LCD.
+
+## Building for the native platform
+
+ PLATFORM=native make ctaklm
+
+## Building for the Raspberry Pi Zero
+
+Download and extract a recent version of buildroot into the working
+directory. Edit `BUILDROOT_DIR=buildroot-2020.11.1` in `Makefile` to
+point to the extracted directory.
+
+ make all
+
+## The computer opponent
+
+### Adversarial tree search implementation
+
+Details coming soon
+
+### The convolutional neural network cnn1986
+
+Details coming soon
+
+## License
+
+GPLv3+
diff --git a/do_buildroot.sh b/do_buildroot.sh
index 00e9f54..ee2e1d9 100755
--- a/do_buildroot.sh
+++ b/do_buildroot.sh
@@ -22,7 +22,7 @@ overlay="$board/rootfs_overlay/"
# Build configuration
cp resources/buildroot.config "$BR/.config"
-#cp resources/linux.config resources/busybox.config "$board" # Causes recompile
+cp resources/linux.config resources/busybox.config "$board" # Causes recompile
cp resources/{post-build,ct1986}.sh resources/genimage-raspberrypi0.cfg "$board"
# Overlay filesystem