using Godot; public partial class Game : Node2D { [Export] public string GameTitle = "Zvaigžņu duelis"; [Export] public string LeftName = "Komēta"; [Export] public string RightName = "Meteors"; [Export] public string Mission = "Divas kosmosa komandas sacenšas par enerģijas kodolu."; [Export] public string VictoryText = "Enerģijas kodols ir nogādāts mājās!"; [Export(PropertyHint.Range, "1,20,1")] public int TargetScore = 5; public int ScoreLeft { get; private set; } = 0; public int ScoreRight { get; private set; } = 0; public bool GameOver { get; private set; } = false; private Ball ball; private Paddle left; private Paddle right; private Label score; private Label message; private int serveDirection = 1; public override void _Ready() { ball = GetNode("Ball"); left = GetNode("PaddleLeft"); right = GetNode("PaddleRight"); score = GetNode