Commit graph

64 commits

Author SHA1 Message Date
55f968ae35 Add commands for building UI 2023-09-23 12:21:09 -07:00
880667b80e Remove turn log message after game over 2023-09-23 12:20:52 -07:00
2fa28ce3d4 Add arrow for fast play 2023-09-23 10:53:07 -07:00
a34ad8cd12 Improve UI; add end game button 2023-09-21 19:01:56 -07:00
75d8db4098 Improve 'Add to dictionary' UI 2023-09-21 18:55:33 -07:00
6c7a90c421 Add confirmation choice for passing 2023-09-21 18:40:41 -07:00
e0fe22e9ce Add end game conditions
Also fix some UI bugs
2023-09-20 18:59:32 -07:00
0d30ac0b46 Add AI tile count and total tile counts, other UI tweaks 2023-09-16 21:08:10 -07:00
e7c46c8efd Add standardized turn summary messages.
Same logic for both player and AI
2023-09-15 21:01:49 -07:00
e5b2e4139e Clean up UI code 2023-09-15 20:37:40 -07:00
c1d7a2f774 Add AI turn highlighting 2023-09-14 19:38:34 -07:00
a014805cbf Automate AI plays 2023-09-14 19:14:19 -07:00
ef4506b55e Refactor code to utilize TurnActions on player moves 2023-09-14 18:53:47 -07:00
8fd250170b Add rudimentry but functional AI integration into UI
Also fixed some bugs that could cause AI process to either
produce invalid words or crash.
2023-09-12 22:13:36 -07:00
9b22f1301d WIP integration of AI into game logic 2023-09-10 15:17:36 -07:00
60fabb0214 Add difficulty menu to UI (not yet functional) 2023-09-08 23:32:44 -07:00
ef655f99cd Fix bug in Rust relating to PlayedTile
The bug broke a contract that was relied on by WASM
2023-09-08 17:50:54 -07:00
e23c1d139b Add capability to convert AI plays into PlayedTiles vector 2023-09-07 19:44:07 -07:00
0887cb29aa Fix bug in AI handling of blank letters 2023-09-07 19:14:43 -07:00
4b86c031ed Add basic AI support (Rust only) 2023-09-06 20:00:14 -07:00
cdfd8b5ee9 Fix bug where UI wasn't detecting 7-letter word bonus 2023-08-24 20:37:01 -07:00
733feecfe3 Add adding words to dictionary mid-game 2023-08-24 20:29:08 -07:00
4f8f14364c Removed unused parameters in UI 2023-08-23 21:58:34 -07:00
974751bda0 Split UI code into separate files 2023-08-23 20:46:43 -07:00
de2605af67 Improve tile exchange to retain player order 2023-08-23 20:37:22 -07:00
e8cff060b0 Add 'Return Tiles' button 2023-08-23 20:23:58 -07:00
ca5ab097c5 Add basic tile exchange support
Still need to support handling if the player reordered their tray
2023-08-22 20:52:03 -07:00
960e8c31fb Fix Rust dependency issue 2023-08-22 19:02:08 -07:00
b790e48bc4 Add UI for tile exchange 2023-08-21 19:42:22 -07:00
4ba4c15e23 Transfer previous Modal code 2023-08-20 17:26:52 -07:00
800ec27c36 Slightly improve styling 2023-08-20 16:34:00 -07:00
f3d085ff99 Add LICENSE and fields to Cargo.toml 2023-08-20 16:28:42 -07:00
368dcd4a65 Add auto-scrolling for log
Styling is still a WIP
2023-08-20 10:00:10 -07:00
4c8d27b659 Improve tray handling
Fix bugs when the tray is not fully filled, and retain custom
user tray ordering between turns.
2023-08-19 14:47:34 -07:00
b33007d3c4 Downgrade serde to remove included binary 2023-08-19 09:58:16 -07:00
cb10d97724 Refactored receive_play from wasm into Game 2023-08-18 18:14:27 -07:00
cd8a4b73a9 Add support for blank characters 2023-08-17 18:30:55 -07:00
c61b2e3f75 Add display of previous tiles 2023-08-17 18:05:20 -07:00
fd7cf2d6af Add turn counting and score persistence 2023-08-16 19:37:32 -07:00
c7399b2b99 Integrate score keeping and individual trays 2023-08-15 19:35:23 -07:00
deedc1aee4 Improve WIP move-checking integration 2023-08-13 17:02:13 -07:00
a496b15710 Integrate very WIP move-checking onto front-end 2023-08-13 13:08:37 -07:00
cbd76895ac Add styling to grid and allow moving ephemeral tiles 2023-08-10 21:43:14 -07:00
5dc11de37d WIP Add Grid 2023-08-09 20:00:14 -07:00
1fb5235f2b Build in basic drag & drop for tiles 2023-08-07 22:56:12 -07:00
44e3b97f14 Start using reducer to track tile locations 2023-08-07 22:12:29 -07:00
69eb2060fc Adjust how I track tiles in React 2023-08-07 21:41:46 -07:00
f8e99ea02f Add autogenerated Typescript definitions 2023-08-05 21:55:16 -07:00
c9c3c7b59e Add React elements for basic tray display; connect to WASM 2023-08-05 19:24:15 -07:00
cb69ada00d Basic tray retrieval 2023-08-05 18:59:30 -07:00