Skip to content

Connect 4: minimax algorith not working #10

@FlyingWolFox

Description

@FlyingWolFox

After testing single player mode, discovered that the minimaxPlay function sets the botton line to 1 .
Happens like:

  • Game started
  • I type 1 (botton line first column is my play)
  • After the minimaxPlay, the botton row is all set to 1
    and the minimax play above mine
    Why? it isn't undoing moves?

Metadata

Metadata

Assignees

Labels

AIIssue related to AIConnect 4Issue related to Connect 4bugSomething isn't working

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions