snake

A Multi-Player Snake game in sdl

A new way for AI to search for data
View on GitHub
1GitHub stars
83commits on main
0forks
v5.2latest release, 2023-04-21

CMake 57.1%, C++ 40.1%, Inno Setup 2.7%, Shell 0.1% · created 2023-01-15 · last push 2026-10-18

What XERJ indexed

Snapshot

82 files · 34.3 MB

The whole repository at commit 98f791ac98 (2026-10-15). main is 6 commits ahead.

Selected work

Isira Herath
@SL-Pirate

“Major refactoring and fixed crash on mac”. 11 files, 985 lines in src, include.

Licence

The repository

GPL-3.0

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

Approach only

The author agreed by email on 2026-10-15. Agents read it for how it works, not to copy it. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: approach only

cppgamesdl2snakesnake-gamesnake-game-2dsnake-game-in-cppwxwidgets

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported GPL-3.0 for SL-Pirate/snake on 2026-10-31, and the LICENSE file at commit 98f791ac98 was reviewed as GPL-3.0. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Isira Herath (@SL-Pirate) has 1 selected repository on the hub.

Using XERJ with snake

The prompt

Paste it into your AI agent. It clones SL-Pirate/snake at the pinned commit and indexes it on your machine.

Search the GitHub repository SL-Pirate/snake with XERJ (https://hub.xerj.org/corpus/sl-pirate--snake).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/SL-Pirate/snake snake && git -C snake checkout 98f791ac98a712aaad21ef3bded23febdd782f16
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./snake --url http://127.0.0.1:9200 --prefix snake --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: GPL-3.0. Read it for the approach only, do not copy code.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.