Initial commit

Server-authoritative Godot 4.6 strategy game.

Includes the headless WebSocket game server, the browser client, and
Nix packaging (server and web-export derivations plus a NixOS module)
for deployment.
This commit is contained in:
2026-09-15 14:48:34 +02:00
commit c49899a2fd
310 changed files with 15158 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
{
description = "Battle for 'Tismo — dedicated server and web client";
# Must provide Godot 4.6 and matching export templates. nixos-26.05 does.
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
outputs =
{ self, nixpkgs }:
let
systems = [
"x86_64-linux"
"aarch64-linux"
];
in
{
packages = nixpkgs.lib.genAttrs systems (
system:
let
pkgs = import nixpkgs { inherit system; };
built = pkgs.callPackage ./nix/package.nix { };
in
{
inherit (built) server web;
default = built.server;
}
);
nixosModules.default = import ./nix/module.nix;
};
}