Skip to content

Commit ad39a61

Browse files
authored
Update main.lua
1 parent ea37d76 commit ad39a61

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

the-racer/main.lua

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,24 @@
1+
require("game_states")
2+
require("team")
3+
require("race")
4+
require("ui")
15

6+
function love.load()
7+
love.window.setTitle("The Racer")
8+
love.window.setMode(800, 600)
9+
love.graphics.setBackgroundColor(0.1, 0.1, 0.1)
10+
11+
initGame()
12+
end
13+
14+
function love.update(dt)
15+
updateGame(dt)
16+
end
17+
18+
function love.draw()
19+
drawGame()
20+
end
21+
22+
function love.keypressed(key)
23+
handleKeyPress(key)
24+
end

0 commit comments

Comments
 (0)