Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
cricri-pingouin authored Apr 28, 2020
1 parent e259e6e commit f4c3bcd
Show file tree
Hide file tree
Showing 36 changed files with 5,640 additions and 0 deletions.
Binary file added HIGHSCORES.dcu
Binary file not shown.
Binary file added HIGHSCORES.ddp
Binary file not shown.
39 changes: 39 additions & 0 deletions HIGHSCORES.dfm
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
object Form3: TForm3
Left = 886
Top = 420
BorderStyle = bsDialog
Caption = 'High Scores'
ClientHeight = 277
ClientWidth = 405
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
Scaled = False
OnShow = FormShow
PixelsPerInch = 120
TextHeight = 16
object strngrdHS: TStringGrid
Left = 0
Top = 0
Width = 537
Height = 385
ColCount = 4
RowCount = 11
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -18
Font.Name = 'MS Sans Serif'
Font.Style = []
ParentFont = False
TabOrder = 0
ColWidths = (
34
206
80
79)
end
end
43 changes: 43 additions & 0 deletions HIGHSCORES.pas
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
unit HIGHSCORES;

interface

uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, JEWEL;

type
TForm3 = class(TForm)
strngrdHS: TStringGrid;
procedure FormShow(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;

var
Form3: TForm3;

implementation

{$R *.dfm}

procedure TForm3.FormShow(Sender: TObject);
var
I: Integer;
begin
strngrdHS.Cells[1, 0] := 'Name';
strngrdHS.Cells[2, 0] := 'Jewels';
strngrdHS.Cells[3, 0] := 'Score';
for I := 1 to 10 do
begin
strngrdHS.Cells[0, I] := IntToStr(I);
strngrdHS.Cells[1, I] := Form1.HSname[I];
strngrdHS.Cells[2, I] := IntToStr(Form1.HSjewels[I]);
strngrdHS.Cells[3, I] := IntToStr(Form1.HSscore[I]);
end;
end;

end.

Binary file added JEWEL.dcu
Binary file not shown.
Binary file added JEWEL.ddp
Binary file not shown.
886 changes: 886 additions & 0 deletions JEWEL.dfm

Large diffs are not rendered by default.

Loading

0 comments on commit f4c3bcd

Please sign in to comment.