YANKY DOODLE'S SHOOTING GALLERY - A Colonial Fair Amusement, Anno 1776 theyankydoodle.com ========================================================================= HOW TO RUN IT ON WINDOWS ------------------------ 1. Make a folder, for example on your Desktop, called Yanky Gallery. Put yanky_shooting_gallery.py in that folder. 2. Open that folder. Click once in the address bar at the top of the window (where the folder path is shown), type cmd and press Enter. A black Command Prompt window opens, already "inside" your folder. 3. Type this and press Enter: python yanky_shooting_gallery.py If that says "python is not recognized", try: py yanky_shooting_gallery.py The game window opens. Have fun! IF IT SAYS "No module named pygame" Type this in the same black window, press Enter, wait for it to finish, then do step 3 again: pip install pygame (or: py -m pip install pygame) IF PYTHON ITSELF IS MISSING Download it free from https://www.python.org/downloads/ On the first install screen tick "Add python.exe to PATH". CONTROLS -------- Mouse ............ aim Left click ....... fire (one shot, then the gun is empty) RELOAD button .... ram home a new charge (or press R) Esc .............. back to the title screen / quit On the final screen: click = play again, C = change marksman, L = open the online leaderboard THE RULES --------- * Your piece holds ONE shot. After you fire, it is empty. Clicking on targets does nothing but "click" until you press RELOAD (or R). * Reloading takes 1.2 to 1.8 seconds (a ramrod animation plays). You cannot shoot while reloading, and the targets keep moving. Shoot these (painted wooden cut-outs): Squirrel ..... 30 points (small and fast - the hardest) Deer ......... 20 points (takes TWO shots) Bear ......... 50 points (big and slow, but it takes THREE shots, so you must reload while he lumbers on) Streak bonuses (knock-downs in a row; a miss or hitting Goody Prudence breaks the streak, a wounded deer or bear does not): 3 squirrels in a row ............ QUICK LOAD - your piece reloads itself 3 deer in a row ................. +60 points squirrel, then bear, then deer .. +80 points Do NOT shoot: Goody Prudence - the lady in the white pilgrim bonnet with a basket, outlined in red. Hitting her costs a life. * A good target that gets away costs 5 points (never a life). * You start with 3 lives (the little tricorne hats) and 90 seconds. * The game ends when the clock runs out or your lives are gone. * Targets ride along two rails, pop up from behind the fence, or are lowered on ropes. They come faster and more often as time runs down. THE THREE MARKSMEN ------------------ 1. Master Tom (the boy) ..... wooden popgun. Fastest reload (1.2 s), smallest sight ring - must aim carefully. 2. Miss Patience (the girl) .. wooden popgun. Reload 1.4 s, medium sight ring. 3. Mr. Yankee (the grown-up) . tricorne hat, brass spyglass piece. Slowest reload (1.8 s), biggest sight ring - easy to hit, but easy to clip a bonnet too. The sight ring is the circle around your crosshair: anything it touches can be hit. If it touches two figures, the one nearest the center of the ring is hit. ONLINE SCOREBOARD (optional) ---------------------------- * On the title screen choose: Log In ........ type your username and password (scores are saved) Register ...... opens the sign-up page in your web browser Play as Guest . play without an account (scores are NOT saved) * Your password is only sent to the scoreboard to log in. The game keeps the login in memory only; nothing is written to your computer. * If the internet or the website is down, the game still plays and just says "Couldn't reach scoreboard". * Leaderboard: https://theyankydoodle.com/gallery/leaderboard.php * Website moved? Open the .py file in Notepad and change the API_BASE line near the top. Sound effects play if the "numpy" package is installed (pip install numpy). Without it the game is simply silent.