Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dg8x.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def create_players():
players = [human, computer1, computer2, computer3]

def create_table():
global table
table.clear()
table.append(Cell('R', 8, 'red'))
table.append(Cell('B', 8, 'black'))
table.append(Cell('1', 2, 'red'))
Expand Down
2 changes: 1 addition & 1 deletion E2cs.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def create_players():
players = [human, computer1, computer2, computer3]

def create_table():
global table
table.clear()
table.append(Cell('R', 8, 'red'))
table.append(Cell('B', 8, 'black'))
table.append(Cell('1', 2, 'red'))
Expand Down
5 changes: 2 additions & 3 deletions Eb4L.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ class ColorBase:
END = '\033[0m'

def set_cells():
global cells
cells = []
cells.clear()
for cell in table:
cells.append(cell.__dict__['name'])

Expand Down Expand Up @@ -126,7 +125,7 @@ def show_coin():
print(message)

def create_table():
global table
table.clear()
table.append(Cell('R', 8, 'red'))
table.append(Cell('B', 8, 'black'))
table.append(Cell('1', 2, 'red'))
Expand Down
5 changes: 2 additions & 3 deletions Ej7N.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ class ColorBase:
END = '\033[0m'

def set_cells():
global cells
cells = []
cells.clear()
for cell in table:
cells.append(cell.__dict__['name'])

Expand Down Expand Up @@ -130,7 +129,7 @@ def show_coin():
print(message)

def create_table():
global table
table.clear()
table.append(Cell('R', 8, 'red'))
table.append(Cell('B', 8, 'black'))
table.append(Cell('1', 2, 'red'))
Expand Down
2 changes: 1 addition & 1 deletion Et2T.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def create_players():
players = [human, computer1, computer2, computer3]

def create_table():
global table
table.clear()
table.append(Cell('R', 8, 'red'))
table.append(Cell('B', 8, 'black'))
table.append(Cell('1', 2, 'red'))
Expand Down
2 changes: 1 addition & 1 deletion G6kv.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def create_players():
players = [human, computer1, computer2, computer3]

def create_table():
global table
table.clear()
table.append(Cell('R', 8, 'red'))
table.append(Cell('B', 8, 'black'))
table.append(Cell('1', 2, 'red'))
Expand Down
2 changes: 1 addition & 1 deletion Hv72.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def create_players():
players = [human, computer1, computer2, computer3]

def create_table():
global table
table.clear()
table.append(Cell('R', 8, 'red'))
table.append(Cell('B', 8, 'black'))
table.append(Cell('1', 2, 'red'))
Expand Down
5 changes: 2 additions & 3 deletions Jz5M.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ class ColorBase:
END = '\033[0m'

def set_cells():
global cells
cells = []
cells.clear()
for cell in table:
cells.append(cell.__dict__['name'])

Expand Down Expand Up @@ -138,7 +137,7 @@ def show_coin():
print(message)

def create_table():
global table
table.clear()
table.append(Cell('R', 2, 'red'))
table.append(Cell('B', 2, 'black'))
table.append(Cell('1', 8, 'red'))
Expand Down
5 changes: 2 additions & 3 deletions K8i6.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ class ColorBase:
END = '\033[0m'

def set_cells():
global cells
cells = []
cells.clear()
for cell in table:
cells.append(cell.__dict__['name'])

Expand Down Expand Up @@ -123,7 +122,7 @@ def show_coin():
print(message)

def create_table():
global table
table.clear()
table.append(Cell('R', 8, 'red'))
table.append(Cell('B', 8, 'black'))
table.append(Cell('1', 2, 'red'))
Expand Down
5 changes: 2 additions & 3 deletions Q3ga.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ class ColorBase:
END = '\033[0m'

def set_cells():
global cells
cells = []
cells.clear()
for cell in table:
cells.append(cell.__dict__['name'])

Expand Down Expand Up @@ -123,7 +122,7 @@ def show_coin():
print(message)

def create_table():
global table
table.clear()
table.append(Cell('R', 8, 'red'))
table.append(Cell('B', 8, 'black'))
table.append(Cell('1', 2, 'red'))
Expand Down
2 changes: 1 addition & 1 deletion R2yT.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def create_players():
players = [human, computer1, computer2, computer3]

def create_table():
global table
table.clear()
table.append(Cell('R', 8, 'red'))
table.append(Cell('B', 8, 'black'))
table.append(Cell('1', 2, 'red'))
Expand Down
5 changes: 2 additions & 3 deletions Tw2y.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ class ColorBase:
END = '\033[0m'

def set_cells():
global cells
cells = []
cells.clear()
for cell in table:
cells.append(cell.__dict__['name'])

