Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

purcell/scrubble

Repository files navigation

Scrubble - A Word Game

1 Storage model

  • Start with a Game, an initial randomised bag, and identifiers for the players
  • Each turn, which has a player ID, records zero or more tile actions
    • A tile action identifies a tile to be replaced, and optionally a board position

2 Remaining work

2.1 DONE Persist a game beyond one turn

2.2 DONE Support swapping out tiles

2.3 DONE Swap tiles in their original positions

2.4 DONE Passing turns

2.5 DONE Close websockets on unload

2.6 DONE Browser notifications

2.7 TODO Avoid leaks in PubSub

2.8 DONE Create game with a selected set of users

2.9 TODO Detect end of game from empty bag or successive passes

2.10 DONE Bingos (50 point bonus for 7-letter plays)

2.11 TODO End-game scoring

2.12 DONE Cut out unnecessary routes

2.13 TODO Drag and drop of tiles

2.14 TODO Random draw of a tile to decide start order

2.15 TODO Capitalisation in dictionary

2.16 DONE Shuffle swapped tiles back into the bag randomly

2.17 TODO Provide more detailed feedback when placements are invalid (spelling vs. legal positions)

2.18 TODO Board shouldn’t need to know about the dictionary