MLH-Fellowship / MLH-Fellowship/ACE

Break the move piece loop

Open
#52 0 comments 0 reactions 1 assignee View on GitHub

@suhanichawla is already working on this.

Since Apr 16, 2021.

bug medium
Dominant language
JavaScript
Stars
2
Forks
2
PR merge metrics
No merged PRs in 30d

Description

When user makes a move, if the computer does not recognize a piece it will keep asking the user the piece name in a loop. Add a condition such that if the piece is not recognized more than three times, the loop breaks and the user is required to make the move all over again

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.