Skip to content

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

Description

@SahithKumarrko

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'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions