Jul 10, 2024
nil
, number
, string
, boolean
, table
.+
, -
, *
, /
, ^
, %
.==
, ~=
, <
, >
, <=
, >=
.and
, or
, not
.for
, while
, repeat
-until
).function
keyword.return
.{}
to define tables.table.insert
, table.remove
, table.concat
.pet
and dog
objects.main.lua
file.love.load
: Initialize game.love.update
: Update game state.love.draw
: Render game.love.graphics
to draw shapes (rectangle
, circle
, etc).love.graphics.setColor
.menu
, paused
, running
, ended
.love.audio
.math.randomseed
.