]> git.seodisparate.com - EN605.607.81.SP22_ASDM_Project/log
EN605.607.81.SP22_ASDM_Project
3 years agoIncorporate game AI into game
Stephen Seo [Thu, 10 Mar 2022 07:17:16 +0000 (16:17 +0900)]
Incorporate game AI into game

Can select from three difficulties, and the AI makes their move when it
is their turn. AI probably still needs some tweaking..

3 years agoImpl placed token indicator, fixes/refactorings
Stephen Seo [Thu, 10 Mar 2022 06:43:03 +0000 (15:43 +0900)]
Impl placed token indicator, fixes/refactorings

3 years agoAdd root README.md sprint_02_day_3
Stephen Seo [Wed, 9 Mar 2022 13:13:53 +0000 (22:13 +0900)]
Add root README.md

3 years agoUpdate front_end/README.md about website
Stephen Seo [Wed, 9 Mar 2022 10:45:11 +0000 (19:45 +0900)]
Update front_end/README.md about website

3 years agoFix typo
Stephen Seo [Wed, 9 Mar 2022 10:29:00 +0000 (19:29 +0900)]
Fix typo

3 years agoUpdate Sprint 2 backlog
Stephen Seo [Wed, 9 Mar 2022 09:20:06 +0000 (18:20 +0900)]
Update Sprint 2 backlog

3 years agoRefactorings and linter fixes
Stephen Seo [Wed, 9 Mar 2022 09:14:01 +0000 (18:14 +0900)]
Refactorings and linter fixes

3 years agoImpl buttons indicator that won the game
Stephen Seo [Wed, 9 Mar 2022 09:10:13 +0000 (18:10 +0900)]
Impl buttons indicator that won the game

3 years agoImpl use of win/draw check, fixes
Stephen Seo [Wed, 9 Mar 2022 08:29:53 +0000 (17:29 +0900)]
Impl use of win/draw check, fixes

Also added unit tests for win/draw checks.

3 years agoFix rand not compilable for wasm, impl game logic
Stephen Seo [Wed, 9 Mar 2022 07:22:01 +0000 (16:22 +0900)]
Fix rand not compilable for wasm, impl game logic

"rand" crate was not compilable for wasm-unknown-unknown target, so an
alternative "oorandom" crate was substituted in.

Basic game win/draw detection logic added.

3 years agoUpdate sprint 2 backlog
Stephen Seo [Wed, 9 Mar 2022 06:31:29 +0000 (15:31 +0900)]
Update sprint 2 backlog

3 years agoMinor fixes/tweaks to Utility AI sprint_02_day_1 sprint_02_day_2
Stephen Seo [Mon, 7 Mar 2022 10:50:43 +0000 (19:50 +0900)]
Minor fixes/tweaks to Utility AI

3 years agoMinor fix to Utility AI code
Stephen Seo [Mon, 7 Mar 2022 08:06:45 +0000 (17:06 +0900)]
Minor fix to Utility AI code

3 years agoTweak Hard-level AI
Stephen Seo [Mon, 7 Mar 2022 07:59:18 +0000 (16:59 +0900)]
Tweak Hard-level AI

Shuffles the utilities-index pairs for the cases where there are
multiple pairs of the same utility value.

3 years agoUpdate Sprint 2 backlog, product backlog
Stephen Seo [Mon, 7 Mar 2022 05:55:41 +0000 (14:55 +0900)]
Update Sprint 2 backlog, product backlog

3 years agoMove "ai/mod.rs" to "ai.rs" (module management)
Stephen Seo [Mon, 7 Mar 2022 05:47:04 +0000 (14:47 +0900)]
Move "ai/mod.rs" to "ai.rs" (module management)

3 years agoBasic impl. of AI (enough completed to use/test)
Stephen Seo [Mon, 7 Mar 2022 05:45:57 +0000 (14:45 +0900)]
Basic impl. of AI (enough completed to use/test)

3 years agoWIP AI implementation, some fixes/tweaks to AI
Stephen Seo [Mon, 7 Mar 2022 05:35:09 +0000 (14:35 +0900)]
WIP AI implementation, some fixes/tweaks to AI

3 years agoWIP Utility based AI, some impl. progress
Stephen Seo [Mon, 7 Mar 2022 05:23:39 +0000 (14:23 +0900)]
WIP Utility based AI, some impl. progress

