Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc6969cf

Browse files
Create snippets.txt
1 parent33b4ff8 commitc6969cf

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
times_won = {
2+
'5+P': 0,
3+
'5': 0,
4+
'4+P': 0,
5+
'4': 0,
6+
'3+P': 0,
7+
'3': 0,
8+
'2+P': 0,
9+
'1+P': 0,
10+
'P': 0,
11+
'0': 0
12+
}
13+
14+
------------------------
15+
16+
elif white_matches == 4:
17+
if power_match:
18+
win_amt = 50_000
19+
times_won['4+P'] += 1
20+
else:
21+
win_amt = 100
22+
times_won['4'] += 1
23+
elif white_matches == 3:
24+
if power_match:
25+
win_amt = 100
26+
times_won['3+P'] += 1
27+
else:
28+
win_amt = 7
29+
times_won['3'] += 1
30+
elif white_matches == 2 and power_match:
31+
win_amt = 7
32+
times_won['2+P'] += 1
33+
elif white_matches == 1 and power_match:
34+
win_amt = 4
35+
times_won['1+P'] += 1
36+
elif power_match:
37+
win_amt = 4
38+
times_won['P'] += 1
39+
else:
40+
times_won['0'] += 1

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp