<commit_before>#Welcome to Self-Destruct
#Author: BJSGamingchannel
#Programming Language: Python

#Start of program.

import tkinter as Tk
from tkinter import *
import os as OS
import random as rand
import math as M
import time as time

font1 = ("AR BLANCA", "50", "bold")
font2 = ("Times New Roman", "25", "bold")
font3 = ("Times New Roman", "30", "bold")

def MasterFunction():

    MasterWindow = Tk()
    MasterWindow.title("Self Destruct")
    MasterWindow.geometry("1920x1080")
  
    def FirstWindow():
        
        Can2 = Canvas(MasterWindow, width=500, height=500, bg = "snow")
        StoredName = StringVar()
        NameLabel = Label(Can2, text = "Please enter your name", bg = "snow")
        NameLabel.pack()
        NameEntryBox = Entry(Can2, bd = 4, textvariable = StoredName, bg = "snow")
        NameEntryBox.pack()
        
    def Menu():

        Can1 = Canvas(width = 1350, height = 740, bg = "snow")
        Can1.pack(expand = YES, fill = BOTH)
        TitleMain = Label(MasterWindow, text = "Self Destruct", font = font1, fg = "deep sky blue", bg = "snow").place( x = 775, y = 1)
        ButtonStart = Button(MasterWindow, text = "Start", font = font3, fg = "deep sky blue", bg = "snow", command = FirstWindow()).place( x = 902, y = 90)
        ButtonExit = Button(MasterWindow, text ="Exit", font = font3, fg = "deep sky blue", bg = "snow", command = exit).place( x = 910, y = 175)

    Menu()

MasterFunction()

##The below needs to be tested / edited in Python:
##
##Score = 0
##
##Label(MasterWindow, text = Score, font = font1)
##
##If Score > 10:
##    Label(MasterWindow, text = "Your good at this!", (Score), font = font1)
##
##ScoreAdd = false
##<commit_msg>Update Code.py<commit_after>#Welcome to Self-Destruct
#Author: BJSGamingchannel
#Programming Language: Python

#Start of program.

import tkinter as Tk
from tkinter import *
import os as OS
import random as rand
import math as M
import time as time

font1 = ("Times New Roman", "30", "bold")
font2 = ("Times New Roman", "25", "bold")

def MasterFunction():

    MasterWindow = Tk()
    MasterWindow.title("Self Destruct")
    MasterWindow.geometry("1920x1080")
  
    def FirstWindow():

        global StoredName        
        Canvas(MasterWindow, width=1920, height=1080, bg = "snow").place(x = 0, y = 0)
        StoredName = StringVar()
        NameLabel = Label(text = "Please enter your name", bg = "snow", font = font2)
        NameLabel.pack()
        NameEntryBox = Entry(bd = 4, textvariable = StoredName, bg = "snow", font = font2)
        NameEntryBox.pack()
        ButtonName = Button(text = "Continue", font = font2, bg = "snow", command = ChangeThis)
        ButtonName.pack()

    def ChangeThis():

        label1 = Label(text = StoredName, bg = "snow", font = font2)
        label1.pack()
        
    def Menu():

        Canvas(width = 1920, height = 1080, bg = "snow").place(x = 0, y = 0)
        TitleMain = Label(MasterWindow, text = "Self Destruct", font = font1, fg = "deep sky blue", bg = "snow").place( x = 845, y = 1)
        ButtonStart = Button(MasterWindow, text = "Start", font = font2, fg = "deep sky blue", bg = "snow", command = FirstWindow).place( x = 909, y = 60)
        ButtonExit = Button(MasterWindow, text ="Exit", font = font2, fg = "deep sky blue", bg = "snow", command = exit).place( x = 915, y = 130)

    Menu()

MasterFunction()

##The below needs to be tested / edited in Python:
##
##Score = 0
##
##Label(MasterWindow, text = Score, font = font1)
##
##If Score > 10:
##    Label(MasterWindow, text = "Your good at this!", (Score), font = font1)
##
##ScoreAdd = false
##
{'fraction_non_alphanumeric': 0.14574115044247787, 'fraction_numerical': 0.034015486725663714, 'mean_word_length': 3.171856978085352, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '855830', 'n_tokens_mistral': 1262, 'n_tokens_neox': 1169, 'n_words': 390}