Play boules at Ryds motionscentrum #70

Open
opened 2026-10-19 21:41:40 +00:00 by sermuns · 2 comments
Owner

Ryds motionscentrum has a boules court:

  leisure=pitch  sport=boules  surface=gravel  access=yes  lit=no
  (beside it: leisure=fitness_station, sport=fitness, lit=yes)

It is a real, flat, gravelled court next to the outdoor gym and the Rydskogen
disc golf course. Today it is another AREA_PITCH polygon.

Proposal: a boules/pétanque round.

  • A jack and a handful of boules; the player aims and throws. Closest to the
    jack wins the round. The throw is the same kind of projectile as #11, but it
    rolls on gravel instead of flying, so the interesting part is the surface.
  • A small scoreboard at the court; no server authority needed for a co-op game,
    though a shared score fits the existing relay if it is cheap.
  • The court is lit=no, so a night round is a flashlight game; the adjacent
    outdoor gym is lit=yes, which gives the place a nice contrast.

This is the smallest complete sport on campus: one court, one target, a rule
everyone already knows.


Related

  • #32 the court's surface and colour
  • #44 the other scored throw
  • #11 the projectile code
  • #10 the disc golf course next door
  • #43 the sports data that lists boules alongside the halls
Ryds motionscentrum has a boules court: ``` leisure=pitch sport=boules surface=gravel access=yes lit=no (beside it: leisure=fitness_station, sport=fitness, lit=yes) ``` It is a real, flat, gravelled court next to the outdoor gym and the Rydskogen disc golf course. Today it is another `AREA_PITCH` polygon. Proposal: a boules/pétanque round. - A jack and a handful of boules; the player aims and throws. Closest to the jack wins the round. The throw is the same kind of projectile as #11, but it rolls on gravel instead of flying, so the interesting part is the surface. - A small scoreboard at the court; no server authority needed for a co-op game, though a shared score fits the existing relay if it is cheap. - The court is `lit=no`, so a night round is a flashlight game; the adjacent outdoor gym is `lit=yes`, which gives the place a nice contrast. This is the smallest complete sport on campus: one court, one target, a rule everyone already knows. --- **Related** - #32 the court's surface and colour - #44 the other scored throw - #11 the projectile code - #10 the disc golf course next door - #43 the sports data that lists boules alongside the halls
sermuns added this to the Play milestone 2026-10-19 22:18:55 +00:00
Author
Owner

This one is the clearest case for a physics engine. "The throw is the same kind
of projectile as #11, but it rolls on gravel instead of flying, so the
interesting part is the surface" is very nearly a description of a rigid body
with a friction coefficient.

#112 gives the round its shared machinery: a boule as a body with a mass, a
restitution and a friction, on a gravel surface. Then the round becomes a
real round. A boule thrown too hard overshoots the jack. A boule that lands
on the slope of the court rolls away from it. The closest boule to the jack
wins because it is closest, not because a comparison said so — which is the
whole difference between a game and a spreadsheet.

The court is leisure=pitch sport=boules surface=gravel, so the bake already
buckets it as a pitch area and the gravel is one tag away; reading the exact
surface= is the pitches work's job. The collision layer can start with the
coarse bucket.

Scoring stays where this issue puts it: closest to the jack wins, and a round
needs no more server authority than the boule positions, which are
server-authoritative like every other thrown body.

Related: #110 the physics engine, #112 the shared thrown body.

This one is the clearest case for a physics engine. "The throw is the same kind of projectile as #11, but it rolls on gravel instead of flying, so the interesting part is the surface" is very nearly a description of a rigid body with a friction coefficient. #112 gives the round its shared machinery: a boule as a body with a mass, a restitution and a friction, on a gravel surface. Then the round becomes a real round. A boule thrown too hard overshoots the jack. A boule that lands on the slope of the court rolls away from it. The closest boule to the jack wins because it is closest, not because a comparison said so — which is the whole difference between a game and a spreadsheet. The court is `leisure=pitch sport=boules surface=gravel`, so the bake already buckets it as a pitch area and the gravel is one tag away; reading the exact `surface=` is the pitches work's job. The collision layer can start with the coarse bucket. Scoring stays where this issue puts it: closest to the jack wins, and a round needs no more server authority than the boule positions, which are server-authoritative like every other thrown body. Related: #110 the physics engine, #112 the shared thrown body.
Author
Owner

The court and the surface exist. The round does not.

The boules court bakes as a gravel pitch now: sport=boules|petanque maps to AREA_PITCH_GRAVEL, and surface=gravel maps to the same kind, so it is no longer a plain AREA_PITCH polygon.

The campus also has a per-surface ground model to build on: surface_class in liuverse-sim::vehicle returns ice for the track, soft for grass, forest, pitches, gravel and the minigolf, and paved for everything else. That is three classes rather than the fine material this issue wants, but it is the shape a boule would need: a body with a mass, a restitution and a friction, landing on a surface that decides what it does next.

Still missing: the jack, the boules, the throw and the round. The only throw in the game is the football's parabola in liuverse-sim::throw, which is a curve and a comparison, not a body.

The court and the surface exist. The round does not. The boules court bakes as a gravel pitch now: `sport=boules|petanque` maps to `AREA_PITCH_GRAVEL`, and `surface=gravel` maps to the same kind, so it is no longer a plain `AREA_PITCH` polygon. The campus also has a per-surface ground model to build on: `surface_class` in `liuverse-sim::vehicle` returns ice for the track, soft for grass, forest, pitches, gravel and the minigolf, and paved for everything else. That is three classes rather than the fine material this issue wants, but it is the shape a boule would need: a body with a mass, a restitution and a friction, landing on a surface that decides what it does next. Still missing: the jack, the boules, the throw and the round. The only throw in the game is the football's parabola in `liuverse-sim::throw`, which is a curve and a comparison, not a body.
Sign in to join this conversation.
No description provided.