2024-11-10 19:03:01 -06:00
|
|
|
sunset := @use("../../../libraries/sunset_proto/src/lib.hb")
|
2024-11-13 11:03:31 -06:00
|
|
|
render := @use("../../../libraries/render/src/lib.hb")
|
2024-11-10 12:57:48 -06:00
|
|
|
|
|
|
|
main := fn(): void {
|
2024-11-13 11:03:31 -06:00
|
|
|
screen := render.init(true)
|
2024-11-11 15:48:43 -06:00
|
|
|
sunset.server.start()
|
2024-11-13 11:03:31 -06:00
|
|
|
loop if sunset.server.incoming() {
|
|
|
|
sunset.server.render_clients(screen)
|
2024-11-10 12:57:48 -06:00
|
|
|
}
|
|
|
|
}
|