2048-python icon indicating copy to clipboard operation
2048-python copied to clipboard

Not able to create an instance of AI class in multi processing mode

Open SahithKumarrko opened this issue 5 years ago • 2 comments

I am trying to use a part of your code and i was stuck at an Error: TypeError:
Traceback (most recent call last) in () 35 return grid 36 ---> 37 ai = AI()

in build_move_table(self) 140 row_moved = tuple(move_row(row)) --> 142 if max(row_moved) > max_cell: 143 self.move_table[idx] = -1 144 else:

TypeError: '>' not supported between instances of 'NoneType' and 'int'

SahithKumarrko avatar Sep 29 '20 14:09 SahithKumarrko

@SahithKumarrko Is this project still open ?

ihrishix avatar Nov 16 '20 16:11 ihrishix

This error is caused by the incompatibility between python2 and python3. PR is welcome.

This project is no longer developed. I will only accept PR to fix issues like this.

kcwu avatar Nov 16 '20 16:11 kcwu