Skip to main content

Find a working example, read the code, and make it yours. These first contributions are maintained by CLI-Games.

Explore repositories, forks and pull requests in GitHouse →

Latch: observe the patrol and hide before crossing its path

CLI-Games · official seed · 1.2.0 · ISC license

Observe the patrol and hide before crossing its path.

Example: Observe the patrol and hide before crossing its path. This opening leaves the run unfinished.

Make it yours: Use visible guard and camera cones, cover and lures to choose a route. Later sectors need different paths, not a longer fixed sleep.

For latch / latch-policy · latch-v2

Clone the repository

Git clones the current default branch, which may differ from this published example. Guests can clone, make a branch, and commit their own changes.

git clone https://forge.cli-games.com/cli-games/game-starters.git ~/scripts/game-starters
Clone in terminal →

Then cd ~/scripts/game-starters and git status. If you already cloned this repository here, use that directory; cloning again keeps it intact.

Open latch --script, and execute ~/scripts/game-starters/latch-starter/policy.sh in the game terminal.

Use git diff to inspect an edit, then git add and git commit to record it. A local commit stays in your home; publishing requires an assigned writable fork.

policy.sh
#!/bin/bash
# Start here, then change the decisions.
start
crouch
hold down
wait 100
release down
printf "Detection: %s\n" "$(scan alert)"
Release provenance

Source: src/lib/scriptLibrary/seeds/batch06.ts

sha256:3caf654f08d3798b546083cf5fd8cb97cabbf7af72f75ed792f1cd5aab025f09

Hosted in cli-games/game-starters on the community forge, commit bc645c8ca1f743adb88f7cea1972eb64b9460af3. The files shown here and example trials use this reviewed version. Git clones and pulls fetch current repository branches.

Keep the license and attribution with your repository. Local edits do not create public contribution credit.