├── .gitignore ├── LICENSE ├── Shader ├── shader.frag └── shader.vert ├── Textures ├── 0.png ├── 1.png ├── 2.png ├── 3.png ├── 4.png ├── 5.png ├── 6.png ├── 7.png ├── 8.png └── 9.png ├── client └── client.go ├── game ├── Events.c ├── Events.h ├── Renderer.c ├── Renderer.h ├── ball.go ├── game.go └── player.go ├── go.mod ├── go.sum ├── main.go ├── readme.md ├── server ├── client.go ├── lobby.go └── server.go └── snaps ├── snap-1.gif ├── snap-2.gif └── snap-3.png /.gitignore: -------------------------------------------------------------------------------- 1 | .vscode 2 | go-pong 3 | *.xcf 4 | .fleet -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/LICENSE -------------------------------------------------------------------------------- /Shader/shader.frag: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/Shader/shader.frag -------------------------------------------------------------------------------- /Shader/shader.vert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/Shader/shader.vert -------------------------------------------------------------------------------- /Textures/0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/Textures/0.png -------------------------------------------------------------------------------- /Textures/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/Textures/1.png -------------------------------------------------------------------------------- /Textures/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/Textures/2.png -------------------------------------------------------------------------------- /Textures/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/Textures/3.png -------------------------------------------------------------------------------- /Textures/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/Textures/4.png -------------------------------------------------------------------------------- /Textures/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/Textures/5.png -------------------------------------------------------------------------------- /Textures/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/Textures/6.png -------------------------------------------------------------------------------- /Textures/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/Textures/7.png -------------------------------------------------------------------------------- /Textures/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/Textures/8.png -------------------------------------------------------------------------------- /Textures/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/Textures/9.png -------------------------------------------------------------------------------- /client/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/client/client.go -------------------------------------------------------------------------------- /game/Events.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/game/Events.c -------------------------------------------------------------------------------- /game/Events.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/game/Events.h -------------------------------------------------------------------------------- /game/Renderer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/game/Renderer.c -------------------------------------------------------------------------------- /game/Renderer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/game/Renderer.h -------------------------------------------------------------------------------- /game/ball.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/game/ball.go -------------------------------------------------------------------------------- /game/game.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/game/game.go -------------------------------------------------------------------------------- /game/player.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/game/player.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module go-pong 2 | 3 | go 1.17 4 | 5 | require github.com/gorilla/websocket v1.4.2 6 | -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/go.sum -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/main.go -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/readme.md -------------------------------------------------------------------------------- /server/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/server/client.go -------------------------------------------------------------------------------- /server/lobby.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/server/lobby.go -------------------------------------------------------------------------------- /server/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/server/server.go -------------------------------------------------------------------------------- /snaps/snap-1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/snaps/snap-1.gif -------------------------------------------------------------------------------- /snaps/snap-2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/snaps/snap-2.gif -------------------------------------------------------------------------------- /snaps/snap-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Red1C3/go-pong/HEAD/snaps/snap-3.png --------------------------------------------------------------------------------