done for tonight

This commit is contained in:
Simon Kellet
2024-07-21 21:24:12 +01:00
parent cdc0f35f22
commit 9e968b9390
12 changed files with 54 additions and 22 deletions
+1 -2
View File
@@ -6,8 +6,7 @@ local function winner()
if _G.P1_WIN then
s = "P1 Win! R - Restart"
end
if _G.P2_WIN then
elseif _G.P2_WIN then
s = "P2 Win! R - Restart"
end
+7
View File
@@ -0,0 +1,7 @@
function WinKeyPressed(key)
if key == "r" then
RestartGame()
_G.GAMESTATE = "GAME"
love.load()
end
end