Skip to content

Commit

Permalink
Py2 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
nneonneo committed Oct 12, 2024
1 parent 7fa523a commit d042ada
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions manualctrl.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
from __future__ import print_function

from ailib import ailib, to_c_board, from_c_board, to_c_index, from_c_index
from gamectrl import Generic2048Control

try:
input = raw_input
except NameError:
pass

def print_board(m):
for row in m:
for c in row:
Expand Down

0 comments on commit d042ada

Please sign in to comment.