feat(SAC_LSTM_Bot): project scaffold (#38)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-08-20 23:33:43 +02:00
parent 64f73dd413
commit 4258d364b9
5 changed files with 30 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
# Package
version = "0.1.0"
author = "Davide Cappellini"
description = "SAC+LSTM-trained Tank Royale bot"
license = "MIT"
srcDir = "src"
bin = @["SAC_LSTM_Bot"]
# Dependencies
requires "nim >= 2.0.0"
# tankroyale_botapi is vendored in-tree (libs/tankroyale_botapi) and wired via
# config.nims --path; no nimble dependency so builds never touch ~/.nimble/pkgs2.
requires "arraymancer >= 0.7.0"
+11
View File
@@ -0,0 +1,11 @@
# Static-link OpenBLAS for portable deployment
# ponytail: adjust path per machine, or use pkg-config
switch("passL", "-L/nix/store/v07svn2y92bvzjl51aj7c9ca1cwg7rw7-openblas-0.3.32/lib -lopenblas")
switch("threads", "on")
# begin Nimble config (version 2)
when withDir(thisDir(), system.fileExists("nimble.paths")):
include "nimble.paths"
# end Nimble config
# Use the repo-vendored Tank Royale bot API (libs/) instead of the nimble pkg.
# Must come AFTER the nimble.paths include: later --path wins the import search.
switch("path", thisDir() & "/../libs/tankroyale_botapi")
+4
View File
@@ -0,0 +1,4 @@
## SAC_LSTM_Bot — placeholder main module.
## SAC (Soft Actor-Critic) + LSTM Tank Royale bot.
echo "SAC_LSTM_Bot scaffold"
+2
View File
@@ -0,0 +1,2 @@
switch("path", "../src")
switch("path", "../../libs")