-3
if lead_x > randAppleX and lead_x < randAppleX + AppleThickness or lead_x + block_size > randAppleX and lead_x + block_size < randAppleX + AppleThickness:
# print("x crossover")
if lead_y > randAppleY and lead_y < randAppleY + AppleThickness:
# print("x and y crossover")
elif lead_y + block_size > randAppleY and lead_y + block_size < randAppleY + AppleThickness:
IndentationError: expected an indented block
有人看到錯誤嗎? 。請幫助:(Python中的IndentationError(pygame)
取消對第二個print語句和下'elif'添加一條語句 – pushkin
你到底做 – patrick
我試圖做一個蛇?遊戲。 – MauroT03