educational icon indicating copy to clipboard operation
educational copied to clipboard

Scientific Thinking Notebook Games Error

Open wgtayar opened this issue 7 months ago • 0 comments

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.

wgtayar avatar Jun 26 '25 10:06 wgtayar