TinySol, a tiny solitaire game for DOS (classicbits.net)

51 points by skibz 11 hours ago

14 comments:

by Sembiance an hour ago
by inatreecrown2 2 hours ago

That gas-plasma display looks gorgeous, it looks more "analogue" than lcd to me. Are these still produced or is this "dead" technology?

by omoikane 7 hours ago

Related, Oscar Toledo also made a tiny Klondike Solitaire program for IOCCC, I wonder if it was inspired by this one:

https://nanochess.org/klondike_in_c.html

https://news.ycombinator.com/item?id=48450024 - Klondike Solitaire game for curses in 5k of C (2026-06-08, 17 comments)

by bananaboy 6 hours ago

Hey very nice! I made a 386+VGA Solitaire game a while back for a game jam https://horsedrawngames.itch.io/solitaire I always meant to go back and optimise it more because it shouldn’t require a Pentium!

by ctippett 6 hours ago

Late (late.sh) has solitaire available to play over SSH (along with minesweeper, tetris, battleships, chess... and many more). You'd be surprised at how well a lot of games translate just fine to being rendered on a simple interface.

by pan69 8 hours ago

Solitiny :)

> NOTE: For DosBox users, DosBox doesn’t seem to support AT&T 6300 but the other modes work fine.

I'm pretty sure DOSBox supports the Olivetti M24 graphics mode.

by sys_64738 9 hours ago

This is real hacker news! Well done :)

by febed 3 hours ago

8086 and up! Amazing

by petiepooo 9 hours ago

Very nice. How about site where we can play it in the browser? There are several wasm dos simulators..

by ranger_danger 7 hours ago

Not open source apparently?

by ranger_danger 7 hours ago

I like to think I'm decent with C, and I thought I would be able to make my own solitaire, but just trying to wrap my head around how in the world I was supposed to lay out all the cards in memory and keep track of all the different states had me giving up pretty quickly.

by steve_taylor 6 hours ago

I'd start by identifying all the known boundaries:

52 cards, so each card can be represented by a byte.

Cards are arranged into 4 stacks of up to 13 cards each, 7 columns of up to 13 cards each, and a pile of up to 24 remaining cards. (You don't need two piles of remaining cards.)

That's 167 (4 * 13 + 7 * 13 + 24) bytes for the cards, 12 bytes to store lengths, and 1 byte to store the current index in the pile of remaining cards. It's a fixed number of fixed-length byte arrays and a fixed number of bytes to track lengths and one index.

by to11mtm 6 hours ago

Probably depends on the kind of solitaire IMO.

I feel like Klondike, -should- be simple enough with a set of vectors/arrays/lists, the biggest thing is making sure you have the traversal logic right. [0]

[0] - I mean, here's an example in VB.NET, where a lot of the game logic is FBOW integrated into the form logic, but hey it apparently is NET8! https://github.com/DualBrain/Solitaire/blob/master/Solitaire...

by creado 9 hours ago

Good work

Data from: Hacker News, provided by Hacker News (unofficial) API