Skip to content

MeowZauki/Tic_Tac_Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

📝 فارسی

🎮 بازی Tic Tac Toe با Python و Pygame

این پروژه یک بازی دوز (Tic Tac Toe) است که با استفاده از زبان پایتون (Python) و کتابخانه‌ی Pygame ساخته شده است. بازی دارای رابط گرافیکی بوده و بازیکنان می‌توانند با کلیک بر روی خانه‌های جدول، بازی کنند.

🚀 ویژگی‌ها

-✅ رابط گرافیکی ساده و کاربرپسند

-✅ تغییر نوبت بین بازیکنان

-✅ نمایش برنده در یک پیام گرافیکی

-✅ راه‌اندازی مجدد بازی بعد از برد

🔧 پیش‌نیازها

-برای اجرای این بازی، باید ابتدا Python و کتابخانه‌های زیر را نصب کنید:

pip install pygame

▶️ نحوه اجرا

-پس از دانلود یا کلون کردن مخزن، فایل اصلی را اجرا کنید:

python tic_tac_toe.py

تمامی این پروژه با Chat-GPT زده شده


📝 English

🎮 Tic Tac Toe Game with Python & Pygame

-This project is a Tic Tac Toe game built using Python and the Pygame library. It provides a graphical interface where players can click on the grid to play.

🚀 Features

-✅ Simple and user-friendly GUI

-✅ Alternating turns between players

-✅ Displays the winner in a graphical message

-✅ Restarts the game after winning

🔧 Requirements

-Before running the game, install Python and the following dependencies:

pip install pygame

▶️ How to Run

-After downloading or cloning the repository, run the main file:

python tic_tac_toe.py

This entire project was built with Chat-GPT