Skip to content

Scientific Thinking Notebook Games Error #11

@wgtayar

Description

@wgtayar

I was trying to run the Scientific Thinking Notebook games, and I got this error for all the games in the cells:
TypeError: the argument to ascii_art_to_uint8_nparray must be a list (or tuple) of strings containing the same number of strictly-ASCII characters. (original error from numpy: arrays to stack must be passed as a "sequence" type such as list or tuple.)

I had already run the setup cell and it had run properly.

Below is a screenshot of the error and the code:
error image

The error is generated at line 6:
game_keeper = GameKeeper(game_type, level)
At first glance with minimal debugging, it seems like it may be an issue with pycolab, but I am not entirely sure, so I thought to open this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions