Bruno Coudoin
(searace1player.xml)
Tekne yarışı (tek oyuncu)
Yarışta birinci olmak için geminize iyi komutlar vermelisiniz.
Bu etkinlikte bilgisayara komutları nasıl gireceğinizi öğreneceksiniz. Buradaki dil çok basit de olsa, nasıl program oluşturulabileceği hakkında fikir sahibi olacaksınız. Bu etkinlik çocukları bilgisayar programlama kavramı ile tanıştırmak için kullanılabilir.
In the text entry, enter one command per line, to control your boat. Commands supported are displayed between the two entry areas. The 'left' and 'right' commands must be followed by an angle in degrees. The angle value is also called a 'parameter' to the left or right command. By default 45 degrees is used. The 'forward' command accepts a distance parameter. By default 1 is used.
For example:
- left 90: Make a perpendicular left turn
- forward 10: Go forward for 10 units (as displayed on the ruler).
The goal is to reach the right of the screen (the red line). When done, you can try to improve your program and start a new race with the same weather conditions by using the retry button. You can click and drag your mouse anywhere on the map to get a measurement in distance and angle. Going to the next level will give you more complex weather conditions.