Commit Graph

99 Commits (deepcrayonfish)

Author SHA1 Message Date
Niklas Fiekas 7b531d078d bump chessops to 0.10.2 (fix atomic with check and exploded king) 2021-10-19 13:36:38 +02:00
Benedikt Werner b0201a63d1
Use @types/web instead of TS-provided "dom" types 2021-09-15 05:04:32 +02:00
Benedikt Werner 8073dc43c7
Update Typescript to 4.4.3 for requestIdleCallback 2021-09-15 04:00:59 +02:00
Thibault Duplessis 184b75de96
Merge pull request #9676 from benediktwerner/build-dir-subpath
Move all tsc output to dist subdirectories
2021-08-28 11:08:45 +02:00
Thibault Duplessis 5826074b8b chessground 8.1.7 for ornicar/chessground#202 2021-08-27 08:06:14 +02:00
Benedikt Werner 187b0059bd
Move all tsc output to dist subdirectories
Requries node >v12.20.0 or >v14.13.0
2021-08-26 12:37:09 +02:00
Thibault Duplessis d0ede860b7 upgrade chessground 8.1.6 2021-08-23 09:28:02 +02:00
Niklas Fiekas df3b7efdbd explicitly depend on @types/cash 2021-08-23 01:33:40 +02:00
Niklas Fiekas 0d569d2ec9 use $npm_execpath in build scripts 2021-08-23 00:54:38 +02:00
Niklas Fiekas 8d63367a01 fix more missing dependencies 2021-08-22 22:02:34 +02:00
Niklas Fiekas eeadb16e6f bump build dependencies 2021-08-22 17:21:01 +02:00
Jean P 67010b31c5 fix ui build on windows 2021-06-30 15:45:23 +02:00
Albert Ford ad34d2a4bd Accept moves via board in nvui analysis 2021-06-28 18:41:42 -06:00
Albert Ford 5bd7e581fb Accept moves via text input in nvui analysis 2021-06-28 18:28:38 -06:00
Niklas Fiekas 1105cbdf97 update build dependencies 2021-06-21 18:06:16 +02:00
Thibault Duplessis 825281a6b0 Merge branch 'puzzle-accessibility' of https://github.com/370417/lila
* 'puzzle-accessibility' of https://github.com/370417/lila:
  Fix build failure: build chess before nvui
  Move sanWriter to ui/chess
  Nvui for puzzles: notify success
  Nvui for puzzles: add streak & replay info, polish
  Nvui for puzzles: add voting, selecting difficulty
  Improve explanation of keyboard shortcuts
  Apply existing nvui css to puzzles
  Add board to puzzle nvui
  Add move list to puzzle nvui
  Display puzzle status and controls in nvui
  Nvui for puzzles: avoid i18n for consistency
  Nvui for puzzles: explain keyboard shortcuts
  Nvui for puzzles: improve invalid move error msg
  Nvui for puzzles: add move and command input
  Don't delay puzzle moves in accessibility mode
  Extract sanWriter and common nvui functions into ui/nvui
  Create nvui module for puzzles
