Ignore:
Timestamp:
Oct 5, 2019, 11:29:11 PM (5 years ago)
Author:
chronos
Message:
  • Added: Help windows with instructions how to play.
  • Added: With 10% chance create new random tile with value 4 instead of 2.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormNew.pas

    r20 r28  
    1616    ButtonCancel: TButton;
    1717    ButtonOk: TButton;
     18    CheckBoxUndoEnabled: TCheckBox;
    1819    ComboBoxSize: TComboBox;
    1920    Label1: TLabel;
     
    4647begin
    4748  ComboBoxSize.ItemIndex := Game.Board.Size.X - 2;
     49  CheckBoxUndoEnabled.Checked := Game.UndoEnabled;
    4850end;
    4951
     
    5153begin
    5254  Game.Board.Size := Point(2 + ComboBoxSize.ItemIndex, 2 + ComboBoxSize.ItemIndex);
     55  Game.UndoEnabled := CheckBoxUndoEnabled.Checked;
    5356end;
    5457
Note: See TracChangeset for help on using the changeset viewer.