Play by geohash

From Geohashing
Revision as of 05:15, 8 March 2012 by imported>Robyn (When adding -ing to an English word ending in c, add a k.)

PBGH (Play By GeoHashing) games are games in which you play by visiting hashpoints for your moves.

The concept is modeled off of Play By Mail or Play By E-Mail games, in which certain games (particularly chess) were played by people mailing their moves to each other. This allowed people who lived a long ways away from each other to play each other. For play by geohashing games, it provides some added fun and friendly competition into geohashing. These games can be expected to last a long time, since only one move can be made per player per day, and games will typically last many turns.

PBGH games should include the following:

  1. Players should be able to transport the game to the hashpoint, and be able to take a picture of the move being made or having been made.
  2. Either the coordinates, or the terrain/locality of the geohash points visited should influence how the game is played.
  3. A move should only be possible if the coordinates are reached.
  4. Fun! Above all, if it doesn't increase the fun you have with geohashing, then there is no point to it!

Battleship

Battleship.png

Your visited hashpoints translate into missle shots at your enemy's ships.

A1 is always the SW corner of the graticule, J10 is always the NE corner, no matter where in the world the people live.

Each player has 5 ships to place in a straight line either vertically or horizontally (no diagonal ships)

  • 1 5-length ship
  • 1 4-length ship
  • 2 3-length ship
  • 1 2-length ship

Calculating shot locations: You can use this handy-dandy template to do it for you, look at the table below:

Longitude -180 through -30 -30 through -0 0 through 180
Northern hemisphere Today's battleship location is: E

6

Today's battleship location is: A

8

Today's battleship location is: J

8

Southern hemisphere Today's battleship location is: E

5

Today's battleship location is: A

3

Today's battleship location is: J

3

If you want to do the calculations yourself, because you don't trust template witchery:

Use the signed offsets generated by the geohashing algorithm:

  • Examples:
    • .6532 lat, -.0683 lon
    • -.9542 lat, .3584 lon

1. Multiply by 10, and take the integer part, preserving the negative sign, even if 0

  • 6 lat, -0 lon
  • -9 lat, 3 lon

2. If the number has a negative sign, add 9

  • 6 lat, 9 lon
  • 0 lat, 3 lon

3. Add 1

  • 7 lat, 10 lon
  • 1 lat, 4 lon

4. The lat is the number, the lon points to that letter of the English alphabet

  • J7
  • D1

There is also a template which will calculate the battleship coords for you:

Rules

  1. Turn Length
    1. Players should negotiate a length of time (typically in days), after which a player forfeits their turn.
    2. A time of 0 days is an asynchronous game. Every visited hashpoint counts as a shot.
  2. Players should negotiate on a start time.
  3. Players should bring a battleship board to the hashpoint. This battleship board should have the current shot being taken at a minimum. Having the full history of shots is preferred, however.

Ribbon/Achievement

  • 0-4 hits: boat with a person on it, a missile hitting water off the side of it, person on deck laughing
  • 5-10 hits: boat with a small hole in the side, and a bit of fire, person on deck calmly commanding troops
  • 11-16 hits: boat with two holes, and a decent amount of fire, person on deck panicking
  • 17 hits: boat completely engulfed in flames, starting to sink, person in dinghy escaping

Now to get the ribbons actually made.

Pilot test

  • Asynchronous
  • Boards shall be drawn by the end of day 2010-04-22. First eligible points start at 2010-04-23.
  • relet and aperfectring, the creators, are playing this pilot game
  • Both relet and aperfectring got their first shots off on the same day, on just the third day of the contest!
  • aperfectring finally managed to visit a second geohash!
  • relet got the first hit on 2010-11-17!
Hit: Miss:
Attempt: Sunk:

Aperfectring's "Guesses"

Aperfectring's apt admiral shall abolish all opposing aquatic adversaries.

A B C D E F G H I J
10
9
8
7
6
5
4
3
2
1

Relet's "Guesses"

Relet's really rather recognizable regions of residence remain resolved.

A B C D E F G H I J
10
9
8
7
6
5
4
3
2
1

Calvinball (proposed)

Should we call it "nomic" or "1000 blank white achievements"?

Claim the Calvinball achievement when you as an individual or a group have reached a geohash while following all the rules below. Then add a rule to this list. The game continues, until it becomes impossible to continue following the rules. Any player may at any time claim that it it is impossible to follow the rules, in which case the player who set up the last rule must prove the contrary. If they are able to do so, the game continues, and they add another rule to this list. If they are unable to do so, their achievement is replaced by the "Lost at Calvinball achievement" and the rules are reset to only the first rule. No rule may ever be reproposed. All other players get to claim a "Won at Calvinball achievement".

  • Rule 1: All players must wear a Calvinball mask. No one questions the masks.

Baseball (proposed)

Setup

  • Choose up two sides, individual or evenly matched teams.
  • Each player specifies a home graticule, and chooses an area to be their "strike zone".
This should be the half graticule centered somewhere convenient for that player, either their home, place of employment, avoid Lake Michigan, etc.
  • You can have a strike zone that crosses parallels/meridians, but should overlap your home graticule unless you're a masochist. :-)
  • This half-grat is also the "infield", for the purposes of fielding (see below)
  • The sides should agree on a neutral referee or other means for resolving some results.
  • The sides should decide on a day for the game to begin.

At-bat

  • One side is batting, and decide what order they'll take turns "batting". The entire other side is "fielding" until three outs are made.
  • Each day's geohash is a pitch. If it's in your strike zone and you don't reach it, that's a called strike. If it's in your home graticule but not in the strike zone, it's a ball. (That's why the strike zone is not the entire graticule). Three strikes and you're out, four balls and you're "on base" (or you just pass your turn?).
  • An expedition constitutes a swing. You are not limited to expeditions in your "strike zone". A successful geohash puts the ball "in play" (see below). An unsuccessful geohash expedition is a swinging strike.

Ball in play

  • When the "ball" is put in play, the next day's geohash specifies where the ball was hit.
  • If first base is unreachable, it's a foul ball and the at-bat resumes the next day (don't add a ball or strike).
  • If the in-play geohash is in the batter's strike zone/infield, then it's a ground ball. If a fielder reaches the geohash before the batter does, the batter is out. If the batter reaches it first, they're on "first base".
  • The batter can try to advance more than one base by trying to reach other locations. Extra bases must be reached before midnight (local time).
    • Second base is 0.5 degrees north or south, whichever is within your home graticule.
    • Third base is 0.5 degrees east or west, whichever is within your home graticule. You run the bases clockwise or counterclockwise, depending on where you started (is that confusing?)
    • Home is 0.5 degree in the opposite direction that you "ran" to second base. (at this point you've visited four points of a rectangle.)
      • Extra points for style if you post a video of yourself sliding into home ;-)
  • If the in-play geohash is outside the batter's infield, then it's a "fly ball". The fielder(s) have all day to reach the geohash to make an out. The batter can advance bases as above, but there is no race.
  • Runners on base stay on base until the end of the inning. They advance when the batter advances (you're not responsible for reaching geohashes once you're on base!)
  • (Nerdy baseball-y stuff) If a ground out is made, the lead runner is removed, not the batter.

Things that still need to be addressed

  • Ground balls are essentially a race, which in earlier discussions we wanted to avoid. Maybe all in-play geohashes should use the fly-ball rule?
  • An inning, for both sides to get a full complement of at-bats, could extend for over a month. Hence four "balls" = your at-bat is over but no "base runner". Is there a way to shorten it? Maybe just a limit of seven "pitches"?
  • Can the batter declare "sacrifice" to allow existing base runners to advance in case of an out? They should make the declaration before their at-bat starts (before geohash release time), and they ought to be able to change their mind from one day/pitch to the next.