mirror of
https://github.com/SleepingInsomniac/pixelfaucet
synced 2024-11-16 07:47:36 +01:00
14 lines
201 B
Crystal
14 lines
201 B
Crystal
require "../src/game"
|
|
|
|
module PF
|
|
class Static < Game
|
|
def update(dt)
|
|
end
|
|
|
|
def draw
|
|
screen.pixels.fill { PF::Pixel.random.to_u32 }
|
|
end
|
|
end
|
|
end
|
|
|
|
PF::Static.new(400, 300, 3).run!
|