A browser-based word game where you strategically place letters on a board to form words and score points.
The game demo can be played on github pages
-
Place Letters: Drag and drop letters from your tray onto the board to form words. Letters must be placed in a continuous line, either horizontally or vertically.
-
Score Points: Each letter has a point value. Special bonus squares on the board can multiply your score:
2L
: Double letter score3L
: Triple letter score2W
: Double word score3W
: Triple word score
-
Form Words: Create valid dictionary words. When you place new letters, they can form multiple words by connecting with existing letters on the board.
-
Special Bonuses: Use all 7 letters in a single turn to earn a 50-point bonus!
- Drag & Drop: Drag letters from your tray to place them on the board
- Click: Click a letter in your tray to select it, then click a board space to place it
- Withdraw: Click any letter placed in your current turn to return it to your tray
- Trade: Select letters in your tray and click "Trade Selected Tiles" to exchange them for new ones
- End Turn: Click "End Turn" when you're satisfied with your word placement
- Real-time word validation against a dictionary
- Automatic scoring with bonus tile multipliers
- Random bonus tile placement for varied gameplay
- Drag-and-drop interface
- Letter trading system
- Turn-based gameplay
Built using vanilla JavaScript, HTML, and CSS. The game features:
- Drag-and-drop API for smooth tile placement
- SQLite-based dictionary for word validation
- CSS Grid for the game board layout
- Modular JavaScript class structure
- Clone the repository
- Open
index.html
in a modern web browser - Start placing letters and forming words!
This project is open source and available under the MIT License.
Dictionary file created from unofficial word list https://gist.github.com/deostroll/7693b6f3d48b44a89ee5f57bf750bd32