Skip to content

Instantly share code, notes, and snippets.

View mrcook's full-sized avatar

Michael R. Cook mrcook

  • München
View GitHub Profile
@mrcook
mrcook / zx-spectrum-unique-games-in-basic.txt
Last active December 25, 2023 16:58
ZX Spectrum [mostly unique] video games written in BASIC with at least 300+ lines
LINES FILENAME
372 07 Zglos Sie (19xx)
922 13 Rue del Percebe (1992)
300 17.11.1989 (1989)
529 180 (1984)
878 1942 Mission (1984)
854 1942 Mission (1985)
397 1984 Locospotter (1984)
374 2 Player Soccer Squad (1991)
397 2003 - A Space Oddity (1984)
@mrcook
mrcook / zx-spectrum-games-in-basic-deduped.txt
Last active May 21, 2023 18:12
ZX Spectrum video games written or mostly written in BASIC
Games (TZX or TAP) that contain 100+ lines of BASIC (incomplete).
Most if not all non-English language tapes have been removed. Many duplicates have been removed.
Sorted alphabetically. Loadable into a spreadsheet (using a TAB delimiter).
Tapes Images from https://archive.org/download/zx-spectrum-tosec-set-v-2020-02-18-lady-eklipse/Games.zip
LINES FILENAME
690 Apocalypse (1983)(Red Shift).tap
549 Apocalypse Expansion Kit Vol. 2 - Historical Scenarios - Chapter 1 - Fall of Rome + Napoleon's (1984)(Red Shift)(Side A).tzx
376 Apocalypse Expansion Kit Vol. 2 - Historical Scenarios - Chapter 2 - The 1984 Pacific War (1984)(Red Shift)(Side A).tzx
4360 Black Crystal (1982)(Carnell).tap
@mrcook
mrcook / rebelstar-raiders.go
Last active May 27, 2023 07:06
Rebelstar Raiders (ZX Spectrum) TZX data exporter: BASIC, screens (PNG), level data, assembly code
// extract.go is a small script for extracting data from the Rebelstar Raiders
// video game TZX tape files; BASIC, game level data, screens (PNG), the
// ZAPCODE disassembly, etc.
//
// Dependencies:
// - tzxcat (https://github.com/shred/tzxtools)
// - Rebelstar Raiders ZX Spectrum TZX tape files, side 1 & side 2
//
// Copyright 2023 Michael R. Cook
// License: MIT
@mrcook
mrcook / changelog_generator.rb
Last active August 3, 2021 09:51
Ruby script to generate a CHANGELOG from git commits
#!/usr/bin/env ruby
# Generate a changelog for a git repository
#
# Usage:
#
# $ cd app_dir
# $ ruby /path/to/changelog.rb
CHANGELOG_FILENAME = 'CHANGELOG.new.md'
@mrcook
mrcook / snake_case.go
Created December 10, 2017 15:54
Go: Convert CamelCase strings to snake_case, with golang
// Go Playground: https://play.golang.org/p/RwyPCkRi1S
package main
import (
"fmt"
"regexp"
"strings"
)