Changeset 103 for trunk/Forms


Ignore:
Timestamp:
May 21, 2024, 3:55:43 PM (6 months ago)
Author:
chronos
Message:
  • Fixed: Destroying other player didn't end the round.
  • Modified: End the game after three wins of the best player.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormMain.pas

    r101 r103  
    7777
    7878resourcestring
    79   SRound = '%0:s of %1:s';
     79  SRound = '%0:s';
    8080
    8181{ TFormMain }
     
    9595        //  IntToStr(TPlayer(Engine.Players[0]).Direction);
    9696        StatusBar1.Panels[2].Text := FloatToStr(RoundTo(Engine.DrawDuration / OneMillisecond, -2));
    97         StatusBar1.Panels[3].Text := Format(SRound, [IntToStr(Engine.CurrentRound),
    98           IntToStr(Engine.MaxRound)]);
     97        StatusBar1.Panels[3].Text := Format(SRound, [IntToStr(Engine.CurrentRound)]);
    9998      finally
    10099        Engine.Lock.Release;
Note: See TracChangeset for help on using the changeset viewer.