|
@@ -65,11 +65,7 @@ def check_message(notification):
|
|
|
pickle.dump("@"+challenger,f)
|
|
|
pickle.dump(False,f)
|
|
|
pickle.dump(board,f)
|
|
|
-<<<<<<< HEAD
|
|
|
- mastodon.status_post("◾: @"+account+" ◽: @"+challenger+" turn ◽\n"+dama.draw_checkerboard(board,space="🟥",white_norm="◽",white_knight="⚪",black_norm="◾",black_knight="⚫",empty="🟦",frstrow="0🇦 🇧 🇨 🇩 🇪 🇫 🇬 🇭\n"),visibility="direct")
|
|
|
-=======
|
|
|
mastodon.status_post("◾: @"+account+" ◽: @"+challenger+" turn ◽\n"+dama.draw_checkerboard(board,space="🟥 ",white_norm="◽ ",white_knight="⚪ ",black_norm="◾ ",black_knight="⚫ ",empty="🟦 ",frstrow=firow, column=colsx),visibility="direct")
|
|
|
->>>>>>> reversecheckboard
|
|
|
return
|
|
|
elif content.split(" ")[1].lower() == "no":
|
|
|
os.remove(save_position+content.split(" ")[0][1:])
|
|
@@ -107,11 +103,7 @@ def check_message(notification):
|
|
|
colour = "◾"
|
|
|
winner = dama.checkWin(board)
|
|
|
if winner == (False,False):
|
|
|
-<<<<<<< HEAD
|
|
|
- mastodon.status_post("◾: "+black+" ◽: "+white+" turn "+colour+"\n"+dama.draw_checkerboard(board,space="🟥",white_norm="◽",white_knight="⚪",black_norm="◾",black_knight="⚫",empty="🟦",frstrow="0🇦 🇧 🇨 🇩 🇪 🇫 🇬 🇭 \n"),visibility="direct")
|
|
|
-=======
|
|
|
mastodon.status_post("◾: "+black+" ◽: "+white+" turn "+colour+"\n"+dama.draw_checkerboard(board,space="🟥 ",white_norm="◽ ",white_knight="⚪ ",black_norm="◾ ",black_knight="⚫ ",empty="🟦 ",frstrow=firow, column=colsx),visibility="direct")
|
|
|
->>>>>>> reversecheckboard
|
|
|
return
|
|
|
else:
|
|
|
if winner == (True,False):
|