CyberStars

Python Projects

Real programs, from a text adventure to a spreadsheet, built from input, lists, dictionaries, functions and recursion.

  • League Table

    Read a season of football results and print the league table: the teams from best to worst, with their points, goals and last results.

  • Wall Calendar

    Print a wall calendar for any months, working out leap years and the days of the week yourself, with birthdays, holidays and working days.

  • Word Game Referee

    Referee a five-letter word guessing game: mark every guess green, yellow or grey with repeated letters done right, and keep the score.

  • Library Desk

    The front desk program of a small library: the list of books, borrowing, returns with late fees and a report at the end of the day.

  • Text Adventure

    A game engine for text adventures that reads any world from its input: rooms, exits, items, locked passages, dark rooms and a goal to reach.

  • Bank Statement

    Put every payment from a bank file into a group by your own rules, then show where the money went, month by month, and which payments come every month.

  • Markdown to HTML

    Convert a club newsletter written in plain text with a few marks into HTML: paragraphs, headings, bold, links, lists and blocks of code.

  • Forest Fire

    Show a fire going through a forest map step by step, with every cell changing at the same time, the wind pushing the fire and water stopping it.

  • Sudoku Helper

    A helper for the Sunday sudoku: show the grid, find the clashes, fill in the sure cells and solve the rest by trying digits and taking them back.

  • Mini Spreadsheet

    A small spreadsheet like Excel: cells with numbers, text and formulas that use other cells, ranges, errors, and formulas that go round in circles.