Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tic Tac Toe: Normal AI not working properly #2

Open
FlyingWolFox opened this issue Nov 21, 2019 · 3 comments
Open

Tic Tac Toe: Normal AI not working properly #2

FlyingWolFox opened this issue Nov 21, 2019 · 3 comments
Assignees
Labels
AI Issue related to AI bug Something isn't working Tic Tac Toe Issue related to Tic Tac Toe
Milestone

Comments

@FlyingWolFox
Copy link
Owner

The game's AI is acting weird

@FlyingWolFox FlyingWolFox created this issue from a note in Class Projects (Issues) Nov 21, 2019
FlyingWolFox added a commit that referenced this issue Nov 24, 2019
…ed :P

Tic Tac Toe:
- AI action order changed from Oponent-2 -> AI-2 -> rest to AI-2 -> Oponent-2 -> rest, so AI see if itself wins before seeing if the oponente will win
 -Some corrections (nothing especific)
Lig 4:
-Some corrections (nothing especific)
-There's a Run-time check error #2 when Ai looks for ties, somewhere, happens some times, some not
Hang Man:
-Made
Rest:
-Nothing
FlyingWolFox added a commit that referenced this issue Nov 25, 2019
-Optimazations
-One of them maybe solve the run-time check error #2. Maybe
@FlyingWolFox FlyingWolFox changed the title Tic Tac Toe: AI not working properly Tic Tac Toe: Normal AI not working properly Nov 30, 2019
@FlyingWolFox
Copy link
Owner Author

The AI got worse, for some reason it doens't return a play inside of the if and returns the default play (2, 2 or position 9)

@FlyingWolFox
Copy link
Owner Author

Due to me havinng to sent the code today I disabled the AI

@FlyingWolFox FlyingWolFox added Tic Tac Toe Issue related to Tic Tac Toe AI Issue related to AI bug Something isn't working labels Nov 30, 2019
@FlyingWolFox
Copy link
Owner Author

Note: fixed the default play. Forgot that I changed a flag, so it sets to -1, not 0 and forgot to apply the change in the rest of the code. The AI still disabled tho

@FlyingWolFox FlyingWolFox self-assigned this Nov 30, 2019
@FlyingWolFox FlyingWolFox added this to the AI fixing milestone Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI Issue related to AI bug Something isn't working Tic Tac Toe Issue related to Tic Tac Toe
Projects
Class Projects
  
Issues
Development

No branches or pull requests

1 participant