1
0
Webbasierter Watterblock
Go to file
Adrian Wannenmacher 85b9c2459c
switch from JSON to structural cloning
There are two reasons for this:

1. I've reconsidered my original plan to store the past games in
   localStorage, because that would make it difficult to display them in
   historical order, and would necessitate more complex logic for
   updating and removing sessions.

2. I've been unhappy with how I did the testing of the serialization and
   deserialization logic. So I redid it, and now I'm satisfied with it.

I've noticed that the testing methodology for the invalid fromStruct
method tests is not fully sound. If a check is accidentally removed that
test would not detect that, as long as it is not the very last. That is
because then the next error triggers. Therefore that will need to be
revisited.
2026-02-12 01:01:03 +01:00
models switch from JSON to structural cloning 2026-02-12 01:01:03 +01:00
vendored set up unit tests 2026-02-08 22:59:36 +01:00
LICENSE Initial commit 2026-02-08 21:05:11 +01:00
README.md Initial commit 2026-02-08 21:05:11 +01:00
test.html reorganize unit tests 2026-02-11 21:10:50 +01:00
test.js reorganize unit tests 2026-02-11 21:10:50 +01:00

watterblock

Webbasierter Watterblock