Commit graph

95 commits

Author SHA1 Message Date
839e9021fa Refactor: Replace calling JS settimeout with Rust
web-sys and js-sys provides ways to use "settimeout" in pure Rust which
is used instead of calling into Javascript to do "settimeout".
2022-03-23 16:56:25 +09:00
20a8b6ade0 Update backend_database_specification.md 2022-03-23 16:12:36 +09:00
6c47ce948b Impl graceful shutdown of backend on failure 2022-03-18 23:43:15 +09:00
13f500b4f5 Update Sprint 3 backlog 2022-03-18 19:34:29 +09:00
5a0c0696d1 Impl enough backend to assign ids to players 2022-03-18 19:29:38 +09:00
495a11b87f Update backend database specification 2022-03-18 17:03:07 +09:00
2f38bf9a0b Fix typo in backend database spec. 2022-03-18 16:45:44 +09:00
2bc0094052 Minor fix to backend database spec. 2022-03-18 16:42:58 +09:00
0eba561699 Update Sprint 3 backlog 2022-03-18 16:41:48 +09:00
48412bfcb7 Writeup backend database specification 2022-03-18 16:39:30 +09:00
c321d4f54a Up. Sprint 3 backlog, update backend protocol spec 2022-03-18 15:16:27 +09:00
fc7dd81516 Update Sprint 3 backlog 2022-03-17 12:07:41 +09:00
f5e632bce5 Add retrospectives for Sprint 1, 2 2022-03-17 11:45:27 +09:00
766528384f Tweak colors of Sprint 1, 2 hours 2022-03-17 11:36:58 +09:00
002e93f169 Update Sprint 3 backlog 2022-03-17 11:33:59 +09:00
dcc2022a7d Update result burndown charts for sprint 1,2 2022-03-17 11:27:31 +09:00
01c10ad901 Add graph for Sprint 1 2022-03-16 22:16:21 +09:00
2cedc0804f Refactoring/cleanup of backend 2022-03-16 13:10:21 +09:00
b9921e6f47 Have backend always return JSON String 2022-03-16 13:09:07 +09:00
97ca4adecc Refactorings/fixes for back-end 2022-03-16 12:31:18 +09:00
e1180963f3 Update /README.md about the back-end 2022-03-16 12:27:22 +09:00
7c4d38549f Update backend protocol, skeleton backend project 2022-03-16 12:26:18 +09:00
78521f683e Update Sprint 3 backlog 2022-03-15 17:06:16 +09:00
d200a2fd7c Rename deferred_helper.js -> async_js_helper.js 2022-03-15 13:46:35 +09:00
ebf0cb5bb8 Impl async delay on AI choice
This commit is also a stepping-stone towards handling http requests
which will require deferred callbacks on Yew Components. By figuring
out how to delay callbacks in this commit, it should be easier to
figure out how to handle http requests that may require a deferred
callback.
2022-03-15 13:16:09 +09:00
02e0d5b7e2 Update Sprint 3 backlog 2022-03-14 14:38:47 +09:00
3d61c0d626 Back-end skeleton project, backend protocol spec 2022-03-14 14:33:51 +09:00
8fa4093a0d Setup dependencies for connection to backend WIP 2022-03-14 13:18:11 +09:00
e1b2c62912 Add sprint 3 backlog 2022-03-13 22:15:05 +09:00
eb86b52b03 Update backlogs/user_stories after Sprint 2 2022-03-13 22:05:10 +09:00
414740b7ce Reorder code to print winning move
Previously, the winning move was not printed at the bottom info_text.
2022-03-10 18:16:30 +09:00
b6a86bc631 Update Sprint 2 backlog 2022-03-10 17:25:04 +09:00
92f91672fa Fix infinite loop bug, refactorings/fixes 2022-03-10 17:01:34 +09:00
38e7772d4f More AI tweaks 2022-03-10 16:44:01 +09:00
d8377d280a Tweaks to AI for correctness 2022-03-10 16:39:26 +09:00
2a44cf810e Update Sprint 2 backlog 2022-03-10 16:19:48 +09:00
89a12623b4 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..
2022-03-10 16:17:16 +09:00
e35870b240 Impl placed token indicator, fixes/refactorings 2022-03-10 15:43:03 +09:00
07eee5b0ce Add root README.md 2022-03-09 22:13:53 +09:00
a597b4217a Update front_end/README.md about website 2022-03-09 19:45:11 +09:00
0d3d6b2a8d Fix typo 2022-03-09 19:29:00 +09:00
d4acd7a58f Update Sprint 2 backlog 2022-03-09 18:20:06 +09:00
7e9718a743 Refactorings and linter fixes 2022-03-09 18:14:01 +09:00
76e6d3be52 Impl buttons indicator that won the game 2022-03-09 18:10:13 +09:00
b902b1c7b4 Impl use of win/draw check, fixes
Also added unit tests for win/draw checks.
2022-03-09 17:29:53 +09:00
9e9bb0758c 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.
2022-03-09 16:26:14 +09:00
2389441207 Update sprint 2 backlog 2022-03-09 15:31:29 +09:00
21041132c6 Minor fixes/tweaks to Utility AI 2022-03-07 19:50:43 +09:00
14d224734f Minor fix to Utility AI code 2022-03-07 17:07:00 +09:00
ec9aac8400 Tweak Hard-level AI
Shuffles the utilities-index pairs for the cases where there are
multiple pairs of the same utility value.
2022-03-07 16:59:18 +09:00