Python畫畫比賽參數
#畫布大小 canvasWidth = 600 canvasHeight = 600 #顏色 bgColor = "white" penColor = "black" #畫筆寬度 penWidth = 5 #畫筆類型 penType = "round" #圖形類型 shapeType = "circle" #圖形大小 shapeSize = 50 #圖形位置 shapePosition = (canvasWidth/2,canvasHeight/2) #比賽時間 gameTime = 180 #比賽出題人 gameOrganizer = "Python繪畫大賽組委會" #參賽者列表 participants = ["小明","小紅","小剛","小美","小張","小李"] #比賽題目 gameTitle = "自然風光" #比賽說明 gameDescription = "使用Python畫出自然風光的圖形,并在三分鐘內完成作品。" #比賽評分標準 gameScore = { "美觀程度":30, "創意性":30, "完成度":20, "速度":20 }