Expand Down Expand Up @@ -126,7 +125,7 @@ def show_coin():
print(message)

def create_table():
global table
table.clear()
table.append(Cell('R', 8, 'red'))
table.append(Cell('B', 8, 'black'))
table.append(Cell('1', 2, 'red'))
Expand Down
5 changes: 2 additions & 3 deletions Zy7E.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ class ColorBase:
END = '\033[0m'

def set_cells():
global cells
cells = []
cells.clear()
for cell in table:
cells.append(cell.__dict__['name'])

Expand All @@ -106,7 +105,7 @@ def bet_players():
player.bet()

def create_table():
global table
table.clear()
table.append(Cell('R', 8, 'red'))
table.append(Cell('B', 8, 'black'))
table.append(Cell('1', 2, 'red'))
Expand Down
2 changes: 1 addition & 1 deletion d9Ke.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def bet_players():
player.bet()

def create_table():
global table
table.clear()
table.append(Cell('R', 8, 'red'))
table.append(Cell('B', 8, 'black'))
table.append(Cell('1', 2, 'red'))
Expand Down
5 changes: 2 additions & 3 deletions e2NU.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,7 @@ class ColorBase:
END = '\033[0m'

def set_cells():
global cells
cells = []
cells.clear()
for cell in table:
cells.append(cell.__dict__['name'])

Expand Down Expand Up @@ -192,7 +191,7 @@ def show_coin():
print(message)

def create_table():
global table
table.clear()
table.append(Cell('R', 2, 'red'))
table.append(Cell('B', 2, 'black'))
table.append(Cell('1', 8, 'red'))
Expand Down
2 changes: 1 addition & 1 deletion g2V9.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def create_players():
players = [human, computer1, computer2, computer3]

def create_table():
global table
table.clear()
table.append(Cell('R', 8, 'red'))
table.append(Cell('B', 8, 'black'))
table.append(Cell('1', 2, 'red'))
Expand Down
5 changes: 2 additions & 3 deletions gW7F.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ class ColorBase:
END = '\033[0m'

def set_cells():
global cells
cells = []
cells.clear()
for cell in table:
cells.append(cell.__dict__['name'])

Expand All @@ -114,7 +113,7 @@ def check_hit():
print(player.name + 'は当たり')

def create_table():
global table
table.clear()
table.append(Cell('R', 8, 'red'))
table.append(Cell('B', 8, 'black'))
table.append(Cell('1', 2, 'red'))
Expand Down
2 changes: 1 addition & 1 deletion hD4V.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def create_players():
players = [human, computer1, computer2, computer3]

def create_table():
global table
table.clear()
table.append(Cell('R', 8, 'red'))
table.append(Cell('B', 8, 'black'))
table.append(Cell('1', 2, 'red'))
Expand Down
5 changes: 2 additions & 3 deletions hY4Z.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ class ColorBase:
END = '\033[0m'

def set_cells():
global cells
cells = []
cells.clear()
for cell in table:
cells.append(cell.__dict__['name'])

Expand Down Expand Up @@ -126,7 +125,7 @@ def show_coin():
print(message)

def create_table():
global table
table.clear()
table.append(Cell('R', 8, 'red'))
table.append(Cell('B', 8, 'black'))
table.append(Cell('1', 2, 'red'))
Expand Down
5 changes: 2 additions & 3 deletions rV5Q.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ class ColorBase:
END = '\033[0m'

def set_cells():
global cells
cells = []
cells.clear()
for cell in table:
cells.append(cell.__dict__['name'])

Expand Down Expand Up @@ -120,7 +119,7 @@ def win_player(player, hit_cell_number):
print(player.name + 'は当たり ' + str(win_coin) + 'コインを獲得しました。')

def create_table():
global table
table.clear()
table.append(Cell('R', 8, 'red'))
table.append(Cell('B', 8, 'black'))
table.append(Cell('1', 2, 'red'))
Expand Down
5 changes: 2 additions & 3 deletions u4Jc.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,7 @@ class ColorBase:
END = '\033[0m'

def set_cells():
global cells
cells = []
cells.clear()
for cell in table:
cells.append(cell.__dict__['name'])

Expand Down Expand Up @@ -188,7 +187,7 @@ def show_coin():
print(message)

def create_table():
global table
table.clear()
table.append(Cell('R', 2, 'red'))
table.append(Cell('B', 2, 'black'))
table.append(Cell('1', 8, 'red'))
Expand Down
2 changes: 1 addition & 1 deletion v2Ps.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def create_players():
players = [human, computer1, computer2, computer3]

def create_table():
global table
table.clear()
table.append(Cell('R', 8, 'red'))
table.append(Cell('B', 8, 'black'))
table.append(Cell('1', 2, 'red'))
Expand Down