3 years agoUpdate Sprint 2 backlog
Stephen Seo [Mon, 7 Mar 2022 04:18:11 +0000 (13:18 +0900)]
Update Sprint 2 backlog

3 years agoMinor formatting fix
Stephen Seo [Mon, 7 Mar 2022 04:15:53 +0000 (13:15 +0900)]
Minor formatting fix

3 years agoMinor refactoring
Stephen Seo [Mon, 7 Mar 2022 04:14:57 +0000 (13:14 +0900)]
Minor refactoring

Use "From<>" instead of "Into<>" for MainMenuMessage to GameState.

3 years agoSet up API for AI choice of slot on board
Stephen Seo [Mon, 7 Mar 2022 04:12:05 +0000 (13:12 +0900)]
Set up API for AI choice of slot on board

3 years agoCreate Backlog for Sprint 2 pre_sprint_02
Stephen Seo [Sun, 6 Mar 2022 10:44:21 +0000 (19:44 +0900)]
Create Backlog for Sprint 2

3 years agoPrepare for Sprint 2 in spreadsheets
Stephen Seo [Sun, 6 Mar 2022 10:36:55 +0000 (19:36 +0900)]
Prepare for Sprint 2 in spreadsheets

Sprint 2 Goal: Utility-based AI impl.

3 years agoUpdate backlogs for additional story completed sprint_01_day_5
Stephen Seo [Fri, 4 Mar 2022 07:29:51 +0000 (16:29 +0900)]
Update backlogs for additional story completed

"Game start" User Story was implemented along side "Main menu".

3 years agoUpdate Sprint 1 backlog (day 5)
Stephen Seo [Fri, 4 Mar 2022 07:24:49 +0000 (16:24 +0900)]
Update Sprint 1 backlog (day 5)

3 years agoImpl main menu
Stephen Seo [Fri, 4 Mar 2022 07:22:30 +0000 (16:22 +0900)]
Impl main menu

Only "LocalMultiplayer" can be chosen for the game-mode since neither
AI nor Networked-Multiplayer has been implemented yet.

3 years agoUpdate Sprint 1 Backlog sprint_01_day_4
Stephen Seo [Fri, 4 Mar 2022 05:37:03 +0000 (14:37 +0900)]
Update Sprint 1 Backlog

3 years agoImpl convenience functions, refactoring
Stephen Seo [Thu, 3 Mar 2022 09:01:46 +0000 (18:01 +0900)]
Impl convenience functions, refactoring

3 years agoUpdate spreadsheets for Sprint 1 day 4
Stephen Seo [Thu, 3 Mar 2022 08:39:59 +0000 (17:39 +0900)]
Update spreadsheets for Sprint 1 day 4

3 years agoRemove NodeRef for getter, improve turn indicator
Stephen Seo [Thu, 3 Mar 2022 08:36:51 +0000 (17:36 +0900)]
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.

3 years agoReplace slot "ref" with "id"
Stephen Seo [Thu, 3 Mar 2022 05:08:35 +0000 (14:08 +0900)]
Replace slot "ref" with "id"

3 years agoSpreadsheets: one task as incomplete/blocked sprint_01_day_3
Stephen Seo [Wed, 2 Mar 2022 10:26:21 +0000 (19:26 +0900)]
Spreadsheets: one task as incomplete/blocked

"Turn logic" marked as incomplete/blocked because it will be reworked
when actual multiplayer is to be implemented.

3 years agoMinor impl: add default messages to info_texts
Stephen Seo [Wed, 2 Mar 2022 10:22:36 +0000 (19:22 +0900)]
Minor impl: add default messages to info_texts

3 years agoMinor refactoring
Stephen Seo [Wed, 2 Mar 2022 10:19:50 +0000 (19:19 +0900)]
Minor refactoring

Changed the "Msg" type of "Wrapper" from "String" to "WrapperMsg".

3 years agoUpdate spreadsheets for Sprint 1 Day 3's progress
Stephen Seo [Wed, 2 Mar 2022 08:58:22 +0000 (17:58 +0900)]
Update spreadsheets for Sprint 1 Day 3's progress

3 years agoImpl additional info text box, drop logic
Stephen Seo [Wed, 2 Mar 2022 08:51:14 +0000 (17:51 +0900)]
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.

