Skip to content

Latest commit

 

History

History

tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Run the game as :

chmod +x ttt #If the file is not marked as executable
./ttt

[ NOTE : The indices, i.e. rows and columns, are zero-indexed (the first element is referred by 0) ]

You task is to create a program that always draws or wins against the given program. Repeating this 250 times will earn you the flag.

Submission instruction

Create a file script.py which solves the challenge. The first line of this file should contain a comment with the flag you obtained.



Solution spoiler https://levelup.gitconnected.com/mastering-tic-tac-toe-with-minimax-algorithm-3394d65fa88f