Skip to content

Instantly share code, notes, and snippets.

View fredriksa's full-sized avatar
🏠
Working from home

fredriksa

🏠
Working from home
View GitHub Profile
require 'socket'
require 'gosu'
class GameWindow < Gosu::Window
def initialize
super 640, 480, false
self.caption = "Client"
@image = Gosu::Image.new(self,"headcrab.bmp",false)
@x, @y = get("x"), get("y")
end