Created
January 2, 2020 21:05
-
-
Save neslinesli93/c2288e851e3f9a88e9d5aac3ba2db869 to your computer and use it in GitHub Desktop.
Make game loop handle paddle advance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@spec game_loop(Socket.t()) :: Socket.t() | |
defp game_loop(socket) do | |
socket | |
|> advance_paddle() | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment