Initial Commit
This commit is contained in:
commit
de4328aaba
5 changed files with 44 additions and 0 deletions
17
pacman/game.go
Normal file
17
pacman/game.go
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
rl "github.com/gen2brain/raylib-go/raylib"
|
||||
)
|
||||
|
||||
func main() {
|
||||
rl.InitWindow(400, 300, "pacman")
|
||||
defer rl.CloseWindow()
|
||||
|
||||
for !rl.WindowShouldClose() {
|
||||
rl.BeginDrawing()
|
||||
rl.ClearBackground(rl.Black)
|
||||
rl.DrawText("Hello World", 0, 0, 24, rl.White)
|
||||
rl.EndDrawing()
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue