AS a user, I want to be able to generate a minesweeper game using emojis #7

Open
opened 2021-03-08 19:00:06 +00:00 by Vylpes · 3 comments
Vylpes commented 2021-03-08 19:00:06 +00:00 (Migrated from github.com)

Story Points: 8


AS a user, I want to be able to generate a minesweeper game using emojis
SO THAT I can play a randomised game of minesweeper

Acceptance Criteria

AS a user
GIVEN I want to generate a minesweeper board
WHEN I run the /minesweeper command
THEN the bot should generate a random game of minesweeper

Subtasks

  • Plan
  • Add minesweeper command
  • Update tests
Story Points: 8 --- AS a user, I want to be able to generate a minesweeper game using emojis SO THAT I can play a randomised game of minesweeper ## Acceptance Criteria AS a user GIVEN I want to generate a minesweeper board WHEN I run the `/minesweeper` command THEN the bot should generate a random game of minesweeper ## Subtasks - [x] Plan - [x] Add minesweeper command - [x] Update tests
Vylpes changed title from Minesweeper command to AS a user, I want to be able to generate a minesweeper game using emojis 2024-03-10 15:36:27 +00:00
Vylpes added this to the 3.5.0 milestone 2025-10-13 18:29:34 +01:00
Vylpes self-assigned this 2025-12-23 15:54:37 +00:00
Vylpes added this to the 3.3 Sprint 9 project 2025-12-23 15:54:50 +00:00
Vylpes stopped working 2025-12-23 16:08:47 +00:00
14 minutes 9 seconds
Vylpes removed their assignment 2026-09-16 13:27:19 +01:00
Member

QA results (step/testing) — FAIL

Tested on release/3.5.0 @ 00e9f39 (PR #543 merged as 634cf62).

Checks

Check Result
/minesweeper registered in src/registry.ts PASS
src/commands/minesweeper.ts present (9×9, 10 mines, spoiler emojis) PASS
AC: command generates a random minesweeper board PASS (unit-covered)
yarn install --frozen-lockfile PASS
yarn build (tsc) PASS
yarn test PASS — 3 suites / 29 tests (minesweeper 14/14)
yarn lint FAIL

Failure

tests/commands/minesweeper.test.ts
  82:19  error  'grid' is assigned a value but never used  @typescript-eslint/no-unused-vars

CI (test.yml) does not run eslint, but the package lint script fails on code this ticket landed. Moving back to step/todo to remove the unused local and re-open for review.

## QA results (step/testing) — FAIL Tested on `release/3.5.0` @ `00e9f39` (PR #543 merged as `634cf62`). ### Checks | Check | Result | | --- | --- | | `/minesweeper` registered in `src/registry.ts` | PASS | | `src/commands/minesweeper.ts` present (9×9, 10 mines, spoiler emojis) | PASS | | AC: command generates a random minesweeper board | PASS (unit-covered) | | `yarn install --frozen-lockfile` | PASS | | `yarn build` (`tsc`) | PASS | | `yarn test` | PASS — 3 suites / 29 tests (minesweeper 14/14) | | `yarn lint` | **FAIL** | ### Failure ``` tests/commands/minesweeper.test.ts 82:19 error 'grid' is assigned a value but never used @typescript-eslint/no-unused-vars ``` CI (`test.yml`) does not run eslint, but the package `lint` script fails on code this ticket landed. Moving back to `step/todo` to remove the unused local and re-open for review.
Smithy-bot removed their assignment 2026-09-18 12:11:49 +01:00
Member

Lint fix ready for review: #581 (cursor/7-minesweeper-lint-unused-grid → release/3.5.0).

Removes the unused grid local that made yarn lint fail during QA. Local lint/build/test all pass. Moved to step/review and assigned to @Vylpes.

Lint fix ready for review: https://git.vylpes.xyz/RabbitLabs/vylbot-app/pulls/581 (`cursor/7-minesweeper-lint-unused-grid` → `release/3.5.0`). Removes the unused `grid` local that made `yarn lint` fail during QA. Local lint/build/test all pass. Moved to `step/review` and assigned to @Vylpes.
Vylpes removed their assignment 2026-09-18 14:35:52 +01:00
Member

QA results (step/testing) — PASS

Re-tested on release/3.5.0 @ 31250de after PR #581 merged (lint fix for unused grid in tests/commands/minesweeper.test.ts).

Checks

Check Result
/minesweeper registered in src/registry.ts PASS
src/commands/minesweeper.ts present (9×9, 10 mines, spoiler emojis) PASS
AC: /minesweeper generates a random minesweeper board PASS (unit-covered, 14/14)
yarn install --frozen-lockfile PASS
yarn build (tsc) PASS
yarn test PASS — 3 suites / 29 tests / 1 snapshot
yarn lint PASS (previous failure cleared by #581)

Moving to step/uat and assigning @Vylpes for Discord smoke (/minesweeper in a real guild).

## QA results (step/testing) — PASS Re-tested on `release/3.5.0` @ `31250de` after PR #581 merged (lint fix for unused `grid` in `tests/commands/minesweeper.test.ts`). ### Checks | Check | Result | | --- | --- | | `/minesweeper` registered in `src/registry.ts` | PASS | | `src/commands/minesweeper.ts` present (9×9, 10 mines, spoiler emojis) | PASS | | AC: `/minesweeper` generates a random minesweeper board | PASS (unit-covered, 14/14) | | `yarn install --frozen-lockfile` | PASS | | `yarn build` (`tsc`) | PASS | | `yarn test` | PASS — 3 suites / 29 tests / 1 snapshot | | `yarn lint` | PASS (previous failure cleared by #581) | Moving to `step/uat` and assigning @Vylpes for Discord smoke (`/minesweeper` in a real guild).
Smithy-bot removed their assignment 2026-09-19 12:09:02 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Total time spent: 14 minutes 9 seconds
Vylpes
14 minutes 9 seconds
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
RabbitLabs/vylbot-app#7
No description provided.