itdominator c95cc511e6 feat(game): refactor ball state and turn handling
* Replace `valid_end` with `is_foul` for invalid ball sinks
* Rename and centralize ball state tracking
* Add ball finalization and win-condition hooks
* Update turn switching to retain the player after valid sinks
* Apply negative points to reaped balls
* Add active-player indicator to the camera UI
* Emit active-player updates when the turn changes
2026-08-12 22:14:03 -05:00
2026-08-07 02:50:54 -05:00
2026-08-07 02:50:54 -05:00
2026-08-07 03:06:52 -05:00
2026-08-07 02:50:54 -05:00
2026-08-07 02:50:54 -05:00
2026-08-07 02:50:54 -05:00
2026-08-07 02:50:54 -05:00
2026-08-07 02:50:54 -05:00
2026-08-07 03:08:08 -05:00

Running the Lobby Server

Note: The lobby server looks for a local script named game.sh.

Lobby Server

From the Editor

Debug → Customize Run Instance

--name_billiards server game_port_range 5000:5010

From the Command Line

./lobby_server.sh --name_billiards server game_port_range 5000:5010

Connecting Clients

From the Editor

Debug → Customize Run Instance

Host a game:

--client host_snooker bobs_game

Join a game:

--client join bobs_game

From the Command Line

Connect Directly to a Game Server

Start a server:

./billiards.sh --server_5001 game snooker

Join the server:

./billiards.sh --join_server 127.0.0.1 5001

Connect Through the Lobby Server

Host a game:

./billiards.sh --client host_snooker bobs_game

Join a game:

./billiards.sh --client join bobs_game
Description
No description provided
Readme 6.1 MiB
Languages
GDScript 100%