Skip to content

Instantly share code, notes, and snippets.

@Cistress
Cistress / data.txt
Created December 6, 2023 22:18
So I have been trying to create a login interface on my snake game project. To do that I use customtkinter. I have successfully created the UI and the main window, the only problem is I do not why "while root.login_boxes.login_result:" at main.py line 55 would not be executed. I have tested the value of "login_result" and it was true when I gave…
10
@Cistress
Cistress / car_manager
Last active November 28, 2023 13:41
def increase_score from Scoreboard does not work as intended as the turtle leveled up (at line 40 main script and line 22 scoreboard script)
COLORS = ["red", "orange", "yellow", "green", "blue", "purple"]
STARTING_MOVE_DISTANCE = 5
MOVE_INCREMENT = 10
game_is_on = True
from turtle import Turtle
import random
class CarManager():