kitchen: README + MISSIONS/engine-c keep-drop notes

This commit is contained in:
Hernâni Marques 2026-09-17 21:48:48 +02:00
parent 1d351918da
commit 575d7d29b8
No known key found for this signature in database
130 changed files with 9817 additions and 1 deletions

View file

@ -0,0 +1,170 @@
openkknd: compiling...
In file included from src/rng.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/config.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/png.c:8:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/snapshot.c:6:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
src/snapshot.c: In Funktion »snapshot_capture«:
src/snapshot.c:62:5: warning: diese »if«-Klausel beschützt nicht … [-Wmisleading-indentation]
62 | if (camx < 0) camx = 0; if (camy < 0) camy = 0;
| ^~
src/snapshot.c:62:29: note: … diese Anweisung, aber letztere ist verwirrend eingerückt, als wäre sie abhängig von »if«
62 | if (camx < 0) camx = 0; if (camy < 0) camy = 0;
| ^~
In file included from src/map.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
src/map.c: In Funktion »map_init«:
src/map.c:66:13: warning: Variable »pos« wird nicht verwendet [-Wunused-variable]
66 | int pos = rng_range(rng, 8, m->w - 9);
| ^~~
In file included from src/sprites.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/units.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/buildings.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/projectiles.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/render.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
src/render.c: In Funktion »render_buildings«:
src/render.c:106:17: warning: Variable »pct« wird nicht verwendet [-Wunused-variable]
106 | int pct = (int)(b->build * 100);
| ^~~
In file included from src/input.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/ai.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/audio.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/save.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/engine.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/main.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
src/main.c: In Funktion »main«:
src/main.c:50:16: warning: Variable »diff« gesetzt, aber nicht verwendet [-Wunused-but-set-variable=]
50 | Difficulty diff = DIFF_NORMAL;
| ^~~~
src/main.c: Auf höchster Ebene:
src/main.c:32:13: warning: »save_snapshot« definiert, aber nicht verwendet [-Wunused-function]
32 | static void save_snapshot(Game *g, int n) {
| ^~~~~~~~~~~~~
openkknd: built -> ./openkknd
usage: ./openkknd [--easy|--normal|--hard] [--load savegame.kknd]

View file

@ -0,0 +1,2 @@
[deepseek-coder:6.7b · 1005ms · ok]

View file

@ -0,0 +1 @@
Context overflow: prompt too large for the model. Try /reset (or /new) to start a fresh session, or use a larger-context model.

View file

@ -0,0 +1,48 @@
==== 2026-07-13T09:36:14+02:00 QWEN14 start ====
qwen14 exit=0
```json
{
"name": "exec",
"arguments": {
"command": "cd /home/vx/src/openkknd-qwen14b && ./build.sh"
}
}
```
insgesamt 136
drwxr-xr-x 1 vx vx 144 13. Jul 09:38 .
drwxr-xr-x 1 vx vx 142 13. Jul 09:36 ..
drwxr-xr-x 1 vx vx 36 11. Jul 06:59 assets
drwxr-xr-x 1 vx vx 0 11. Jul 06:38 benchmarks
-rwxr-xr-x 1 vx vx 699 11. Jul 14:19 build.sh
drwxr-xr-x 1 vx vx 430 11. Jul 14:24 gallery
drwxr-xr-x 1 vx vx 34 11. Jul 07:04 include
-rw-r--r-- 1 vx vx 997 13. Jul 09:36 MISSION.md
-rwxr-xr-x 1 vx vx 124680 13. Jul 09:38 openkknd
-rw-r--r-- 1 vx vx 204 11. Jul 14:22 savegame.kknd
drwxr-xr-x 1 vx vx 290 11. Jul 14:20 src
==== 2026-07-13T09:38:03+02:00 DEEPSEEK start ====
deepseek exit=0
Context overflow: prompt too large for the model. Try /reset (or /new) to start a fresh session, or use a larger-context model.
insgesamt 136
drwxr-xr-x 1 vx vx 144 13. Jul 09:38 .
drwxr-xr-x 1 vx vx 142 13. Jul 09:36 ..
drwxr-xr-x 1 vx vx 36 11. Jul 06:59 assets
drwxr-xr-x 1 vx vx 0 11. Jul 06:38 benchmarks
-rwxr-xr-x 1 vx vx 699 11. Jul 14:19 build.sh
drwxr-xr-x 1 vx vx 430 11. Jul 14:24 gallery
drwxr-xr-x 1 vx vx 34 11. Jul 07:04 include
-rw-r--r-- 1 vx vx 1002 13. Jul 09:36 MISSION.md
-rwxr-xr-x 1 vx vx 124680 13. Jul 09:38 openkknd
-rw-r--r-- 1 vx vx 204 11. Jul 14:22 savegame.kknd
drwxr-xr-x 1 vx vx 290 11. Jul 14:20 src
==== 2026-07-13T09:38:15+02:00 DONE ====
-- openkknd-qwen14b --
-- openkknd-qwen14b --
binary=yes
README=no
git=no
-- openkknd-deepseek --
-- openkknd-deepseek --
binary=yes
README=no
git=no

View file

@ -0,0 +1,46 @@
==== 2026-07-13T09:36:14+02:00 QWEN14 start ====
qwen14 exit=0
```json
{
"name": "exec",
"arguments": {
"command": "cd /home/vx/src/openkknd-qwen14b && ./build.sh"
}
}
```
insgesamt 136
drwxr-xr-x 1 vx vx 144 13. Jul 09:38 .
drwxr-xr-x 1 vx vx 142 13. Jul 09:36 ..
drwxr-xr-x 1 vx vx 36 11. Jul 06:59 assets
drwxr-xr-x 1 vx vx 0 11. Jul 06:38 benchmarks
-rwxr-xr-x 1 vx vx 699 11. Jul 14:19 build.sh
drwxr-xr-x 1 vx vx 430 11. Jul 14:24 gallery
drwxr-xr-x 1 vx vx 34 11. Jul 07:04 include
-rw-r--r-- 1 vx vx 997 13. Jul 09:36 MISSION.md
-rwxr-xr-x 1 vx vx 124680 13. Jul 09:38 openkknd
-rw-r--r-- 1 vx vx 204 11. Jul 14:22 savegame.kknd
drwxr-xr-x 1 vx vx 290 11. Jul 14:20 src
==== 2026-07-13T09:38:03+02:00 DEEPSEEK start ====
deepseek exit=0
Context overflow: prompt too large for the model. Try /reset (or /new) to start a fresh session, or use a larger-context model.
insgesamt 136
drwxr-xr-x 1 vx vx 144 13. Jul 09:38 .
drwxr-xr-x 1 vx vx 142 13. Jul 09:36 ..
drwxr-xr-x 1 vx vx 36 11. Jul 06:59 assets
drwxr-xr-x 1 vx vx 0 11. Jul 06:38 benchmarks
-rwxr-xr-x 1 vx vx 699 11. Jul 14:19 build.sh
drwxr-xr-x 1 vx vx 430 11. Jul 14:24 gallery
drwxr-xr-x 1 vx vx 34 11. Jul 07:04 include
-rw-r--r-- 1 vx vx 1002 13. Jul 09:36 MISSION.md
-rwxr-xr-x 1 vx vx 124680 13. Jul 09:38 openkknd
-rw-r--r-- 1 vx vx 204 11. Jul 14:22 savegame.kknd
drwxr-xr-x 1 vx vx 290 11. Jul 14:20 src
==== 2026-07-13T09:38:15+02:00 DONE ====
-- openkknd-qwen14b --
binary=yes
README=no
git=no
-- openkknd-deepseek --
binary=yes
README=no
git=no

View file

@ -0,0 +1,13 @@
KKND2 mission. You are the deepseek-coder:6.7b coding agent.
Work ONLY in /home/vx/src/openkknd-deepseek (seeded from openkknd). Read MISSION.md.
Tasks:
1) cd /home/vx/src/openkknd-deepseek
2) Use exec: ./build.sh — fix compile/link errors with real file edits
3) After green build: git init if needed, commit "kknd2: green build"
4) Write/update README.md (build + run)
5) Optional: fix cheap warnings after green build
Do not touch /home/vx/openkknd or other openkknd-* trees.
Use tools (exec, read, write, edit). Report what you did and build status.

