if wxcor < 140 or wycor < 40: print("terminal size is too small") time.sleep(3) loopvar = 0 print("welcome to BRICK BREAKER 1.0") print("press x to exit") print("press c to continue paused game") print("press a and d to move paddle") print("press s to skip levels") #give paddlewidth as a multiple of 2 everytime paddle = Paddle(int(wxcor / 2) - 5, wycor - 5, 30, 4, 1) ball = Ball(int(wxcor / 2), wycor - 6, 0, 1) bossitem = Boss(int(wxcor / 2) - 5, 5, 20) # bossitem = 0 randomvar = random.choice(randvelocity) ball.setvel(randomvar, -1) # randomloc = random.randint( int(wxcor/2) - 5, wycor-5) # ball.setloc(randomloc, wycor - 6) # print(randomvar) # window.addpaddletoboard(paddle) # window.rendergame() timeout = config.timeouts keyinput = manageinput() time.sleep(4) #test variable test = 0 bossdead = 0 bricks = level1ini(window) window.modifylevel(level) moc = 0 # HELP fix fps