Free · no signup to try · runs on Chromebooks

Sailboat Simulator

A sailboat cannot sail straight into the wind, so getting upwind is a puzzle with a real answer: sail at an angle, then turn through the wind and sail at the same angle the other way. Sailboat Simulator puts a small dinghy on a lake for every student. They sail it by hand with two arrow keys, find out why pointing at the buoy stops the boat dead, learn to tack and gybe, trim the sail by its telltale, and pull the centerboard up to feel what it was doing. Then they hand the boat to a program in Blocks or Python and write the rules a robot sailboat uses.

This is the whole app, opening on Level 1 at the dock. Press Play or the space bar to cast off, and steer with the left and right arrow keys or the Steer buttons. The guide walks through the first minute: out to the yellow buoy and back.

Open it full screen

Using this with a class? Make a free class and add your students yourself: each gets a username and password, with no email or Google account needed. Or give them one join code. Using Google Classroom? Post the link there; with a free class, the link also puts each student in your class, so you see their work. mytekDev is also available from the Google Workspace Marketplace, so your school's Google admin can install it for everyone.A first lesson: Open it on the projector at Level 2, The upwind buoy. Ask the class how to get to a buoy that is straight upwind. Take the first answer, steer straight at it, and let the boat stop and drift backward. Then ask what a sailor does instead, and sail it their way.

Set up a free class Share to Google Classroom
Put this on your class site

Students can use Sailboat Simulator right on your page, with no account. What they make stays on that page; to keep their work, they make a free account.

Google Sites: Insert, then Embed, then By URL, and paste this address.

https://mytekdev.com/try/sailboatsim?embed=1

Canvas, a blog, or any page that takes HTML: paste this code where you edit the page as HTML.

<iframe src="https://mytekdev.com/try/sailboatsim?embed=1" width="100%" height="640" style="border:0" allow="fullscreen" title="Sailboat Simulator demo from mytekDev"></iframe>

What a student actually does

Level 1 is a reach: out to a yellow buoy across the wind and back to the dock, steering with two keys while the sail sets itself. A panel shows the boat from above with an arrow for the wind it feels and the telltale ribbon on the sail, and the read-out names the point of sail as it changes: close-hauled, beam reach, broad reach, run.

Level 2 puts the buoy straight upwind. A student who steers at it sails into the no-go zone, the sail flaps, the boat stops and drifts backward, and the rudder works the wrong way round until it falls off. The gray wedge shows the zone from then on. The way up is to tack back and forth, and the result counts the tacks.

Levels 3 to 6 add the rest of hand sailing: a gybe on the way down the lake, the sail set by hand with the up and down arrows while the telltale says when it is right, the centerboard pulled up so the boat slides sideways and cannot get upwind, and a triangle course against the clock with everything at once.

Levels 7 to 14 hand the boat to a program in Blocks or Python. It can read the wind angle, the true wind, the heading, the speed and where the marks are, and it can set the rudder and the sail, steer to a heading, tack and gybe. Students build a heading hold from the rudder, trim the sail by rule, write the tack rule that gets upwind, round two buoys and come back through a 3 meter gate, keep the boat inside a box for five minutes, search for a hidden buoy, keep clear of a motorboat, and log the boat's speed at a dozen angles into its own polar diagram.

Build your own course puts buoys and islands anywhere on the lake and sets the wind's direction and strength, gusts and shifts, to sail by hand or by program. The logbook page prints each level's best time, the polar and the program that passed each code level.

Level 8 in the Blocks tab: the block categories on the left (Events, Boat, Sensors, Logic, Math, Variables) and a program on the workspace, when started, then forever: steer to heading, bearing to next mark; set sail out to the absolute wind angle minus 25 degrees.

Level 8, Trim by rule: steer for the next mark and set the sail from the wind angle. Blocks and Python call the same commands, and the Python tab shows what the blocks say.

What they are learning while they work

Nothing here is presented as a lesson. This is what the levels are made of.

What the student doesWhat it is
Steers straight at an upwind buoy and watches the boat stop The no-go zone. A sail cannot drive a boat into the wind. Within about 45 degrees of it the sail just flaps, so a sailboat gets upwind at an angle.
Tacks back and forth up to the buoy Beating to windward. Zigzagging at about 45 degrees off the wind, turning the bow through it each time, gains ground upwind faster than any other route.
Finds the boat is fastest across the wind, not with it behind Points of sail. On a reach the sail works like a wing. With the wind behind, the sail is mostly pushed, and the boat moving with the wind feels less of it.
Pulls the sail in tighter and the boat slows down Trim and stall. A sail pulled in too far for the wind stops the air flowing smoothly off its back edge. The telltale droops, and the push drops.
Turns on Show the numbers and sees two different winds Apparent wind. The wind the boat feels is the true wind minus the boat's own motion, so it is stronger and further forward when the boat sails toward it.
Pulls the centerboard up and drifts sideways Forces along and across the boat. The sail pushes partly sideways. The centerboard pushes back on the water so the boat goes forward instead. Without it the boat slides away from the wind.
Writes a rule that tacks when the buoy comes round past the wind Compound conditionals. A real autonomous sailboat decides with rules like these: if the mark is inside the no-go zone, sail close-hauled, and switch sides when it is past the layline.
Logs the boat's speed at a dozen angles and reads the best one Data and models. A polar diagram is how sailors describe a boat. Built from the student's own runs, it shows the best angle upwind is not the closest one.

How to tell whether it landed

Ask, and let them show you on the lake. A student who has understood it can answer these without help.

Use it in your subject

Not a technology class? Then the app is how students show what they learned in your unit. More projects for every subject.

Physical science and physics (NGSS MS-PS2-2, HS-PS2-1)

Forces along the boat's own axis: the sail's drive forward against the hull's drag back. High school adds apparent wind as the difference of two velocity vectors, as in AP Physics 1 relative motion.

Computer science (CSTA 2-AP and 3A-AP)

Loops that read a sensor and act, the tack rule as a compound conditional, a reusable sail_to function, and a polar built from logged data.

Engineering design and robotics (NGSS MS-ETS1 and HS-ETS1)

Program and test against a simulation, as HS-ETS1-4 names. The code levels follow the tasks robot sailboat programs and student competitions set: hold a heading, round marks, keep station, search, avoid a collision.

Sailing programs and STEM days

The hand levels teach the points of sail, the no-go zone, tacking and gybing before anyone gets wet, and the code levels suit a robot sailing club before a boat goes in the water.

Practical notes

For classes with no water nearby

Most students will never sail a real boat, and a sailing center can put only a few on the water at once. Here every student sails at the same time, gets stopped by the no-go zone, and works out the tack for themselves. A student who wants to sail a real boat afterward is pointed to a community sailing program.

Common questions

Is it free?

Yes. Sailboat Simulator has no paid tier, and it can be tried right on this page without an account. Saving needs a free account.

Does it work on a Chromebook?

Yes. It runs in the browser with nothing to install.

Do students need to know how to sail?

No. Level 1 starts with two arrow keys and a sail that sets itself. The levels add one idea at a time: the no-go zone, the gybe, trimming the sail, the centerboard.

Can students program it?

Yes, in Blocks or Python, from Level 7. A program reads the wind, the heading, the speed and where the marks are, and sets the rudder and the sail. Blocks run as the same Python, and the Python tab shows it.

What does it simplify?

It is one made-up dinghy with one sail, on flat water with no waves, current or tide, and one wind for the whole lake. Its speeds come from a table shaped like a real dinghy's, not from a measured boat. No sailor leans out to hold the boat flat, so it heels more than a real dinghy would, and it never capsizes.

Will it teach my students to sail a real boat?

It teaches the ideas a sailing lesson starts with: the no-go zone, the points of sail, tacking and gybing, trim and the centerboard. Rigging, balance, safety and the feel of a real boat come from a community sailing program and an instructor.

Can students see each other's work?

Only if they share a project. A shared Sailboat Simulator project sails the student's best passed level again, and typed words in it pass the platform's filter.

Still have a question? Ask us, and a person will write back.

Where to go next

Start with Sailboat Simulator

Trying it costs nothing and takes about five minutes. An account is what makes the work last.

Sailboat Simulator is one of the making apps on the platform. The hand levels, the code levels, the course builder and the logbook all run on one model of the boat, so what a student learns by hand is what the program has to handle.
Page last reviewed November 2026.
Google, Google Classroom and Chromebook are trademarks of Google LLC.