• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 5

How to create an AI for tic tac toe game?

javascript
6th Aug 2017, 7:37 AM
School Dog
6 Answers
+ 14
Use the minimax algorithm : • http://neverstopbuilding.com/minimax • http://www.geeksforgeeks.org/minimax-algorithm-in-game-theory-set-3-tic-tac-toe-ai-finding-optimal-move/
6th Aug 2017, 8:07 AM
Dev
Dev - avatar
+ 11
@Calvin (just, mine is not ai) ☺
19th Nov 2017, 11:01 AM
dρlυѕρlυѕ
dρlυѕρlυѕ - avatar
+ 2
https://code.sololearn.com/WHrsYeZM65I3/?ref=app
3rd Nov 2017, 6:25 PM
Shane Overby
Shane Overby - avatar
+ 2
Third game 💚 https://code.sololearn.com/WtRv3JtBdSm5/?ref=app
21st Feb 2018, 7:24 PM
Baraa AB
Baraa AB - avatar
+ 1
tks!
7th Aug 2017, 9:13 AM
School Dog
+ 1
https://code.sololearn.com/WMtXZuB04L1h/?ref=app
19th Nov 2017, 2:46 AM
CalviŐ˛
CalviŐ˛ - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Excuse me, why do they always ask us to input without telling us what it is for in python.
2 Votes
Should i learn python more or HTML?
2 Votes
how much time will it take to learn python OOP if i spend 1 hour everyday
0 Votes
C++ Vectors
0 Votes
Active learner
0 Votes
Code challenge
0 Votes
A Little Question Here!
1 Votes
Does solving a code coach actually give XPs?
2 Votes
Is it good for student to study C++ first?
0 Votes
(Resolved) Error: Gcc undefined reference to sha 256 🙄🤦🏽‍♀️
1 Votes