Changeset 90 for trunk/Game.pas


Ignore:
Timestamp:
Jun 7, 2024, 7:32:09 PM (5 months ago)
Author:
chronos
Message:
  • Modified: Snap package updated to core22.
  • Modified: Calculate different win tile value for different board sizes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Game.pas

    r89 r90  
    614614  I: Integer;
    615615  Tile: TTile;
     616const
     617  Difficulty = 0.7;
    616618begin
    617619  FCanUndo := False;
    618620  Board.Clear;
     621  WinTileValue := Round((Board.Size.X * Board.Size.Y) * Difficulty);
    619622  Score := 0;
    620623  Running := True;
Note: See TracChangeset for help on using the changeset viewer.