YayPlays

How to play

Sail Regatta: Choose a level
1Choose a level
Sail Regatta: In play
2In play

Controls

Drag
  1. Drag left or right to steer, drag the right edge to trim the sail.
  2. Zig-zag to go upwind.
  3. Keys: Left/Right steer, Up/Down trim.

Sail Regatta: all 15 races on the podium, after a fix to our own edge rule

All 15 races ended on the podium, eight of them in first place, for 33 of the 45 stars. Races 8, 9 and 14 needed a second try. The first six versions of our script reached race 10 and then finished race 11 fifth three times; replaying race 11 offline with the game's published boat and wind rules showed that our own rule for keeping off the course edges pushed the boat away from the reach mark on triangle courses. Version 7 fixed that and won races 11, 12 and 15. The boat was steered by a script that read the wind at the boat many times a second and held the arrow keys, steadier than a person; the rivals' steering was never used.

Tacking to the marks

  • Top-down dinghy racing around buoys against four rivals. Steer with the arrows or by dragging; speed follows a real polar, with a no-go zone within about 38 degrees of the wind and the fastest point on a beam reach.
  • Upwind marks need zig-zag tacks, and every tack bleeds speed as the bow passes through the wind.
  • Dark patches on the water are wind shifts and puffs: stronger wind, swung by up to 20 degrees. Rivals read them too, better as you climb.
  • 15 races: upwind sprints, then windward/leeward, then triangles. A podium place unlocks the next race; stars are 3 for first, 2 for second, 1 for third.
Race 1: the tip Zig-zag upwind: tack!, 87 m to the mark.
Race 1: the tip Zig-zag upwind: tack!, 87 m to the mark.

How the boat was sailed

About fifteen times a second the script read the wind at the boat and picked the heading that makes the best speed toward the next mark from the boat's speed curve. It stayed on its tack unless the other tack was at least 10 percent better, kept off the course edges, and turned with the arrow keys. It also trimmed with Up and Down until the sail sat at its best setting, instead of leaving the slightly loose automatic trim. It never looked for the dark patches ahead.

The script's own faults: version 1 read the result 2.5 seconds after crossing the line, before the game had decided it, and so counted a first place and a second place as losses. Versions 2 to 6 fixed waiting for the result, reading it from the game's own flags, and opening the next race from the race list when the NEXT button did not respond after a third place. Version 7, from race 11, changed the sailing rule: no edge rule while the next mark itself lies in the edge band, a switch to the other tack only when it is at least 35 percent better, and a new reading every 40 milliseconds instead of 55.

RacesCoursePlaces (time in seconds)Stars
1-2upwind sprint1st (41), 1st (43)3, 3
3-6windward/leeward1st (53), 3rd (76), 1st (71), 1st (72)3, 1, 3, 3
7-10triangle3rd (97), 3rd (119), 3rd (134), 2nd (114)1, 1, 1, 2
11 (versions 1-6)triangle5th three times-
11-15 (version 7)triangle1st (67), 1st (63), 3rd (69), 2nd (86, second try), 1st (68)3, 3, 1, 2, 3
Race 1: VICTORY! first in 41 seconds, three stars.
Race 1: VICTORY! first in 41 seconds, three stars.

The fault on the triangles

Triangle courses, from race 7, have a reach mark out at the side of the course, inside the band our edge rule avoided. Versions 1 to 6 counted any heading toward that edge as worse, so near the mark the boat turned away again and circled; offline, on race 11 deals with the game's own rivals, this left version 6 fifth in about half of the races, and version 7 on the podium in about nine of ten. Our third places in races 7 to 9 were sailed with the faulty rule. In the live run version 7 won race 11 in 67 seconds, where versions 1 to 6 had needed 113 to 154 seconds to finish fifth.

Race 7: in first place early on, 104 m to the mark; it finished third (sailed with the faulty edge rule).
Race 7: in first place early on, 104 m to the mark; it finished third (sailed with the faulty edge rule).

Sailing by hand

Read the dark water ahead and pick the side of the course with better pressure, then check the compass inside the patch: its extra wind helps only if your new angle still carries you toward the mark. Sail upwind about 45 degrees off the wind, and avoid strings of tiny zigzags, because each tack passes through the slow zone. Pass within 13 course units of a buoy, and cross the finish near its centre.

Race 11: NO PODIUM, 5th in 113 seconds.
Race 11: NO PODIUM, 5th in 113 seconds.

Races 11 to 15

With version 7 the last five triangles took 63 to 86 seconds. Race 13 ended third; race 14 was fifth on the first try (116 seconds) and second on the next. Race 15, the last, ended first in 68 seconds with three stars and the CHAMPION! panel.

Race 15: CHAMPION! first in 68 seconds, three stars.
Race 15: CHAMPION! first in 68 seconds, three stars.

Questions

Do I need to win to unlock the next race?
No. Any podium place, first to third, unlocks it.
Why can't I sail straight at an upwind mark?
Within about 38 degrees of the wind the boat barely moves; zig-zag in tacks instead.
How far did our run get?
All 15 races on the podium: 1 to 10 with versions 1 to 6, 11 to 15 with version 7.

· Corrections log

Suggest an idea or report a problem

We keep only your message (and email, if given) to improve the games.