TempleOS - BlackDiamond (J-WKB-bC-VE)

Demonstrates BlackDiamond in TempleOS and explains how the game evolved from a beginner demo into a more polished ski game with a chairlift. Discusses implementation details including sprite-heavy code, front-to-back rendering via Y-coordinate sorting with QSort, a timed update loop, and hyperbolic cosine math for the lift cables. Shows how setting a task-specific random seed reproduces the same map layout versus randomized runs.

Copyright © 2023 - 2026 Serhii Zasenko. All rights reserved