verify 1/3: unit, property and differential tests
  34 passed, 5 failed, 0 skipped in 8.3s
verify 2/3: build
  ok in 0.5s
verify 3/3: end-to-end tests and inspect pass in Chrome
  8 passed, 40 failed, 0 skipped, 0 flaky in 88.9s

FAILED [cheap] D1 engine and reference agree after every move on random seeds and sequences
  Property failed after 1 tests / { seed: -1648513946, path: "0:0:0", endOnFailure: true } / Counterexample: [0,[]] / Shrunk 2 time(s) / Hint: Enable verbose mode in order to have the list of all failing values encountered during the run

FAILED [cheap] D2 they also agree when undos are mixed in
  Property failed after 1 tests / { seed: -2051655776, path: "0:0:1:0:0:0:0:1", endOnFailure: true } / Counterexample: [0,["up"]] / Shrunk 7 time(s) / Hint: Enable verbose mode in order to have the list of all failing values encountered during the run

FAILED [cheap] D3 whole games to game over: engine and reference end on the same move with the same score
  Property failed after 1 tests / { seed: 1283941153, path: "0:0:0:0:0:0:0:0:0:0:0", endOnFailure: true } / Counterexample: ["",{"order":["right","up","down","left"],"noise":[0,0,0,0,0,0,0,0]}] / Shrunk 10 time(s) / Hint: Enable verbose mode in order to have the list of all failing values encountered during the run

FAILED [cheap] new game draws: value first, then cell, twice, with seed fnv1a32(String(seed))
  Expected values to be strictly deep-equal: / + actual - expected / [ / +   2, / 0, / 0,

FAILED [cheap] spawn draws the value first, then the cell among empty cells in row-major order
  Expected values to be strictly deep-equal: / + actual - expected / { / +   index: 8, / -   index: 5, / value: 2

FAILED [e2e] seed and determinism > ?seed= sets the seed: the page deals exactly what the reference deals
  Error: start board for alpha / expect(received).toEqual(expected) // deep equality / - Expected  - 1 / + Received  + 1 / @@ -1,15 +1,15 @@
  screenshot: /tmp/phase2/A/test-results/feel-seed-and-determinism--d4de2-ly-what-the-reference-deals/test-failed-1.png

FAILED [e2e] seed and determinism > the same moves on the same seed give the same tiles in a second browser session
  Error: expect(received).toEqual(expected) // deep equality / - Expected  - 8 / + Received  + 8 / Array [ / 2,
  screenshot: /tmp/phase2/A/test-results/feel-seed-and-determinism--9494b-in-a-second-browser-session/test-failed-1.png

FAILED [e2e] seed and determinism > "Deal" starts a game on a new random seed and puts it in the URL
  Error: expect(received).toEqual(expected) // deep equality / - Expected  - 2 / + Received  + 2 / Array [ / 0,
  screenshot: /tmp/phase2/A/test-results/feel-seed-and-determinism--6cb43-seed-and-puts-it-in-the-URL/test-failed-1.png

FAILED [e2e] daily seed in Pacific/Kiritimati > without ?seed the seed is today's UTC date, not the local date
  Error: expect(received).toEqual(expected) // deep equality / - Expected  - 1 / + Received  + 1 / @@ -3,15 +3,15 @@ / 0,
  screenshot: /tmp/phase2/A/test-results/feel-daily-seed-in-Pacific-0a62f-UTC-date-not-the-local-date/test-failed-1.png

FAILED [e2e] daily seed in America/Los_Angeles > without ?seed the seed is today's UTC date, not the local date
  Error: expect(received).toEqual(expected) // deep equality / - Expected  - 1 / + Received  + 1 / @@ -3,15 +3,15 @@ / 0,
  screenshot: /tmp/phase2/A/test-results/feel-daily-seed-in-America-cec96-UTC-date-not-the-local-date/test-failed-1.png

FAILED [e2e] input > WASD moves like the arrow keys
  Error: board after key #0 (up) / expect(received).toEqual(expected) // deep equality / - Expected  - 3 / + Received  + 3 / Array [
  screenshot: /tmp/phase2/A/test-results/feel-input-WASD-moves-like-the-arrow-keys/test-failed-1.png

FAILED [e2e] input > Space does not restart a game in progress
  Error: board after key #0 (down) / expect(received).toEqual(expected) // deep equality / - Expected  - 2 / + Received  + 2 / Array [
  screenshot: /tmp/phase2/A/test-results/feel-input-Space-does-not-restart-a-game-in-progress/test-failed-1.png

FAILED [e2e] input > an invalid move changes nothing, bumps, and makes no sound that could be spammed
  Error: board after key #0 (up) / expect(received).toEqual(expected) // deep equality / - Expected  - 2 / + Received  + 2 / @@ -1,11 +1,11 @@
  screenshot: /tmp/phase2/A/test-results/feel-input-an-invalid-move-db61a-sound-that-could-be-spammed/test-failed-1.png

FAILED [e2e] touch > touch swipes move the tiles in all four directions
  Error: board after swipe #0 up / expect(received).toEqual(expected) // deep equality / - Expected  - 3 / + Received  + 3 / Array [
  screenshot: /tmp/phase2/A/test-results/feel-touch-touch-swipes-mo-5a512-iles-in-all-four-directions/test-failed-1.png

FAILED [e2e] touch > keys and swipes that arrive during a slide are queued, never dropped; the logic answers at once
  Error: the logic has settled before the animation ends / expect(received).toEqual(expected) // deep equality / - Expected  - 1 / + Received  + 1 / @@ -1,12 +1,12 @@
  screenshot: /tmp/phase2/A/test-results/feel-touch-keys-and-swipes-8ef39-d-the-logic-answers-at-once/test-failed-1.png

FAILED [e2e] animation speed > ?speed=instant sets every animation duration to 0
  Error: expect(received).toEqual(expected) // deep equality / - Expected  - 3 / + Received  + 3 / @@ -2,17 +2,17 @@ / 0,
  screenshot: /tmp/phase2/A/test-results/feel-animation-speed-speed-946b3-ery-animation-duration-to-0/test-failed-1.png

FAILED [e2e] animation speed > ?ui=0 hides the interface and leaves the board playable
  Error: board after key #0 (down) / expect(received).toEqual(expected) // deep equality / - Expected  - 2 / + Received  + 2 / Array [
  screenshot: /tmp/phase2/A/test-results/feel-animation-speed-ui-0--80f03-d-leaves-the-board-playable/test-failed-1.png

FAILED [e2e] feedback > the multiplier is applied to the score and shown when it is 2 or higher; merge sounds rise in pitch
  Error: board after key #0 (up) / expect(received).toEqual(expected) // deep equality / - Expected  - 2 / + Received  + 2 / Array [
  screenshot: /tmp/phase2/A/test-results/feel-feedback-the-multipli-33ed5--merge-sounds-rise-in-pitch/test-failed-1.png

FAILED [e2e] feedback > a valid move makes a sound; a merge makes a merge sound
  Error: board after key #0 (up) / expect(received).toEqual(expected) // deep equality / - Expected  - 3 / + Received  + 3 / @@ -1,11 +1,10 @@
  screenshot: /tmp/phase2/A/test-results/feel-feedback-a-valid-move-4290b-a-merge-makes-a-merge-sound/test-failed-1.png

FAILED [e2e] feedback > celebrations: each of 128, 256, 512 is celebrated once, the first time it appears; pressure shows at four or fewer empty cells
  Error: board after key #0 / expect(received).toEqual(expected) // deep equality / - Expected  - 3 / + Received  + 3 / @@ -4,15 +4,15 @@
  screenshot: /tmp/phase2/A/test-results/feel-feedback-celebrations-f07e2-t-four-or-fewer-empty-cells/test-failed-1.png

FAILED [e2e] feedback > the first 128 triggers exactly one celebration sound, logged apart from merge sounds
  Error: expect(received).toEqual(expected) // deep equality / - Expected  - 3 / + Received  + 1 / - Array [ / -   128,
  screenshot: /tmp/phase2/A/test-results/feel-feedback-the-first-12-85b22-ged-apart-from-merge-sounds/test-failed-1.png

FAILED [e2e] feedback > where navigator.vibrate exists, a merge gives a short tick and other moves do not
  Error: board after key #0 (up) / expect(received).toEqual(expected) // deep equality / - Expected  - 2 / + Received  + 2 / Array [
  screenshot: /tmp/phase2/A/test-results/feel-feedback-where-naviga-961e5-tick-and-other-moves-do-not/test-failed-1.png

FAILED [e2e] undo > three charges per game, by key or button; a fourth undo does nothing; a new game refills them
  Error: board after key #0 (down) / expect(received).toEqual(expected) // deep equality / - Expected  - 1 / + Received  + 1 / @@ -1,7 +1,7 @@
  screenshot: /tmp/phase2/A/test-results/feel-undo-three-charges-pe-f9177-ing-a-new-game-refills-them/test-failed-1.png

FAILED [e2e] game over > shows score, best, largest tile and moves; one tap on Again starts a new game
  Error: board after key #0 (up) / expect(received).toEqual(expected) // deep equality / - Expected  - 3 / + Received  + 3 / Array [
  screenshot: /tmp/phase2/A/test-results/feel-game-over-shows-score-babc7--on-Again-starts-a-new-game/test-failed-1.png

FAILED [e2e] game over > undo works after game over if a charge is left, and the game is not counted twice
  Error: expect(received).toBe(expected) // Object.is equality / Expected: true / Received: false / 447 |     await open(page, `seed=${SEED}&speed=instant`); / 448 |     await play(page, game.steps);
  screenshot: /tmp/phase2/A/test-results/feel-game-over-undo-works--312bf-e-game-is-not-counted-twice/test-failed-1.png

FAILED [e2e] game over > "Copy result" puts a short summary on the clipboard
  Test timeout of 30000ms exceeded.
  screenshot: /tmp/phase2/A/test-results/feel-game-over-Copy-result-940b6-rt-summary-on-the-clipboard/test-failed-1.png

FAILED [e2e] game over > beating the best score is a moment: in play, and on the result
  Error: board after key #0 (up) / expect(received).toEqual(expected) // deep equality / - Expected  - 3 / + Received  + 3 / Array [
  screenshot: /tmp/phase2/A/test-results/feel-game-over-beating-the-ebb32-t-in-play-and-on-the-result/test-failed-1.png

FAILED [e2e] game over > a game that does not beat the best says so plainly
  Error: expect(received).toBe(expected) // Object.is equality / Expected: true / Received: false / 523 |     await play(page, game.steps); / 524 |     const s = await state(page);
  screenshot: /tmp/phase2/A/test-results/feel-game-over-a-game-that-acd2b-at-the-best-says-so-plainly/test-failed-1.png

FAILED [e2e] persistence > mute is a toggle, silences the game, and survives a reload
  Error: board after key #0 (up) / expect(received).toEqual(expected) // deep equality / - Expected  - 2 / + Received  + 2 / @@ -1,9 +1,9 @@
  screenshot: /tmp/phase2/A/test-results/feel-persistence-mute-is-a-b2fa9--game-and-survives-a-reload/test-failed-1.png

FAILED [e2e] persistence > a game in progress survives a reload: board, score, moves, undo charges and the tiles to come
  Error: board after key #0 (up) / expect(received).toEqual(expected) // deep equality / - Expected  - 2 / + Received  + 2 / @@ -1,10 +1,9 @@
  screenshot: /tmp/phase2/A/test-results/feel-persistence-a-game-in-17f44-arges-and-the-tiles-to-come/test-failed-1.png

FAILED [e2e] persistence > corrupt storage (not JSON) does not break the game
  Error: expect(received).toEqual(expected) // deep equality / - Expected  - 2 / + Received  + 2 / @@ -3,16 +3,16 @@ / 0,
  screenshot: /tmp/phase2/A/test-results/feel-persistence-corrupt-s-9229e-SON-does-not-break-the-game/test-failed-1.png

FAILED [e2e] persistence > corrupt storage (a saved game with a broken board) does not break the game
  Error: expect(received).toEqual(expected) // deep equality / - Expected  - 2 / + Received  + 2 / @@ -3,16 +3,16 @@ / 0,
  screenshot: /tmp/phase2/A/test-results/feel-persistence-corrupt-s-f2d28-ard-does-not-break-the-game/test-failed-1.png

FAILED [e2e] persistence > corrupt storage (the wrong type) does not break the game
  Error: expect(received).toEqual(expected) // deep equality / - Expected  - 2 / + Received  + 2 / @@ -3,16 +3,16 @@ / 0,
  screenshot: /tmp/phase2/A/test-results/feel-persistence-corrupt-s-6140b-ype-does-not-break-the-game/test-failed-1.png

FAILED [e2e] persistence > best tile and games played are stored
  Test timeout of 30000ms exceeded.
  screenshot: /tmp/phase2/A/test-results/feel-persistence-best-tile-and-games-played-are-stored/test-failed-1.png

FAILED [e2e] phone, 390 px portrait > fits one hand: no horizontal overflow, everything on screen, pixel ratio capped at 2
  Error: expect(locator).toBeVisible() failed / Locator:  locator('#over') / Expected: visible / Received: hidden / Timeout:  5000ms
  screenshot: /tmp/phase2/A/test-results/feel-phone-390-px-portrait-9eb6f-een-pixel-ratio-capped-at-2/test-failed-1.png

FAILED [e2e] identity and debug handle > window.__game: engine(), newGame(seed), direction(name) and state()
  Error: expect(received).toEqual(expected) // deep equality / - Expected  - 1 / + Received  + 1 / @@ -3,16 +3,16 @@ / 0,
  screenshot: /tmp/phase2/A/test-results/feel-identity-and-debug-ha-e3790-d-direction-name-and-state-/test-failed-1.png

FAILED [e2e] player flow: start, move, merge, undo, game over, new game in under a second, best survives reload
  step: 1 start: two tiles on the board, score 0
  Error: expect(received).toEqual(expected) // deep equality / - Expected  - 2 / + Received  + 2 / Array [ / 0,
  screenshot: /tmp/phase2/A/test-results/flow-player-flow-start-mov-c6920-second-best-survives-reload/test-failed-1.png

FAILED [e2e] the first 128 paints confetti on the canvas, not only asks for it
  Error: expect(received).toEqual(expected) // deep equality / - Expected  - 5 / + Received  + 5 / Array [ / 0,
  screenshot: /tmp/phase2/A/test-results/hardening-confetti-drawn-t-c7ace-canvas-not-only-asks-for-it/test-failed-1.png

FAILED [e2e] a game is counted once even if the player leaves it for another seed and comes back
  Error: expect(received).toEqual(expected) // deep equality / - Expected  - 2 / + Received  + 2 / Array [ / -   2,
  screenshot: /tmp/phase2/A/test-results/hardening-games-counted-on-52fed-another-seed-and-comes-back/test-failed-1.png

FAILED [e2e] ?speed=instant sets every CSS animation and transition duration to 0 as well
  Error: expect(received).toBe(expected) // Object.is equality / Expected: true / Received: false / 8 |   await open(page, 'seed=flow-52&speed=instant'); / 9 |   await play(page, game.steps);
  screenshot: /tmp/phase2/A/test-results/hardening-instant-css--spe-2be77-ition-duration-to-0-as-well/test-failed-1.png

FAILED [e2e] "New best" is only shown for a score that really is the best, across seeds
  Error: board after key #0 (up) / expect(received).toEqual(expected) // deep equality / - Expected  - 3 / + Received  + 3 / Array [
  screenshot: /tmp/phase2/A/test-results/hardening-new-best-is-true-cbfd7-ly-is-the-best-across-seeds/test-failed-1.png

FAILED [e2e] a move with exactly one merge shows no multiplier badge
  Error: board after key #0 (up) / expect(received).toEqual(expected) // deep equality / - Expected  - 3 / + Received  + 3 / @@ -1,11 +1,10 @@
  screenshot: /tmp/phase2/A/test-results/hardening-no-badge-for-one-ffc21-e-shows-no-multiplier-badge/test-failed-1.png

FAILED [e2e] Undo is only offered when an undo will work: dimmed at the start and after a reload, blinking at game over only if usable
  Error: expect(received).toBe(expected) // Object.is equality / Expected: true / Received: false / 15 |   await play(page, game.steps.slice(firstValid + 1)); / 16 |   let s = await state(page);
  screenshot: /tmp/phase2/A/test-results/hardening-undo-cue-is-hone-62c96-at-game-over-only-if-usable/test-failed-1.png

FAILED [e2e] inspect: boot time, screenshots at desktop size, frame pacing, renderer sleeps when idle
  Error: expect(received).toEqual(expected) // deep equality / - Expected  - 5 / + Received  + 5 / Array [ / +   2,
  screenshot: /tmp/phase2/A/test-results/inspect-inspect-boot-time--165d3-g-renderer-sleeps-when-idle/test-failed-1.png

FAILED [e2e] inspect at 390 px > inspect: screenshots at 390 px: start, pressure, game over
  Error: expect(received).toBe(expected) // Object.is equality / Expected: true / Received: false / 82 |     const firstPressure = game.steps.findIndex((s) => s.empties <= 4); / 83 |     await play(page, game.steps.slice(0, firstPressure + 1));
  screenshot: /tmp/phase2/A/test-results/inspect-inspect-at-390-px--05d2e-px-start-pressure-game-over/test-failed-1.png

VERIFY FAIL: unit+property+differential 34/39, build ok, e2e 8/48, 97.7s
