Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SethGammon/Citadel
/ put
Method
put
scripts/grid.cjs:51–55 ·
view source on GitHub ↗
(x, y, char)
Source
from the content-addressed store, hash-verified
49
}
50
51
put(x, y, char) {
52
if
(x >= 0 && x < this.w && y >= 0 && y < this.h) {
53
this.cells[y][x] = char;
54
}
55
}
56
57
text(x, y, str) {
58
for
(
let
i = 0; i < str.length; i++) {
Callers
5
text
Method · 0.95
box
Method · 0.95
hArrow
Method · 0.95
vArrow
Method · 0.95
container
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected