Computer Science Canada

Snakes and Ladders Board

Author:  Mischief [ Thu Jan 11, 2018 10:05 am ]
Post subject:  Snakes and Ladders Board

What is it you are trying to achieve?
Im trying to make a Snakes and Ladder Board, including numbers.


What is the problem you are having?
I have made the Snakes and Ladders board, but I don't know how to put the numbers in the top without doing it manually.


Describe what you have tried to solve this problem
Tried doing it manually (Waste of time, taking to long)

That is the code i am using to make the board.

Turing:


for x : 1 .. 6
for y : 1 .. 6
drawfillbox (x * 50, y * 50 - 1, x * 50 - 50, y * 50 - 50, ((x+y*7) mod 2) * black)
end for
end for




Please specify what version of Turing you are using
Believe 4.0+ (Not for sure, definitely in the fours.)


: