Ignore:
Timestamp:
Oct 5, 2019, 12:48:02 AM (5 years ago)
Author:
chronos
Message:
  • Added: Show wing dialog message if player gets cell with value 2048.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r11 r12  
    6262    if not Core.Game.CanMove and (Core.Game.GetEmptyCellsCount = 0) then
    6363      Core.Game.GameOver;
     64    if (not Core.Game.Won) and (Core.Game.GetHighestCellValue >= 2048) then
     65      Core.Game.Win;
    6466  end;
    6567end;
Note: See TracChangeset for help on using the changeset viewer.