From b6743568630ed182a3791344b3c042c79cc3b559 Mon Sep 17 00:00:00 2001 From: pommicket Date: Mon, 19 Aug 2024 22:20:46 -0400 Subject: piece position validation, only update on mouseup, etc. --- TODO.txt | 2 ++ game.html | 2 +- game.js | 12 ++++++------ index.html | 2 +- index.js | 8 +++++++- server/src/main.rs | 22 ++++++++++++++-------- 6 files changed, 31 insertions(+), 17 deletions(-) diff --git a/TODO.txt b/TODO.txt index 86d3972..9ef13bd 100644 --- a/TODO.txt +++ b/TODO.txt @@ -2,3 +2,5 @@ - congratualations - handle server errors on the client side - let user select piece size +- change piece.x,y to relative (% of play-area) +- webgl? maybe? diff --git a/game.html b/game.html index 08c0b23..2784661 100644 --- a/game.html +++ b/game.html @@ -7,7 +7,7 @@ - +