Black Piece Turns White Unexpectedly

in #utopian-io6 years ago

LINK TO REPOSITORY

Expected Behavior

After becoming a king with the black piece, it is expected that the piece should retain its original color regardless of the movement/position

Actual Behavior

After the other player's piece (black piece) has made it to the other player's territory and has become a king, on moving out of the cell and returning back to the cell, the black king pieced will automatically change its color to white

How to produce the bug

  • open the app

  • Choose opponent, select human, and then select click on new game

  • Keep playing the game, so as to make the black piece a king

image

From the above image, we can see that the black piece(Black player) has almost made it to the white player's territory

  • Move the black piece to the white player's territory

image

From the above image, the black piece has become a king

  • Move it away from the white player's house

image

The black piece has moved out

  • Now come back in again

image

Now this is the area you'll have to take note of, you see it still shows its color on coming back, but some nano seconds later, it'll turn to a white king piece

image

Here you can see it has turn to a white king piece which isn't suppose to be

TEST TOOLS

  • Operating system : Android 6.0
  • Phone : Infinix hot s
  • checkers v1.0

NOTE : You'll have to play the white piece wisely, so as to give room of making the black piece a king

Recording of the bug is shown below......

Here's a video of everything......

My GitHub Account

Sort:  

Hi @beckysophie, thanks for reporting this error.

Sadly, there has been some changes to the bug hunting category which you can read in this post.

Bug-hunting category has been declared as a TR (task-request) only category. This implies that contributions to projects which are not present in the whitelist will not be eligible for review. You can check the whitelist here.

Your bug-report is based on a project that is not whitelisted and we don't have the proper consent to accept such contributions.


Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]

Seriously ?