Jesse D. McDonald
|
d329f005da
|
remove redundant closeNotifications() before setCurrentGame()
|
2020-03-29 20:16:03 -05:00 |
Jesse D. McDonald
|
864f320b41
|
adjust badge layout to avoid overlap & add tooltips
|
2020-03-29 20:12:32 -05:00 |
Jesse D. McDonald
|
31853ec1be
|
adjust rook SVG to avoid thin edges
|
2020-03-29 16:50:24 -05:00 |
Jesse D. McDonald
|
d5b3594e57
|
close prior notifications when updating game state
|
2020-03-29 16:40:48 -05:00 |
Jesse D. McDonald
|
1f0442cadb
|
reverse all piece images when board is reversed, not just knights
|
2020-03-29 16:13:20 -05:00 |
Jesse D. McDonald
|
eb25bb31d2
|
make entire square clickable to select, not just the piece
|
2020-03-29 16:12:46 -05:00 |
Jesse D. McDonald
|
c9bd8a06af
|
add 'Paco Ŝako' theme based on the icons from the manual
|
2020-03-29 15:40:23 -05:00 |
Jesse D. McDonald
|
40e583deb8
|
add badges linking to the official site and the Gogs repo
|
2020-03-29 15:09:05 -05:00 |
Jesse D. McDonald
|
dca6754b65
|
omit move number when last move is a resignation
|
2020-03-29 01:37:37 -05:00 |
Jesse D. McDonald
|
7e0cdfbdc2
|
don't reload page when switching games
|
2020-03-29 01:15:40 -05:00 |
Jesse D. McDonald
|
1eb253c92d
|
fix for metadata omitted when replaying resignation moves
|
2020-03-29 01:15:13 -05:00 |
Jesse D. McDonald
|
8e639a68eb
|
stop using Gun.chain.map; monitor game list changes manually
|
2020-03-29 01:14:26 -05:00 |
Jesse D. McDonald
|
f184df6447
|
avoid updating select options when text didn't change
|
2020-03-29 01:03:34 -05:00 |
Jesse D. McDonald
|
b5c830ab68
|
create a helper for cancellable Gun.chain.on callbacks
|
2020-03-29 00:29:47 -05:00 |
Jesse D. McDonald
|
c7c1905f9d
|
process null metadata to handle deletion properly
|
2020-03-29 00:28:50 -05:00 |
Jesse D. McDonald
|
f3ae25f16a
|
set metadata to null when there are no names or moves
|
2020-03-29 00:27:38 -05:00 |
Jesse D. McDonald
|
2e324b180c
|
add some logging options for GUN messages
|
2020-03-28 22:29:38 -05:00 |
Jesse D. McDonald
|
72650faded
|
fix moves not animating when received from peers
|
2020-03-28 19:36:45 -05:00 |
Jesse D. McDonald
|
8e66eb3537
|
re-disable GUN local storage
|
2020-03-28 19:36:28 -05:00 |
Jesse D. McDonald
|
51ee683bad
|
simplify handling of piece images with CSS content attributes
|
2020-03-28 18:24:20 -05:00 |
Jesse D. McDonald
|
57b5da99b5
|
minor refactoring & internal name changes
|
2020-03-25 17:56:54 -05:00 |
Jesse D. McDonald
|
aa33042c30
|
fix alignment of phantom pieces in reversed board
|
2020-03-25 14:07:08 -05:00 |
Jesse D. McDonald
|
3df80ed59a
|
add basic animations
|
2020-03-23 01:53:53 -05:00 |
Jesse D. McDonald
|
0c983c1d70
|
disable debug output & add some items to the Admin object
|
2020-03-23 00:09:41 -05:00 |
Jesse D. McDonald
|
ec1a2bd1fd
|
add option to reverse board layout; style tweaks for controls
|
2020-03-22 23:49:51 -05:00 |
Jesse D. McDonald
|
ef99fa07d1
|
optimize SVG chess images for smaller file sizes
|
2020-03-22 23:47:30 -05:00 |
Jesse D. McDonald
|
4339ae2f01
|
add click-to-move feature
|
2020-03-22 12:58:29 -05:00 |
Jesse D. McDonald
|
a96e8f1e4f
|
major rewrite; breaking change; game logic in separate file
|
2020-03-22 01:38:34 -05:00 |
Jesse D. McDonald
|
0d91a2baca
|
relax HTTP cache control max-age directive from 10s to 1h
|
2020-03-20 20:10:36 -05:00 |
Jesse D. McDonald
|
89f335479b
|
add network time synchronization & fix initial timestamp
|
2020-03-15 20:18:30 -05:00 |
Jesse D. McDonald
|
8a3e3ca4f2
|
work around sync issues by reloading page when switching game
|
2020-03-15 20:09:06 -05:00 |
Jesse D. McDonald
|
2e6764ffb5
|
add support for resignation
|
2020-03-15 15:57:17 -05:00 |
Jesse D. McDonald
|
85375530a9
|
fix .cb-legal and .cb-start classes not placed correctly in some corner cases
|
2020-03-15 14:31:21 -05:00 |
Jesse D. McDonald
|
0769d7579b
|
add more precise disambiguation of pieces in history
|
2020-03-15 14:30:33 -05:00 |
Jesse D. McDonald
|
5011cfed8c
|
fix a null reference when checking for legal en passant moves
|
2020-03-15 14:27:34 -05:00 |
Jesse D. McDonald
|
c20dda886a
|
move both pieces when rook is paired while castling
|
2020-03-15 13:09:56 -05:00 |
Jesse D. McDonald
|
def7ccdbcb
|
require empty squares (both sides) between king and rook to castle
|
2020-03-15 13:03:39 -05:00 |
Jesse D. McDonald
|
baf4c19f1d
|
clean up the logic around en passant and pawn promotion
|
2020-03-15 12:58:14 -05:00 |
Jesse D. McDonald
|
fad973b1bc
|
record the pawn that was taken en passant
|
2020-03-15 12:57:49 -05:00 |
Jesse D. McDonald
|
2248ff2794
|
omit source location in history when unambiguous
|
2020-03-15 12:51:20 -05:00 |
Jesse D. McDonald
|
cbb8c28542
|
replace all 'var' declarations with 'let'
|
2020-03-15 11:35:06 -05:00 |
Jesse D. McDonald
|
807f834aaa
|
fix for frequently updating text which hasn't changed
|
2020-03-15 02:45:18 -05:00 |
Jesse D. McDonald
|
c6e02d15eb
|
minor adaptive layout improvements
|
2020-03-15 02:44:11 -05:00 |
Jesse D. McDonald
|
3410e2d4f0
|
adjust CSS flexbox to allocate extra width to the board first
|
2020-03-15 01:19:22 -05:00 |
Jesse D. McDonald
|
7bdc889b87
|
compare board recursively, not via unstable JSON serialization
|
2020-03-15 01:18:20 -05:00 |
Jesse D. McDonald
|
e26504030f
|
preserve notify state in local storage across page loads
|
2020-03-14 23:32:46 -05:00 |
Jesse D. McDonald
|
7cbb9defbb
|
add some feedback for the number of connected peers
|
2020-03-14 18:20:48 -05:00 |
Jesse D. McDonald
|
bd8dcc6077
|
fix implementation of en passant to match official rules
|
2020-03-14 17:21:43 -05:00 |
Jesse D. McDonald
|
23c8b1384e
|
add rule reference
|
2020-03-14 17:21:04 -05:00 |
Jesse D. McDonald
|
8bcd0ecff6
|
remove extra left margin from vertical layout
|
2020-03-14 17:20:41 -05:00 |