Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions fighters/eliot5566.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Example entry for Jev Arena Season 1. Copy this file, rename it to
# fighters/<your-github-handle>.yaml, and make it your own.
#
# Before opening a PR, check it from your fork's folder (no API key needed):
# npm install
# npx jev-arena smoke fighters/<your-github-handle>.yaml
# CI runs the same smoke test and shows the results table on the check's summary page.

name: Counterpunch # up to 24 characters, must be unique on the ladder
author: Eliot5566 # your GitHub handle
tagline: Let them swing first.
color: "#2dd4bf" # any "#rrggbb" color

# The part that matters: plain English, up to 700 characters.
# Describe situations the brain can see, not coordinates.
strategy: >
I fight at medium range and let the enemy commit first. When a heavy shot is charging,
I strafe out of its line, then punish with bolts while the enemy recovers. If the enemy
rushes in, I shield the first punch and answer with melee. I take cover only to recharge,
and when the zone starts closing I move to the center early instead of getting caught outside.

# Optional notes on single moves, up to 160 characters each.
actions:
melee: Only right after blocking a punch, or when the enemy is stunned.
charge: Only when the enemy is stunned or standing still.

# Optional yes/no checks (up to 4). When Jev is at least `threshold` sure the
# sentence is true, the move fires immediately, overriding the strategy.
reflexes:
- when: A heavy shot is flying at me and will hit within half a second.
do: dash
threshold: 0.7
- when: The enemy is in melee range and about to punch me.
do: shield
threshold: 0.75

fallback: strafe_left # movement used when the brain is unsure
min_confidence: 0.25 # below this confidence, use the fallback instead
Loading