mirror of
https://github.com/SleepingInsomniac/pixelfaucet
synced 2024-12-27 21:58:46 +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!
|