Book description
If you’ve mastered basic Python syntax and you’re ready to start writing programs, you’ll find The Big Book of Small Python Projects both enlightening and fun. This collection of 81 Python projects will have you making digital art, games, animations, counting pro- grams, and more right away. Once you see how the code works, you’ll practice re-creating the programs and experiment by adding your own custom touches.
These simple, text-based programs are 256 lines of code or less. And whether it’s a vintage screensaver, a snail-racing game, a clickbait headline generator, or animated strands of DNA, each project is designed to be self-contained so you can easily share it online.
You’ll create:
•Hangman, Blackjack, and other games to play against your friends or the computer
•Simulations of a forest fire, a million dice rolls, and a Japanese abacus
•Animations like a virtual fish tank, a rotating cube, and a bouncing DVD logo screensaver
•A first-person 3D maze game
•Encryption programs that use ciphers like ROT13 and Vigenère to conceal text
If you’re tired of standard step-by-step tutorials, you’ll love the learn-by-doing approach of The Big Book of Small Python Projects. It’s proof that good things come in small programs!
Publisher resources
Table of contents
- Title Page
- Copyright
- About the Author
- Introduction
- Project #1: Bagels
- Project #2: Birthday Paradox
- Project #3: Bitmap Message
- Project #4: Blackjack
- Project #5: Bouncing DVD Logo
- Project #6: Caesar Cipher
- Project #7: Caesar Hacker
- Project #8: Calendar Maker
- Project #9: Carrot in a Box
- Project #10: Cho-Han
- Project #11: Clickbait Headline Generator
- Project #12: Collatz Sequence
- Project #13: Conway’s Game of Life
- Project #14: Countdown
- Project #15: Deep Cave
- Project #16: Diamonds
- Project #17: Dice Math
- Project #18: Dice Roller
- Project #19: Digital Clock
- Project #20: Digital Stream
- Project #21: DNA Visualization
- Project #22: Ducklings
- Project #23: Etching Drawer
- Project #24: Factor Finder
- Project #25: Fast Draw
- Project #26: Fibonacci
- Project #27: Fish Tank
- Project #28: Flooder
- Project #29: Forest Fire Sim
- Project #30: Four in a Row
- Project #31: Guess the Number
- Project #32: Gullible
- Project #33: Hacking Minigame
- Project #34: Hangman and Guillotine
- Project #35: Hex Grid
- Project #36: Hourglass
- Project #37: Hungry Robots
- Project #38: J’Accuse!
- Project #39: Langton’s Ant
- Project #40: Leetspeak
- Project #41: Lucky Stars
- Project #42: Magic Fortune Ball
- Project #43: Mancala
- Project #44: Maze Runner 2D
- Project #45: Maze Runner 3D
- Project #46: Million Dice Roll Statistics Simulator
- Project #47: Mondrian Art Generator
- Project #48: Monty Hall Problem
- Project #49: Multiplication Table
- Project #50: Ninety-Nine Bottles
- Project #51: niNety-nniinE BoOttels
- Project #52: Numeral System Counters
- Project #53: Periodic Table of the Elements
- Project #54: Pig Latin
- Project #55: Powerball Lottery
- Project #56: Prime Numbers
- Project #57: Progress Bar
- Project #58: Rainbow
- Project #59: Rock Paper Scissors
- Project #60: Rock Paper Scissors (Always-Win Version)
- Project #61: ROT13 Cipher
- Project #62: Rotating Cube
- Project #63: Royal Game of Ur
- Project #64: Seven-Segment Display Module
- Project #65: Shining Carpet
- Project #66: Simple Substitution Cipher
- Project #67: Sine Message
- Project #68: Sliding Tile Puzzle
- Project #69: Snail Race
- Project #70: Soroban Japanese Abacus
- Project #71: Sound Mimic
- Project #72: sPoNgEcAsE
- Project #73: Sudoku Puzzle
- Project #74: Text-to-Speech Talker
- Project #75: Three-Card Monte
- Project #76: Tic-Tac-Toe
- Project #77: Tower of Hanoi
- Project #78: Trick Questions
- Project #79: Twenty Forty-Eight
- Project #80: Vigenère Cipher
- Project #81: Water Bucket Puzzle
- Project A: Tag Index
- Project B: Character Map
Product information
- Title: The Big Book of Small Python Projects
- Author(s):
- Release date: June 2021
- Publisher(s): No Starch Press
- ISBN: 9781718501256
You might also like
book
Tiny Python Projects
A long journey is really a lot of little steps. The same is true when you're …
book
Impractical Python Projects
Impractical Python Projects picks up where the complete beginner books leave off, expanding on existing concepts …
book
Beyond the Basic Stuff with Python
You’ve completed a basic Python programming tutorial or finished Al Sweigart’s best selling Automate the Boring …
book
Robust Python
Does it seem like your Python projects are getting bigger and bigger? Are you feeling the …