def print_state(self):
def tile_string(value):<EOL><INDENT>"""<STR_LIT>"""<EOL>if value > <NUM_LIT:0>:<EOL><INDENT>return '<STR_LIT>' % (<NUM_LIT:2> ** value,)<EOL><DEDENT>return "<STR_LIT:U+0020>"<EOL><DEDENT>separator_line = '<STR_LIT:->' * <NUM_LIT><EOL>print(separator_line)<EOL>for row in range(<NUM_LIT:4>):<EOL><INDENT>print("<STR_LIT:|>" + "<STR_LIT:|>".join([tile_string(v) for v in self._state[row, :]]) + "<STR_LIT:|>")<EOL>print(separator_line)<EOL><DEDENT>
Prints the current state.