SG CODEX ☠
Открыть в Telegram
📚 Disclaimer: This channel respects Telegram and does not post anything that violates its principles. It contains both educational and trivial matters. Thank you for supporting Telegram https://telegra.ph/Disclaimer-11-25-17 OWNER:-@SGCODEX
Больше2 108
Подписчики
Нет данных24 часа
+417 дней
+18130 день
Архив постов
2 108
Repost from 𝗕𝗟𝗔𝗖𝗞 𝗔𝗣𝗜𝗦
Ye script Pydroid3 me try karo and bot ko beat krke dikhao
import tkinter as tk
from tkinter import messagebox
# ---------- GAME LOGIC ----------
def check_winner(board):
combos = [
[0,1,2],[3,4,5],[6,7,8],
[0,3,6],[1,4,7],[2,5,8],
[0,4,8],[2,4,6]
]
for combo in combos:
if board[combo[0]] == board[combo[1]] == board[combo[2]] != "":
return board[combo[0]]
if "" not in board:
return "Draw"
return None
def minimax(board, is_maximizing):
result = check_winner(board)
if result == "O":
return 1
elif result == "X":
return -1
elif result == "Draw":
return 0
if is_maximizing:
best_score = -999
for i in range(9):
if board[i] == "":
board[i] = "O"
score = minimax(board, False)
board[i] = ""
best_score = max(score, best_score)
return best_score
else:
best_score = 999
for i in range(9):
if board[i] == "":
board[i] = "X"
score = minimax(board, True)
board[i] = ""
best_score = min(score, best_score)
return best_score
def robot_move():
best_score = -999
move = None
for i in range(9):
if board[i] == "":
board[i] = "O"
score = minimax(board, False)
board[i] = ""
if score > best_score:
best_score = score
move = i
if move is not None:
board[move] = "O"
buttons[move].config(text="O")
end_game()
def player_move(i):
if board[i] == "" and not game_over:
board[i] = "X"
buttons[i].config(text="X")
if not end_game():
root.after(300, robot_move)
def end_game():
global game_over
result = check_winner(board)
if result:
game_over = True
if result == "Draw":
messagebox.showinfo("Game Over", "It's a Draw!")
else:
messagebox.showinfo("Game Over", f"{result} Wins!")
return True
return False
def reset_game():
global board, game_over
board = [""] * 9
game_over = False
for button in buttons:
button.config(text="")
# ---------- UI ----------
root = tk.Tk()
root.title("Tic Tac Toe - Smart AI")
window_width = 320
window_height = 380
screen_width = root.winfo_screenwidth()
screen_height = root.winfo_screenheight()
x = (screen_width // 2) - (window_width // 2)
y = (screen_height // 2) - (window_height // 2)
root.geometry(f"{window_width}x{window_height}+{x}+{y}")
root.resizable(False, False)
board = [""] * 9
game_over = False
buttons = []
for i in range(9):
btn = tk.Button(root,
text="",
font=("Arial", 20),
width=4,
height=2,
command=lambda i=i: player_move(i))
btn.grid(row=i//3, column=i%3)
buttons.append(btn)
reset_btn = tk.Button(root,
text="Restart",
font=("Arial", 14),
command=reset_game)
reset_btn.grid(row=3, column=0, columnspan=3, pady=10)
root.mainloop()2 108
Repost from 𝗦𝗧𝗔𝗥 𝗠𝗘𝗧𝗛𝗢𝗗𝗘
🚀OUR EMOTE WEBSITE - LINK USE NOW
🔰PASSWORD -
259076
SMOOTH AND CLEAN UI NO LAG AND 100 % WORK 🆓🤖
LINK WEB2 108
Repost from VAIBHAV API
Go and watch
EMOTE API KAISE BNAYE NEW UPDATED METHODE OB52
https://youtu.be/_CEzljL2YQo?si=4qVm4ESSUvUn4tfP
2 108
Repost from 𝗦𝗧𝗔𝗥 𝗠𝗘𝗧𝗛𝗢𝗗𝗘
🚀OUR EMOTE WEBSITE - LINK USE NOW
🔰PASSWORD -
259076
SMOOTH AND CLEAN UI NO LAG AND 100 % WORK 🆓🤖
LINK WEB2 108
Behind the scenes of Would You Marry Me Eng Sub 2025 lies an unresolved truth few notice. The final episode is not what it seems. A secret narrative thread, deliberately concealed, changes everything you thought you knew. Discover exclusive insights only available here. Unlock the hidden layers before they vanish.
Join the channel now: Would You Marry Me Eng Sub 2025
#ad InsideAds Free Subscribers
2 108
Who says winning is only luck? Unbelievable but proven: Your daily spin on $GCOIN isn’t just a game-it’s a revolution rewriting how jackpots fall. Miss a day, lose your streak. Stay sharp, dominate the wheel, and watch your crypto balance surge. This isn’t old-school gambling; it’s the token-powered future of gaming. Ready to break every rule? 🔥 Join Gcoin Play now and spin your fate.
#ad InsideAds
2 108
Repost from NURROSUL CODEX👾
❤️ALL MEMBER VOTE DO❤️
👇CHANNEL LINK👇
https://t.me/+dWW8U-5nBXAzNTFl
👇VOTE LINK👇
https://t.me/c/3352726701/21
2 108
Repost from 𝗕𝗟𝗔𝗖𝗞 𝗔𝗣𝗜𝗦
Amjoy
from flask import Flask, render_template_string
import requests
import webbrowser
from threading import Timer
app = Flask(__name__)
html_content = ""
@app.route('/')
def home():
return render_template_string(html_content)
def fetch_html(url):
global html_content
try:
response = requests.get(url, timeout=15)
response.raise_for_status()
html_content = response.content.decode('utf-8', errors='ignore')
return True
except Exception as e:
print(f"❌ Error: {e}")
return False
def open_browser():
webbrowser.open('http://127.0.0.1:5000')
if __name__ == '__main__':
url = input("Enter The Url: ")
if fetch_html(url):
print("✅ HTML fetched successfully")
print("🚀 Starting local server at http://127.0.0.1:5000")
Timer(1, open_browser).start()
app.run(debug=True, port=5000)
else:
print("❌ Failed to fetch HTML")2 108
Repost from 𝗦𝗧𝗔𝗥 𝗠𝗘𝗧𝗛𝗢𝗗𝗘
🤖 GUEST ACCOUNT JWT GENERATOR BOT
🚀 24/7 Running
⚡ Fast & simple to use
🔒 Secure token generation
🔰 Link: 👉 @STAR_JWT_GENERATOR_BOT
Use responsibly. No illegal activity.
#bot #jwt #telegrambot #tools
2 108
Repost from VAIBHAV API
🚀OUR EMOTE WEBSITE - LINK USE NOW
🔰PASSWORD -
259076
SMOOTH AND CLEAN UI NO LAG AND 100 % WORK 🆓🤖
LINK WEB2 108
Repost from H4X CONFIG
👍AUTO LIKE BOT SRC LEAK DONE👍
LINK: @MAHUXNUR_ROBOT
CRADIT: @MAHUXNUR_ROBOT
2 108
Repost from VAIBHAV API
Go and watch
EMOTE API KAISE BNAYE NEW UPDATED METHODE OB52
https://youtu.be/_CEzljL2YQo?si=4qVm4ESSUvUn4tfP
