Zmiany

Skocz do: nawigacji, wyszukiwania
/* Designing a programme that simulates sprite races */
* ''which way they will move – to the right, to the left, and maybe up or down''
*** ''selecting the direction from left to right seems natural, because this is in accordance with the direction of reading, and has the advantage of sprites being able to travel a longer distance,''
* ''how to determine the running speed of individual sprites so that each time the programme is started each sprite has a chance to win,''
*** ''e.g. sprites can move by a random, small (e.g. between 1 and 5) number of steps, and such a random selection should take place before each sprite moves on the board – until one of them crosses the finish line,''
197
edycji