Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import math | |
| car = Actor("car_blue") | |
| car.x = 200 | |
| car.y = 200 | |
| car.speed = 1 | |
| accel = 0.5 | |
| turning_speed = 1 | |
| def update(): | |
| # handle player inputs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Inverse Kinematics tenacles with python and pygamezero | |
| # Roughly following Daniel Shiffman's algorithm: | |
| # https://www.youtube.com/watch?v=xXjRlEr7AGk | |
| # pygamezero docs: | |
| # https://pygame-zero.readthedocs.io/en/stable/builtins.html | |
| import math | |
| import random |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from pypercard import Inputs, CardApp, Card | |
| import random | |
| my_cards = [ | |
| Card( | |
| "entrance", | |
| text="You are in the top of a tall tower ,a locked door to the left and a window to the right", | |
| buttons=[ | |
| {"label": "Try and pick the lock", "target": "locked door"}, | |
| {"label": "Go out of the window", "target": "falling"}, |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
https://boardgamegeek.com/boardgame/194626/happy-salmon
8 players, or 16 with 2 packs.