Skip to content

Latest commit

 

History

History
 
 

README.md

Build a Tic-Tac-Toe Game With Python and Tkinter

This is the code for the Real Python tutorial Build a Tic-Tac-Toe Game With Python and Tkinter. You learn to implement a tic-tac-toe game with Python and Tkinter. It allows two players to play a tic-tac-toe game on a shared device.

Installation

The game uses Tkinter to build its user interface. Since Tkinter is part of the Python standard library, you don't need to install anything to run the game. Just make sure that you have a version of Tkinter greater than or equal to 8.6.

Run the Game

To run the game, just execute the following command on your command line:

$ python tic_tac_toe.py

About the Author

Leodanis Pozo Ramos - Email: leodanis@realpython.com

License

Distributed under the MIT license. See LICENSE in the root directory of this materials repo for more information.