Skip to content

Properties Wins and Losses and Ties cannot be found #2

@waterbot040

Description

@waterbot040

Tic Tac Toe is not returning a game completion status. Wins/Losses/Ties are not reported, and an error is thrown stating that:
"The property 'Ties' cannot be found on this object. Verify that the property exists and can be set."
"The property 'Wins' cannot be found on this object. Verify that the property exists and can be set."
"The property 'Losses' cannot be found on this object. Verify that the property exists and can be set."
In most instances, two messages show up. In the case of a tie it is two of the same. In the case of a win/lose, there is one win and loss message each.

Expected Behavior

Add to the tally of wins/losses/ties of each user on the scoreboard.

Current Behavior

Commands fail for wins, losses, and ties.

Possible Solution

🤷‍♂️

Steps to Reproduce (for bugs)

1.Start Game with opponent other than yourself
2.Play game
3.Complete Game
4.Error

Context

Trying to win at Tic Tac Toe.

Your Environment

  • Module version used:0.1
  • Operating System and PowerShell version: Slack Bot

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions