25 lines
1016 B
Markdown
25 lines
1016 B
Markdown
# ChimeraBot
|
|
|
|
ChimeraBot is an **exact behavioral copy of DevControlBot** at bootstrap: same
|
|
run loop, same radar (commanded before `go()`), same TFIL survival movement,
|
|
same ELM gun, same full-**black** team colours (white = not programmed,
|
|
black = programmed and running). The fork exists to host **CHIMERA**
|
|
experiments; see [`../docs/chimera-spec.md`](../docs/chimera-spec.md).
|
|
|
|
The faithful-copy reference is `DevControlBot_garage/DevControlBot/`: any
|
|
divergence from that source is a bug until an experiment deliberately changes it.
|
|
|
|
Sources live in `src/` (`ChimeraBot.nim`, `.json`, `.nimble`, `.sh`,
|
|
`ChimeraBot/modules/`); unit tests in `tests/`; `out/` is reserved and builds
|
|
stay throwaway (`mktemp -d`).
|
|
|
|
## Run
|
|
|
|
```sh
|
|
cd ChimeraBot_garage/src && nimble runBot # release build + run
|
|
cd ChimeraBot_garage/src && nimble test # unit tests
|
|
```
|
|
|
|
`SERVER_URL` / `SERVER_SECRET` come from the environment; an optional `.env`
|
|
beside the `.nimble` is loaded without ever overriding a preexisting variable.
|