oakmac / chessboard2

chessboard.js v2
ISC License
81 stars 7 forks source link

Port all examples from chessboard.js #24

Open oakmac opened 1 year ago

oakmac commented 1 year ago

All of the examples from chessboard.js should either 1) work for chessboard2 or 2) be removed if applicable.

The purpose of this issue is to track the progress of the Examples porting.

Example # Ported? Notes
1000-empty-board :heavy_check_mark:
1001-start-position :heavy_check_mark:
1002-fen :heavy_check_mark:
1003-position-object :heavy_check_mark:
1004-multiple-boards :heavy_check_mark:
2000-config-position :heavy_check_mark:
2001-config-orientation :heavy_check_mark:
2002-config-notation :x: Issue #25
2003-draggable-snapback :x:
2004-piece-theme-string :x: Issue #26
2005-animation-speed :x:
2006-spare-pieces :x:
2030-piece-theme-function :x: Issue #26
2044-position-fen :heavy_check_mark:
2063-position-object :heavy_check_mark:
2082-draggable-trash :x:
3000-get-position :x: Needs draggable: true support
3001-set-position :x: Mostly complete. Needs organization. Maybe break into two separate examples?
3002-set-position-instant :x: Needs polish, mostly complete
3003-clear :heavy_check_mark:
3004-move-pieces :x: Functional. Needs polish
3005-orientation :heavy_check_mark:
3006-destroy :heavy_check_mark:
3007-resize :x: Almost done. Needs config properties and probably Issue #23
4000-onchange :heavy_check_mark: Needs draggable: true support
4001-ondragstart :x:
4002-ondragstart-prevent-drag :x:
4003-ondragmove :x:
4004-ondrop :x:
4005-ondrop-snapback :x:
4006-ondrop-trash :x:
4011-onsnapbackend :x:
4012-onmoveend :x:
5000-legal-moves :x:
5001-play-random-computer :x: Mostly complete, needs polish. Should "tapToMove" be built into the board?
5002-random-vs-random :heavy_check_mark:
5003-highlight-legal-moves :x:
5004-piece-highlight1 :x:
5005-piece-highlight2 :x: