android-chess icon indicating copy to clipboard operation
android-chess copied to clipboard

Game refuse to end even when time is up

Open jubreal opened this issue 7 years ago • 2 comments

Expected behavior

The game should come to an end when the time duration set for the game of a player is up.

Actual behavior

The game continues even when a time of one of the player is used up already. This is not allowed in chess rule.

How to reproduce

  1. Install app from playstore
  2. Click on play
  3. Click on the settings icon slider (3 dots beside option) at the top right corner.
  4. Click on “set clock” and select any time (2 minutes preferably so as to get test results faster) apart from no clock option
  5. Play the game for till your time is up or your opponent time is up. It will be observed that the even though the game time is up, the game continue to run and both players can still play. Hence, the bug.
  • Browser/App version: Chess version 8.8.3 *Operating system: Android 6.0

Recording Of The Bug

https://youtu.be/WqLSzNAswCE

jubreal avatar May 20 '18 14:05 jubreal

The app engine does not have an ended game state except for actual mate or draw/stalemate positions. Hence a time-up, or resigned game is currently not possible. Hence the label feature and not bug. So this will take a bit more to implement.

jcarolus avatar Jan 07 '19 10:01 jcarolus