FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

TicTacToe: illegal move swaps players · Issue #381 · aimacode/aima-python · GitHub

Repository navigation

TicTacToe: illegal move swaps players #381

Description

In the current implementation of the TicTacToe class in games.py, an invalid move being passed to result ends up swapping the players! This first happened to me when I was exploring the notebook, and accidentally made an invalid move - I went from playing noughts to crosses! I have since been able to repeat the behaviour - confirming the bug exists.

Activity

  1. kaivalyar commented on Mar 18, 2017

    ContributorAuthor

    fixed in #380
    (relevant notebook edits in #383)

  2. changed the title [-]TicTacToe result illegal move swaps players[/-] [+]TicTacToe: illegal move swaps players[/+] on Mar 18, 2017
  3. TheCDC commented on Mar 28, 2017

    Contributor

    If this issue was resolved then should it be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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


      Back | FazBrowse Home | New Git URL