The Big Book of Small EK9 Programs
Eighty-One Small Programs, Ported to a Language That Won't Let You Fail
Adapted from Al Sweigart's The Big Book of Small Python Projects: 81 Easy Practice Programs (No Starch Press, 2021; copyright © 2021 Al Sweigart), which he makes freely available under a Creative Commons Attribution-NonCommercial-ShareAlike licence at inventwithpython.com/bigbookpython. Changes were made: each program was ported from Python to EK9 and remodelled in EK9's idioms.
The whole book, a page per chapter. Every listing in it was compiled and run with the EK9 compiler, and every output shown is the output it printed.
Contents
- Preface
- Project 1 — Bagels
- Project 2 — Birthday Paradox
- Project 3 — Bitmap Message
- Project 4 — Blackjack
- 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 16 — Diamonds
- Project 18 — Dice Roller
- Project 23 — Etching Drawer
- Project 24 — Factor Finder
- Project 26 — Fibonacci
- 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 37 — Hungry Robots
- Project 40 — Leetspeak
- Project 42 — Magic Fortune Ball
- Project 43 — Mancala
- Project 44 — Maze Runner 2D
- Project 46 — Million Dice Roll Statistics Simulator
- Project 48 — The Monty Hall Problem
- Project 49 — Multiplication Table
- Project 50 — Ninety-Nine Bottles
- Project 51 — niNety-nniinE bOttels
- Project 52 — Numeral Systems Counters
- Project 53 — Periodic Table of the Elements
- Project 54 — Pig Latin
- Project 55 — Powerball Lottery
- Project 56 — Prime Numbers
- Project 59 — Rock Paper Scissors
- Project 60 — Rock Paper Scissors (Always-Win Version)
- Project 61 — ROT13 Cipher
- Project 63 — The Royal Game of Ur
- Project 64 — Seven-Segment Display Module
- Project 65 — Shining Carpet
- Project 66 — Simple Substitution Cipher
- Project 68 — Sliding Tile Puzzle
- Project 70 — Soroban Japanese Abacus
- Project 72 — sPONGEcAsE
- Project 73 — Sudoku Puzzle
- 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