Jumble Word Game with GUI using Python | Fun Beginner Python Project!

Publicado em: 25 Junho 2025
no canal de: HARSHA
34
6

Welcome to this fun and beginner-friendly Python project! In this video, we'll build a Jumble Word Game using Tkinter GUI. It's a simple word puzzle where players unscramble letters to guess the correct word.

🎮 What you'll learn: ✅ Basic GUI with Tkinter
✅ Shuffling words using Python logic
✅ Handling input and buttons
✅ Checking correct answers
✅ Keeping track of score

Perfect for Python beginners looking to practice GUI development and game logic in a fun way!

📌 Tools Used:

Python (3.x)

Tkinter (for GUI)

random module

*******************CODE********************
import random
tkinter : use for GUI
import tkinter as tk
from tkinter import messagebox

word_list = ["python", "engineering", "computer", "message", "library", "terminal", "science","cyber","assignment","organization"," algorithms"," management"," programming"]

def choose_word():
word = random.choice(word_list)
return word

def jumble_word(word):
return "".join(random.sample(word, len(word)) )

GUI setup
root = tk.Tk()
root.title("Jumble word game")
root.geometry("400x300")



score = 0
current_word = choose_word()
jumbled_word = jumble_word(current_word)

widgets
label = tk.Label(root, text = f"unscramble this word \n {jumbled_word}" , font=( "arial" ,16))
label.pack(pady=20)

pady = padding in y direction

entry = tk.Entry(root, font=("arial", 14))
entry.pack(pady=10)

score_label = tk.Label(root, text =f"SCORE:{score}", font = ("Arial",12))
score_label.pack()

def check_answer():
global score , current_word, jumbled_word

answer =entry.get()
if answer.lower() == current_word :
score +=1

messagebox.showinfo("correct", "well done")

else :
messagebox.showerror(f"wrong answer","The correct word is {current_word}")

score_label.config(text=f"SCORE:{score}")
entry.delete(0, tk.END)
current_word = choose_word()
jumbled_word = jumble_word(current_word)
label.config(text= f"unscramble this word \n {jumbled_word}")

submit button
btn = tk.Button(root, text ="SUBMIT", command=check_answer, font =("Arial",12))
btn.pack(pady=10)

root.mainloop()

------------------------------------------------------------------------

🔔 Don’t forget to like, share, and subscribe for more Python projects and tutorials!

#python #pythonproject #tkinter #beginnerpython #jumblegame #programming


Nesta página do site você pode assistir ao vídeo on-line Jumble Word Game with GUI using Python | Fun Beginner Python Project! duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário HARSHA 25 Junho 2025, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 34 vezes e gostou 6 espectadores. Boa visualização!