let print_scene (y, v) =
do Console.Clear()
let y, v = int y, int v (* This is the code in question *)
for j = 10 downto 0 do
for i = 0 to 30 do
if (y + 1) = j && i = 15 then
Console.Write("b")
elif j = 0 || i = 0 || j = 10 || i = 30 then
Console.Write("*")
else
Console.Write(" ")
Console.Write("\n")
ignore(Console.ReadKey())
I don't understand what the int
is doing in this code, what it is, or why it's there.