{"id":26245401,"url":"https://github.com/savetz/broken-computer-games","last_synced_at":"2026-04-27T19:03:14.161Z","repository":{"id":63933516,"uuid":"571891718","full_name":"savetz/Broken-Computer-Games","owner":"savetz","description":"A generated book for NaNoGenMo2022, based on Basic Computer Games by David Ahl","archived":false,"fork":false,"pushed_at":"2022-11-29T06:20:49.000Z","size":168,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-27T05:55:17.356Z","etag":null,"topics":["basic-language","basic-programming","nanogenmo2022"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/savetz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-29T05:23:25.000Z","updated_at":"2022-11-29T05:32:41.000Z","dependencies_parsed_at":"2023-01-14T15:15:45.106Z","dependency_job_id":null,"html_url":"https://github.com/savetz/Broken-Computer-Games","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/savetz/Broken-Computer-Games","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savetz%2FBroken-Computer-Games","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savetz%2FBroken-Computer-Games/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savetz%2FBroken-Computer-Games/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savetz%2FBroken-Computer-Games/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/savetz","download_url":"https://codeload.github.com/savetz/Broken-Computer-Games/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/savetz%2FBroken-Computer-Games/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32350245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T17:12:42.749Z","status":"ssl_error","status_checked_at":"2026-04-27T17:12:41.658Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["basic-language","basic-programming","nanogenmo2022"],"created_at":"2025-03-13T12:33:36.115Z","updated_at":"2026-04-27T19:03:14.141Z","avatar_url":"https://github.com/savetz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Broken Computer Games\n\n[Broken Computer Games](https://archive.org/details/broken-computer-games) is a generated book for [NaNoGenMo2022](https://github.com/NaNoGenMo/2022) (National Novel Generation Month).\n\n\"Broken\" is based on the real book [Basic Computer Games by David Ahl](https://www.atariarchives.org/basicgames/). That book was published by Dave Ahl in 1978, and he [put it into the public domain](https://blog.adafruit.com/2022/06/16/david-ahl-places-all-his-classic-computing-publications-into-the-public-domain/) in 2022. Basic Computer Games was the first computer book to sell one million copies, and taught a generation of budding programers how to program in the BASIC language.\n\nThis little python script randomly selects two of the Basic computer games and mashes them up by choosing a few lines of code from each program. I generated hundreds of these, then ran the programs in [pybasic](https://github.com/richpl/PyBasic).\n\n    for i in {001..500}; do python3 mashup.py \u003e program$i.bas ; echo \"load program$i\\nrun\\n2\\n3\\n4\\nexit\\n\" \\\n    | python3 pybasic/interpreter.py | tail +10 | sed 's/^.*###/###/' | grep -v \"Program read from file\" \\\n    \u003e output/output$i.txt ; echo \"----\" ; done\n\nI chose the programs with the most interesting output. Finially, I used [Text to PDF](http://rootrisetech.com/product/text-to-pdf) to generate the PDF.\n\n[Read Broken Computer Games](https://archive.org/details/broken-computer-games)\n\n[More info about this project at NaNoGenMo](https://github.com/NaNoGenMo/2022/issues/42)\n\n[Read the real BASIC Computer Games](https://archive.org/details/Basic_Computer_Games_Microcomputer_Edition_1978_Creative_Computing)\n\n[Code from the book came from vintage-basic.net](http://www.vintage-basic.net/games.html)\n\n[Dot Matrix Font](https://www.dafont.com/dot-matrix.font) \n\n[What Font Is?](https://www.whatfontis.com) identified fonts for the cover\n\nwhich are [FattiPattiFLF](https://www.whatfontis.com/FF_FattiPattiFLF.font?text=BASIC)\n\nand [OptiPlanet-Light](https://www.ffonts.net/OPTIPlanet-Light.font?text=Games)\n\nand I didn't end up using [Trumania EEN](https://www.ffonts.net/Trumania-EEN-Plain.font?text=Blackjack) but you know you want to\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavetz%2Fbroken-computer-games","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsavetz%2Fbroken-computer-games","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsavetz%2Fbroken-computer-games/lists"}