|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: B T
Length: 823 (0x337)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
└─⟦2f6cfab89⟧ Bits:30000547 8mm tape, Rational 1000, !projects 94-01-04
└─⟦d65440be7⟧ »DATA«
└─⟦this⟧
procedure Magic_Strategy (Mysize : Magic.Max_Size) is
Mysquare : Magic.Square (Size => Mysize);
Counter : Magic.Token := 1;
begin
Magic.Go_To_Center (Mysquare);
Magic.Move (Mysquare, Magic.North);
Magic.Deposit (Mysquare, Counter);
while Integer (Counter) < Integer (Mysize) ** 2 loop
Counter := Magic.Token'Succ (Counter);
loop
Magic.Move (Mysquare, Magic.North);
Magic.Move (Mysquare, Magic.East);
if Magic.Cell_Busy (Mysquare) then
Magic.Move (Mysquare, Magic.North);
Magic.Move (Mysquare, Magic.West);
end if;
exit when not Magic.Cell_Busy (Mysquare);
end loop;
Magic.Deposit (Mysquare, Counter);
end loop;
Magic.Display (Mysquare);
end Magic_Strategy;