summaryrefslogtreecommitdiff
path: root/test/main.lua
blob: d44419229a5df2261865d8e0ae41b405b9b16227 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
for i = 0, 3 do
	print(string.format("Hi %d times", i))
end

local file = io.open("test/test.txt", "r")
local content = file:read("*a")
print(content)
file:close()

open_window(600, 600, "My Game")
set_fps(60)

while not window_should_close() do
	begin_drawing()
	clear_window()

	draw_fps()
	end_drawing()
end

close_window()