init two_player_cleaning_game

This commit is contained in:
Travis Shears 2026-04-03 16:40:35 +02:00
parent 050c02b3b0
commit 6b2980ffe6
Signed by: travisshears
GPG key ID: CB9BF1910F3F7469
4 changed files with 17 additions and 6767 deletions

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1 @@
/Users/she0001t/personal_projects/fennel_love2d_experiments/fennel-1.5.3.lua

View file

@ -0,0 +1,15 @@
(fn love.load []
;; start a thread listening on stdin
(: (love.thread.newThread "require('love.event')
while 1 do love.event.push('stdin', io.read('*line')) end") :start))
(fn love.handlers.stdin [line]
;; evaluate lines read from stdin as fennel code
(let [(ok val) (pcall fennel.eval line)]
(print (if ok (fennel.view val) val))))
(fn love.draw []
(love.graphics.print "Hello from Fennel!\nPress any key to quit" 10 10))
(fn love.keypressed [key]
(love.event.quit))

View file

@ -0,0 +1 @@
/Users/she0001t/personal_projects/fennel_love2d_experiments/fennel_bootstrap.lua