Skip to content

glokta1/tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Pygame implementation of Tic-Tac-Toe.

A little practice project to get my feet wet with Pygame.

How to run

  1. Clone the repository

    git clone asdas

  2. Install poetry for package management

    pip install poetry

  3. Navigate to project root and run:

    poetry install

    to install all dependences.

  4. Run python main.py

Things I learned

  • Pygame's coordinate system
  • How to draw lines
  • Drawing custom shapes
  • How to handle input events like mouse clicks
  • How to link the internal game representation with the on-screen representation

About

Tic tac toe implemented using Pygame.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages