lichobile icon indicating copy to clipboard operation
lichobile copied to clipboard

Chess Clock: Showing no. of moves

Open susmitpy opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. When playing on physical board and using chess clock feature in the mobile app, there is a need to know the no. of moves played so far

Describe the solution you'd like Keep a move counter initialised to 0 On every tap (either side) increment it by 0.5 A getter can be made for display: current no. of moves, which floors the move counter and returns the integer. The flow:


Move counter: 0 Getter returns: 0 White taps


Move counter: 0.5 Getter returns: floor(0.5) = 0 Black taps


Move counter: 1.0 Getter returns: floor(1) = 1

Additional context It can be shown either besides the centre buttons or as a floating badge besides the centre buttons

susmitpy avatar Feb 12 '22 15:02 susmitpy

I'll see if I have the time, in the meantime PR would be accepted!

veloce avatar Mar 17 '22 13:03 veloce

Complete!

jas14 avatar Oct 03 '22 14:10 jas14