From ab820c01bbdfa13543d0f926802a2debb98a70b7 Mon Sep 17 00:00:00 2001 From: Inga Date: Wed, 20 Nov 2024 02:47:52 +0000 Subject: [PATCH] minor readme edit --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 1aa6645..7a159aa 100644 --- a/README.md +++ b/README.md @@ -318,6 +318,10 @@ None. so that offline-only game can work in all browsers fully supporting Web Components (i.e. Blink-based and Firefox not older than 2018); right now ES2022 is targeted. +* Figure out better API for game board, + `board.get(row, column)` and `board.get(row, column)` seemed to be a good way to encapsulate readonly state, + but they became very inconvenient as the codebase grew and became more complex, + considering that board does not even expose its dimensions. * Figure out better and more consistent naming and project structure. * Implement end-to-end tests with puppeteer / chromedriver (and run them both with JS enabled and with JS disabled). * Implement unit tests for remaining shared code.