Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working in Jupyter #36

Open
in-tension opened this issue Sep 25, 2021 · 3 comments
Open

Not working in Jupyter #36

in-tension opened this issue Sep 25, 2021 · 3 comments

Comments

@in-tension
Copy link

When I try to test the game in Jupyter (notebook or lab) I can't play the game. When I try to press the up/down keys it responds by moving up or down a cell and when I try left/right it does nothing. It kinda seems like it might be displaying as a just image, I'm not sure.

Is there something I'm missing? Did I miss a step somewhere?

@nir
Copy link
Owner

nir commented Sep 26, 2021

Can you provide some details on your setup?

What computer type, OS (and version), python version, the steps you followed to install and run jupylet.

Thanks for this report

@in-tension
Copy link
Author

Windows 10 (64 bit)
python 3.8.3

I did
pip install jupylet

and then later when it wasn't working I reread the instructions and did
python -m jupylet postinstall

I restarted jupyter and the only change I noticed was instead displaying the whole game area, now it only displays about half and has a scrollbar which definitely seems worse to me.

I'm not entirely sure what you mean by computer type, but it's a laptop - Razer Blade Pro 17 with an i7 intel core

@nir
Copy link
Owner

nir commented Oct 2, 2021

Well,

I have tested it on Windows 10 - 64 bit
with Python 3.8.3
on updated versions of Chrome, Firefox, and Microsoft Edge (or whatever its called now)
and a clean installation of Jupylet,

and it works as expected.

  1. What notebook are you trying to run?
  2. Many of the demo notebooks have corresponding script version that you can run as regular Python scripts. do any of these work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants