-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
TicTacToe-GUI using Pygame 🐍 #851
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TicTacToe-GUI using Pygame 🐍 #851
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Lakhankumawat display player 1 and player 2 turns while playing game. When the game ends display the results of game like which player has won or the result is tie. After the game ends add an option to restart or exit the game
Okay i will work on requested changes. |
Please Ignore first commit consider second one which is just now .
|
No replies from @santushtisharma10 ma'am since 2 days @kaustubhgupta sir please have a look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TicTacToe-GUI/TicTacToe.py
Outdated
import pygame, sys | ||
from pygame.locals import * | ||
import numpy as np | ||
#import WorkingModal as Wp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please Ignore first commit consider second one which is just now .
First Commit had some issues
All requested changes are solved except oneTie is not detected even if you see i have commited somewhere to check a tie but it's not working rest everything works fine.
Yeah i mentioned it here i will try removing this bug.
@Lakhankumawat apologies. Was busy with other some stuff. Will review it shortly |
Okay no problems you guys already seemingly work hard to merge everyone's PR understanding them and reviewing it's not simple . Take your time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perfect 💯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice @Lakhankumawat 💯💯
TicTacToe-GUI/TicTacToe.py
Outdated
Won= font.render("Player"+str(player)+" Turn ", True ,blue,green) | ||
screen.blit(Won, winRect) | ||
draw_figures() | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the extra blank lines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Lakhankumawat Please make these changes so that we can move your PR to PA
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM..🚩
Description
Added Tic Tac Toe game using GUI
Details
Libraries Used : pygame , numpy , sys
Fixes #768
Have you read the Contributing Guidelines on Pull Requests?
Type of change
Checklist:
README.md
Template for README.md