ValKiriann /
rock-paper-scissors-lizard-spock
The classic rock, paper, scissors games including the variation of lizard and Spock. Html + CSS + Js. You can play vs a bot or let the bots play alone!
34/100 healthLoading repository data…
apsocarras / repository
Play classic games in your Jupyter Notebook! Includes a collection of basic JS/HTML/CSS games from Steven Lambert (Github: straker)
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
This package contains a number of basic HTML/CSS/JS games you can play in your jupyter notebook!
All credit for making the original game files goes to Steven Lambert.
pip install jupyter-play
I recommend uv to all python users for managing their dependencies and virtual environments.
uv init # optional, creates a pyproject.toml
uv venv --python 3.11
source .venv/bin/activate
uv add --group fun jupyter-play # e.g. add a "fun" group under your development dependencies
The package source distribution includes a .zip of html games to play. setup.py includes a custom build step to unzip the game files from this html_games.zip; this means the files are unzipped in the installed version of the package (the "wheel"). More information on source distributions vs wheels can be found here.
.zip from the installed state!download_games.sh is the script to download and zip the game files from the original github gists.
## in an .ipynb file
from jupyter_play import PLAY
# View the list of games included
print(PLAY.list_games())
# Play any game you like
PLAY.SNAKE()
You can also run your own games (right now just from a string)
# Play your own game (load to string first)
from jupyter_play import play
with open('my_one_file_game.html', 'r') as file:
game_html = file.read()
play(game_html)
Please note that this package is only meant to work with basic, self-contained, one-file .html games in a jupyter notebook environment (i.e. with a running ipykernel).
The games' creator intentionally left some core features lacking as an exercise for the reader. I may be making some of these additions myself, but if you're excited to contribute yourself please feel free to open a PR and edit one of the base game files in source_games.
I have other ideas for feature additions as well:
Selected from shared topics, language and repository description—not editorial ratings.
ValKiriann /
The classic rock, paper, scissors games including the variation of lizard and Spock. Html + CSS + Js. You can play vs a bot or let the bots play alone!
34/100 healthwesttle /
Play some classic Minesweeper.
45/100 healthharshchaurasia14 /
Gaming Website is a fun collection of three classic browser games: Tic-Tac-Toe, Snake, and Memory GameBuilt with pure HTML5, CSS3, and Vanilla JavaScript—no frameworks neededJust open index.html in any modern browser to play instantlyChallenge friends in Tic-Tac-Toe, guide the snake to eat food while avoiding walls or match pairs in the Memory Game
Anionex /
Classic mini-games, each in a separate HTML file.Just download an html file and start playing(made by Claude)
37/100 healthRehan-Jaffery /
"An immersive multi-game browser website offering a diverse collection of classic and modern games for users to enjoy directly from their web browser."
30/100 healthMarcossIC /
It is a website that provides a space to play classic games on the Web in a simple and fast way.
48/100 health