Commit graph

179 commits

Author SHA1 Message Date
Stephen Seo eefa8f5bdc Update spreadsheets for Sprint 1 day 4 2022-03-03 17:39:59 +09:00
Stephen Seo 462dec9ea1 Remove NodeRef for getter, improve turn indicator
All NodeRefs have been removed in favor of "getElementById".

Turn indicator is now much more obvious to see.
2022-03-03 17:36:51 +09:00
Stephen Seo 52b841d98a Replace slot "ref" with "id" 2022-03-03 14:08:35 +09:00
Stephen Seo 582729fc58 Spreadsheets: one task as incomplete/blocked
"Turn logic" marked as incomplete/blocked because it will be reworked
when actual multiplayer is to be implemented.
2022-03-02 19:26:21 +09:00
Stephen Seo 5390e4f9cf Minor impl: add default messages to info_texts 2022-03-02 19:22:36 +09:00
Stephen Seo 2fb5a18636 Minor refactoring
Changed the "Msg" type of "Wrapper" from "String" to "WrapperMsg".
2022-03-02 19:19:50 +09:00
Stephen Seo 3ffeb45de4 Update spreadsheets for Sprint 1 Day 3's progress 2022-03-02 17:58:22 +09:00
Stephen Seo 3b4d8b3483 Impl additional info text box, drop logic
Can place tokens, and not place tokens where there already is a token.

Additional info text box added to the side of the board.

More information to the UI regarding placed tokens.
2022-03-02 17:51:14 +09:00
Stephen Seo 4c8e330c05 Fix comment typo 2022-03-02 16:27:19 +09:00
Stephen Seo 8838dbae69 Cleanup and fixes
Remove state::MessageBus in favor of String messages sent to Wrapper
from Slot.

Update Slot state from inside Wrapper::update such that changes should
be immediately visible per Slot (moved code from Wrapper::rendered,
fixing updates not being immediately visble).
2022-03-02 16:25:01 +09:00
Stephen Seo 7e82a6e787 Minor fix to usage of html element for info_text 2022-03-02 15:47:43 +09:00
Stephen Seo 45e2c88745 Reverse info_text vertically
info_text's latest messages now appear at the top instead of at the
bottom.
2022-03-02 15:38:24 +09:00
Stephen Seo 15c7dc7654 Reorganize front-end source into modules 2022-03-02 15:18:21 +09:00
Stephen Seo bef0c60baf Add constraint, tweaks to backlogs/userStories 2022-03-01 20:32:54 +09:00
Stephen Seo 9f7fcfe48c Update Sprint 1 Backlog
Moved the "skeleton front-end" task to a different User Story.

Minor fix to Product Backlog.
2022-03-01 16:22:49 +09:00
Stephen Seo 70f938a0e4 Update Sprint 1 Backlog with more info 2022-03-01 16:16:28 +09:00
Stephen Seo 6316bd2fdc Removed unnecessary debug logs
Also removed unnecessary feature from web-sys dependency.
2022-03-01 16:09:20 +09:00
Stephen Seo 720c9fdbcb Update Sprint 1 Backlog
Logged work for day 2 of Sprint 1.
2022-03-01 16:07:13 +09:00
Stephen Seo a8e516c535 Added output-text-box, connected front-end items
More work was needed to have separate components of the front-end to
communicate with each other. Also added an output-text-box for
informative messages.
2022-03-01 16:02:59 +09:00
Stephen Seo a756f0b4b2 Have SharedState use an array of Rc's
Having each array element be an Rc<Cell<BoardState>> enables sharing
Rc's with the Slot subelement.
2022-03-01 11:05:56 +09:00
Stephen Seo 32a007cf37 Minor fix to front-end 2022-02-28 16:55:07 +09:00
Stephen Seo dd59bdb5f3 "cargo clippy" (linter) fixes 2022-02-28 16:53:13 +09:00
Stephen Seo 0bedc34ac3 "cargo fmt" on front-end code 2022-02-28 16:50:00 +09:00
Stephen Seo d94f81d5c1 Update Sprint Backlog - Sprint 1 2022-02-28 16:48:57 +09:00
Stephen Seo cd9f7446a4 Impl basic MVP of front-end
(MVP is Minimum Viable Product.)
Enough is implemented to view a 7x8 board and click on the tiles in the
board to change their states.
2022-02-28 16:45:33 +09:00
Stephen Seo a5ec28bbb1 Add front_end skeleton project 2022-02-28 13:49:40 +09:00
Stephen Seo 544783d207 Add spreadsheets/README.md 2022-02-28 13:47:22 +09:00
Stephen Seo bd56633598 User Stores, Backlogs for Sprint 1
Initial plan set up prior to Sprint 1. See git tags for "timestamps".
2022-02-28 13:44:24 +09:00
Stephen Seo 0ed79b40a2 Init empty commit 2022-02-27 14:46:23 +09:00