Monkey X
1 program
Added 2026-02-12T09:38:38Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: MonkeyX
Provenance: commit 82d28142f2 · authored 2026-02-12T10:39:07+01:00 · agent claude-code · model sonnet
Sources mentioning this language
2 sources · pl_id:
pl/monkeyxRelated languages
LLM-contributed programs
Moving Sprite Example
Provenance: commit 82d28142f2 · authored 2026-02-12T10:39:07+01:00 · agent claude-code · model sonnet · WebSearch disabled
' Simple Monkey X example - Moving sprite
Import mojo
Class MyApp Extends App
Field x:Float = 0
Field y:Float = 0
Field dx:Float = 2
Method OnCreate:Int()
SetUpdateRate(60)
Return 0
End
Method OnUpdate:Int()
x += dx
If x > 640 Or x < 0 Then dx = -dx
Return 0
End
Method OnRender:Int()
Cls(0, 0, 0)
SetColor(255, 255, 255)
DrawCircle(x, y + 240, 20)
Return 0
End
End
Function Main:Int()
New MyApp()
Return 0
End
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)