2021-06-17 10:20:08 +02:00
Albert Ford b262f9e7c0 Move sanWriter to ui/chess 2021-06-15 12:42:57 -07:00
Albert Ford 84bc70d239 Add move list to puzzle nvui 2021-06-14 06:01:36 -07:00
Albert Ford 16f75b03cb Extract sanWriter and common nvui functions into ui/nvui 2021-06-11 00:16:47 -07:00
Tait Hoyem 4550020a33
Add horde mode (#9126) 2021-06-07 07:43:38 +02:00
Thibault Duplessis 7695947de0 code golf after #9014 2021-05-29 08:42:00 +02:00
Thibault Duplessis d864087c86 ui/nvui must not depend on ui/round - for #9014 2021-05-29 08:38:20 +02:00
Tait Hoyem f6b19e8522
NVUI bugfixes & improvements (#9014)
* NVUI bugfixes

1. l would not trigger lastMove() with Orca
2. Possible moves only worked with white

* prettier

* Add support for antichess, atomic.

Fix error where it only displays your possible moves when it is your turn.

* linting

* prettify

Co-authored-by: = <=>
2021-05-29 08:09:51 +02:00
Albert Ford b9fcc550ee Fix missing voice-over of identical moves 2021-05-22 12:25:05 -07:00
Niklas Fiekas 1dba9f3a58 fix trivial cases of no-var 2021-04-07 21:08:57 +02:00
Niklas Fiekas 51f6736d3f fix trivial cases of prefer-const 2021-04-07 19:18:28 +02:00
topce d7b8491b8e fix no-duplicate-imports 2021-04-05 09:10:35 +02:00
topce 169c9ed280 upgrade to snabbdom
fix soome minor issues
2021-04-03 20:36:53 +02:00
Niklas Fiekas 1374ea5ee4 prettier: format all files 2021-02-06 14:52:33 +01:00
Niklas Fiekas b326c88c9c clean and unify tsconfig.json files 2021-02-06 13:07:58 +01:00
Thibault Duplessis 51d8f389cd
Merge pull request #7772 from TTWNO/nvui-table-board
NVUI Round Additions
2021-01-14 11:43:08 +01:00
Tait Hoyem 3587849d80 Allow checking of possible moves for your pieces, even when it is not your turn. 2020-12-29 17:13:43 -07:00
Niklas Fiekas eaa80e2b1a Revert "Revert "update typescript to 4.1.x (preparing chessops 0.8.1)""
This reverts commit 986b06344f.
2020-12-29 14:04:15 +01:00
Tait Hoyem 582daa3940 ctrl.data.possibleMoves -> ctrl.chessground.state.movable 2020-12-28 20:15:00 -07:00
Tait Hoyem 3853214e8d Fix 'invalid' error message. 2020-12-28 16:53:42 -07:00
Tait Hoyem b04724e3c6 Add pawn promotion handler. Couples two listeners together though. 2020-12-28 16:49:23 -07:00
Tait Hoyem 2d3a28913d Cleanup possibleMovesHandler more 2020-12-28 13:53:25 -07:00
Tait Hoyem dff77928f1 Cleanup possibleMoveHandler 2020-12-28 12:55:55 -07:00
Tait Hoyem d855399411 Fix compile errors. 2020-12-28 12:03:40 -07:00
Thibault Duplessis 986b06344f Revert "update typescript to 4.1.x (preparing chessops 0.8.1)"
This reverts commit f420fe4dd4.
2020-12-28 18:06:09 +01:00
Tait Hoyem ada4368579 Cleanup and announce possible moves (just like the highlighting of the squares in the visual version) 2020-12-28 00:26:07 -07:00
Tait Hoyem e9a78ac940 Fix analysis board. Analysis board still not functional, but it does render now. 2020-12-27 18:03:57 -07:00
Niklas Fiekas f420fe4dd4 update typescript to 4.1.x (preparing chessops 0.8.1) 2020-12-28 01:20:28 +01:00
Tait Hoyem 71936735f8 Remove debugging info; fix bug where piece jumping did not work with some piece styles 2020-12-20 18:35:10 -07:00
Tait Hoyem 31885f15a6 Ready for testing; fix last captured piece bug 2020-12-20 15:39:27 -07:00
Tait Hoyem 44aac6ea68 Code cleanup, add get captured piece type 2020-12-18 13:08:17 -07:00
Tait Hoyem a20f19e981 Simplify arrowkey handler 2020-12-17 21:53:18 -07:00
Tait Hoyem 55c6f5f043 Add 'last taken' command 2020-12-17 21:35:52 -07:00
Tait Hoyem 033fea684e Add position jumping, add current pos and last move status 2020-12-15 21:53:10 -07:00
Tait Hoyem 9cef38aac3 Cleanup, start board key handlers 2020-12-15 21:08:09 -07:00