Initial CST-Agent: portable Linux/Termux/Windows coding agent.
Vendored sashidown, OpenAI-compatible env (OPENAI_*), and bootstrap scripts. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
Write a complete C++ terminal Snake game in this workspace.
|
||||
|
||||
Requirements:
|
||||
1. Single file `snake.cpp` (C++17 ok). Use POSIX terminal I/O: raw mode or ncurses; WASD or arrow keys; quit with `q`.
|
||||
2. Features: moving snake, food, grow on eat, wall or self collision ends game, score printed, board roughly 20x20 or similar.
|
||||
3. `Makefile` with target `snake` that runs `g++ -O2 -o snake snake.cpp` (link `-lncurses` only if you use ncurses).
|
||||
4. After writing, run `make` to verify it compiles. Do not need an interactive play session.
|
||||
5. Brief README.md with how to build and run.
|
||||
|
||||
Use write_file / run_shell tools. Prefer implementing yourself rather than downloading.
|
||||
Reference in New Issue
Block a user