From 52c8735e27732506520fbee2b0f37e88b827ba0e Mon Sep 17 00:00:00 2001 From: yukirij Date: Sat, 31 Aug 2024 00:11:13 -0700 Subject: [PATCH] Add backward move to lance; fix variable name; rearrange challenge list columns. --- www/js/game.js | 1 + www/js/scene.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/www/js/game.js b/www/js/game.js index 5994d89..3a84927 100644 --- a/www/js/game.js +++ b/www/js/game.js @@ -682,6 +682,7 @@ GAME.Const = { new GAME.PieceMovement() .add(0) .add(1) + .add(3) .add(5), new GAME.PieceMovement() .add(0) diff --git a/www/js/scene.js b/www/js/scene.js index 430efa0..095864e 100644 --- a/www/js/scene.js +++ b/www/js/scene.js @@ -838,14 +838,14 @@ const SCENES = { buttons.push(UI.button(LANG("decline"), callback_decline)); rows.push([ + UI.text(data.challenges[r].handle), UI.text(LANG("unranked")), - UI.text(data.users[r].handle), buttons, ]); } let tbody = UI.table_content( - [ LANG("rank"), LANG("handle"), "" ], + [ LANG("handle"), LANG("rank"), "" ], rows, );