3 years agoFix comment typo
Stephen Seo [Wed, 2 Mar 2022 07:27:19 +0000 (16:27 +0900)]
Fix comment typo

3 years agoCleanup and fixes
Stephen Seo [Wed, 2 Mar 2022 07:25:01 +0000 (16:25 +0900)]
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).

3 years agoMinor fix to usage of html element for info_text
Stephen Seo [Wed, 2 Mar 2022 06:47:43 +0000 (15:47 +0900)]
Minor fix to usage of html element for info_text

3 years agoReverse info_text vertically
Stephen Seo [Wed, 2 Mar 2022 06:38:24 +0000 (15:38 +0900)]
Reverse info_text vertically

info_text's latest messages now appear at the top instead of at the
bottom.

3 years agoReorganize front-end source into modules
Stephen Seo [Wed, 2 Mar 2022 06:18:10 +0000 (15:18 +0900)]
Reorganize front-end source into modules

3 years agoAdd constraint, tweaks to backlogs/userStories sprint_01_day_2
Stephen Seo [Tue, 1 Mar 2022 11:32:54 +0000 (20:32 +0900)]
Add constraint, tweaks to backlogs/userStories

3 years agoUpdate Sprint 1 Backlog
Stephen Seo [Tue, 1 Mar 2022 07:22:49 +0000 (16:22 +0900)]
Update Sprint 1 Backlog

Moved the "skeleton front-end" task to a different User Story.

Minor fix to Product Backlog.

3 years agoUpdate Sprint 1 Backlog with more info
Stephen Seo [Tue, 1 Mar 2022 07:16:28 +0000 (16:16 +0900)]
Update Sprint 1 Backlog with more info

3 years agoRemoved unnecessary debug logs
Stephen Seo [Tue, 1 Mar 2022 07:09:10 +0000 (16:09 +0900)]
Removed unnecessary debug logs

Also removed unnecessary feature from web-sys dependency.

3 years agoUpdate Sprint 1 Backlog
Stephen Seo [Tue, 1 Mar 2022 07:07:13 +0000 (16:07 +0900)]
Update Sprint 1 Backlog

Logged work for day 2 of Sprint 1.

3 years agoAdded output-text-box, connected front-end items
Stephen Seo [Tue, 1 Mar 2022 07:02:59 +0000 (16:02 +0900)]
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.

3 years agoHave SharedState use an array of Rc's
Stephen Seo [Tue, 1 Mar 2022 02:04:49 +0000 (11:04 +0900)]
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.

3 years agoMinor fix to front-end sprint_01_day_1
Stephen Seo [Mon, 28 Feb 2022 07:55:07 +0000 (16:55 +0900)]
Minor fix to front-end

3 years ago"cargo clippy" (linter) fixes
Stephen Seo [Mon, 28 Feb 2022 07:53:01 +0000 (16:53 +0900)]
"cargo clippy" (linter) fixes

3 years ago"cargo fmt" on front-end code
Stephen Seo [Mon, 28 Feb 2022 07:50:00 +0000 (16:50 +0900)]
"cargo fmt" on front-end code

3 years agoUpdate Sprint Backlog - Sprint 1
Stephen Seo [Mon, 28 Feb 2022 07:48:57 +0000 (16:48 +0900)]
Update Sprint Backlog - Sprint 1

3 years agoImpl basic MVP of front-end
Stephen Seo [Mon, 28 Feb 2022 07:40:38 +0000 (16:40 +0900)]
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.

3 years agoAdd front_end skeleton project
Stephen Seo [Mon, 28 Feb 2022 04:49:40 +0000 (13:49 +0900)]
Add front_end skeleton project

3 years agoAdd spreadsheets/README.md
Stephen Seo [Mon, 28 Feb 2022 04:47:22 +0000 (13:47 +0900)]
Add spreadsheets/README.md

3 years agoUser Stores, Backlogs for Sprint 1 pre_sprint_01
Stephen Seo [Mon, 28 Feb 2022 04:43:42 +0000 (13:43 +0900)]
User Stores, Backlogs for Sprint 1

Initial plan set up prior to Sprint 1. See git tags for "timestamps".

3 years agoInit empty commit
Stephen Seo [Sun, 27 Feb 2022 05:46:23 +0000 (14:46 +0900)]
Init empty commit