View file

@ -0,0 +1,13 @@
KKND2 mission. You are the qwen2.5-coder:14b coding agent.
Work ONLY in /home/vx/src/openkknd-qwen14b (seeded from openkknd). Read MISSION.md.
Tasks:
1) cd /home/vx/src/openkknd-qwen14b
2) Use exec: ./build.sh — fix compile/link errors with real file edits
3) After green build: git init if needed, commit "kknd2: green build"
4) Write/update README.md (build + run)
5) Optional: fix cheap warnings (MAX_PARTICLES redefine) after green build
Do not touch /home/vx/openkknd or other openkknd-* trees.
Use tools (exec, read, write, edit). Report what you did and build status.

View file

@ -0,0 +1,170 @@
openkknd: compiling...
In file included from src/rng.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/config.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/png.c:8:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/snapshot.c:6:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
src/snapshot.c: In Funktion »snapshot_capture«:
src/snapshot.c:62:5: warning: diese »if«-Klausel beschützt nicht … [-Wmisleading-indentation]
62 | if (camx < 0) camx = 0; if (camy < 0) camy = 0;
| ^~
src/snapshot.c:62:29: note: … diese Anweisung, aber letztere ist verwirrend eingerückt, als wäre sie abhängig von »if«
62 | if (camx < 0) camx = 0; if (camy < 0) camy = 0;
| ^~
In file included from src/map.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
src/map.c: In Funktion »map_init«:
src/map.c:66:13: warning: Variable »pos« wird nicht verwendet [-Wunused-variable]
66 | int pos = rng_range(rng, 8, m->w - 9);
| ^~~
In file included from src/sprites.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/units.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/buildings.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/projectiles.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/render.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
src/render.c: In Funktion »render_buildings«:
src/render.c:106:17: warning: Variable »pct« wird nicht verwendet [-Wunused-variable]
106 | int pct = (int)(b->build * 100);
| ^~~
In file included from src/input.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/ai.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/audio.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/save.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/engine.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
In file included from src/main.c:1:
include/kknd.h:10:16: warning: »/*« innerhalb des Kommentars [-Wcomment]
10 | * matching src/*.c translation units.
include/kknd.h:277:9: warning: »MAX_PARTICLES« redefiniert
277 | #define MAX_PARTICLES 2048
| ^~~~~~~~~~~~~
include/kknd.h:46:9: note: dies ist die Stelle der vorherigen Definition
46 | #define MAX_PARTICLES 4000
| ^~~~~~~~~~~~~
src/main.c: In Funktion »main«:
src/main.c:50:16: warning: Variable »diff« gesetzt, aber nicht verwendet [-Wunused-but-set-variable=]
50 | Difficulty diff = DIFF_NORMAL;
| ^~~~
src/main.c: Auf höchster Ebene:
src/main.c:32:13: warning: »save_snapshot« definiert, aber nicht verwendet [-Wunused-function]
32 | static void save_snapshot(Game *g, int n) {
| ^~~~~~~~~~~~~
openkknd: built -> ./openkknd
usage: ./openkknd [--easy|--normal|--hard] [--load savegame.kknd]

View file

@ -0,0 +1,2 @@
[qwen2.5-coder:14b · 97809ms · ok]

View file

@ -0,0 +1,8 @@
```json
{
"name": "exec",
"arguments": {
"command": "cd /home/vx/src/openkknd-qwen14b && ./build.sh"
}
}
```

View file

@ -0,0 +1,42 @@
#!/usr/bin/env bash
set -uo pipefail
export PATH="$HOME/.local/bin:/usr/bin:$PATH"
export OLLAMA_API_KEY=ollama-local
export OLLAMA_HOST=127.0.0.1
export OPENCLAW_TIMEOUT=1200
LOGDIR="${1:?}"
PROMPT_Q14=$(cat "$LOGDIR/prompt-qwen14b.txt")
PROMPT_DS=$(cat "$LOGDIR/prompt-deepseek.txt")
echo "==== $(date -Is) QWEN14 start ====" | tee -a "$LOGDIR/master.log"
ollama-gpu stop hermes3:8b 2>/dev/null || true
ollama-gpu stop qwen2.5-coder:7b 2>/dev/null || true
ollama-gpu stop deepseek-coder:6.7b 2>/dev/null || true
"$HOME/agent-coder" --qwen14 -s openkknd-qwen14b "$PROMPT_Q14" \
>"$LOGDIR/qwen14b.out" 2>"$LOGDIR/qwen14b.err"
echo "qwen14 exit=$?" | tee -a "$LOGDIR/master.log"
tail -50 "$LOGDIR/qwen14b.out" | tee -a "$LOGDIR/master.log"
(cd "$HOME/src/openkknd-qwen14b" && ./build.sh) >"$LOGDIR/qwen14b-build.txt" 2>&1 || true
ls -la "$HOME/src/openkknd-qwen14b" | tee -a "$LOGDIR/master.log"
echo "==== $(date -Is) DEEPSEEK start ====" | tee -a "$LOGDIR/master.log"
ollama-gpu stop qwen2.5-coder:14b 2>/dev/null || true
ollama-gpu stop qwen2.5-coder:7b 2>/dev/null || true
ollama-gpu stop hermes3:8b 2>/dev/null || true
"$HOME/agent-coder" --deepseek -s openkknd-deepseek "$PROMPT_DS" \
>"$LOGDIR/deepseek.out" 2>"$LOGDIR/deepseek.err"
echo "deepseek exit=$?" | tee -a "$LOGDIR/master.log"
tail -50 "$LOGDIR/deepseek.out" | tee -a "$LOGDIR/master.log"
(cd "$HOME/src/openkknd-deepseek" && ./build.sh) >"$LOGDIR/deepseek-build.txt" 2>&1 || true
ls -la "$HOME/src/openkknd-deepseek" | tee -a "$LOGDIR/master.log"
echo "==== $(date -Is) DONE ====" | tee -a "$LOGDIR/master.log"
# summary
for d in openkknd-qwen14b openkknd-deepseek; do
echo "-- $d --" | tee -a "$LOGDIR/master.log"
test -x "$HOME/src/$d/openkknd" && echo binary=yes || echo binary=no
test -f "$HOME/src/$d/README.md" && echo README=yes || echo README=no
test -d "$HOME/src/$d/.git" && echo git=yes || echo git=no
done | tee -a "$LOGDIR/master.log"