Skip to content
CAI
Software that uses CAICheck a score

patorjk/JavaScript-Snake

39.7

Weak · 17 November 2026

1.6k

lines of production code

JavaScript

primary language

1

measurement over time

CAI band scale
CAI lens gauges

What this system is

Behavioural changes

11 commits (0 fixes) modifying src/js

A change to existing behaviour in src/js — 11 commits, 3 files: “initial work on gamepad”; “Dos design (\#151)”; “update”; and 7 more (refs \#151, \#148).

src/js · medium confidence · unverified

12 commits (1 fix) modifying src/css

A change to existing behaviour in src/css — 12 commits (1 fix), 58 files: “added new theme”; “Added new theme, (Another test)”; “Add new blue snake theme”; and 9 more (refs \#151).

src/css · medium confidence · unverified

20 commits (3 fixes) modifying src

A change to existing behaviour in src — 20 commits (3 fixs), 2 files: “added new theme”; “initial work on gamepad”; “fixes”; and 15 more (refs \#151, \#148).

src · medium confidence · unverified

46 commits (13 fixes) modifying js

A change to existing behaviour in js — 46 commits (13 fixs), 1 file: “Update snake.js”; “general cleanup and fixes”; “removed highscore function”; and 40 more (refs \#116).

js · medium confidence · unverified

66 commits (4 fixes) modifying (repo-wide)

A change to existing behaviour in (repo-wide) — 66 commits (4 fixs), 6 files: “docs: update README.md”; “docs: update .all-contributorsrc”; “.gitignore fix”; and 29 more (refs \#116).

(repo-wide) · low confidence · unverified

Dependencies

13 commits updating dependencies (2 manifests)

A dependency / build maintenance change in (dependencies) — 13 commits, 2 files: “main change”; “entry change”; “Bump js-yaml from 4.1.0 to 4.1.1”; and 9 more (refs \#150, \#149).

(dependencies) · medium confidence · unverified

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Baseline

  • First survey — no prior run to compare against. CAI 39.7.

Lenses

  • Code Health 71.6
  • Architecture 100.0
  • Maturity 50.3
  • Readiness 15.4
  • Security 100.0
  • Accessibility 54.8

Changes since last survey

  • 266 commits — 243 feature/other, 23 fixes

By area

  • (root) — 98 commits
  • (repo) — 68 commits
  • js/snake.js — 31 commits
  • src/css — 12 commits
  • css/main-snake.css — 10 commits
  • css/images — 9 commits
  • css/dark-snake.css — 8 commits
  • src/js — 7 commits
  • src/index.html — 5 commits
  • js/init.js — 3 commits
  • css/snake.css — 2 commits
  • js/min-snake.js — 2 commits
  • node_modules/caniuse-lite — 2 commits
  • .vscode/launch.json — 1 commit
  • css/Senura-snake.css — 1 commit
  • css/green-snake.css — 1 commit
  • css/light-snake.css — 1 commit
  • css/neon-snake.css — 1 commit
  • css/teal-snake.css — 1 commit
  • dist/css — 1 commit

Notable commits

  • fix: .gitignore fix
  • fix: Add win condition and fix invalid food placement
  • fix: Fix Highscore bug
  • fix: Fix a bug where highscore did not save on first game.
  • fix: Fix issue #116: Refactor var to let and const
  • fix: Fix starting move
  • fix: Fixed bug in move queue
  • fix: Merge pull request #128 from Thomassteers/bug-fix-small-feature-UI-improvement-docs-test
  • fix: Revert to original.
  • fix: Text selection fix
  • fix: fix
  • fix: fix
  • fix: fix move queue
  • fix: fix themes to make them easier to add
  • fix: fixed 180 degrees turn bug
  • fix: fixed initial state head color
  • fix: fixed pause premove for all direction
  • fix: fixed theme selection on reload
  • fix: fixed wandering head
  • fix: fixes
  • …and 246 more

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

patorjk/JavaScript-Snake was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 17 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 3243086c0badb4b4c6bedfe6d95d5a52a7caaa88 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.85+preprod-eba6548ac50f.