Merge pull request #384 from baka0815/pascal_randomize

AceyDucey/pascal: Move Randomize()
This commit is contained in:
Jeff Atwood
2022-01-03 10:30:25 -08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -85,6 +85,7 @@ end;
constructor TGame.Create;
begin
Randomize;
FDeck:= TDeck.Create;
end;
@@ -99,7 +100,6 @@ begin
ClrScr;
PrintGreeting;
repeat
Randomize;
FStash:= 100;
repeat
PrintBalance;

View File

@@ -118,10 +118,10 @@ begin
end;
begin
Randomize;
ClrScr;
PrintGreeting;
repeat
Randomize;
Stash:= 100;
repeat
PrintBalance;