Klondike Solitaire game for Varvara.
Go to file
~d6 9f4dfdeca9 smaller image sizes 2024-08-07 00:32:09 -04:00
.gitignore initial commit 2024-07-12 22:26:33 -04:00
README.md update README and screenshots 2024-08-07 00:28:05 -04:00
about.png smaller image sizes 2024-08-07 00:32:09 -04:00
ascii.tal about page works 2024-08-06 23:10:57 -04:00
buttons.chr start of about window 2024-08-06 17:51:04 -04:00
card-sprites.tal remap sprites, fix colors 2024-07-16 20:49:53 -04:00
cards.tal use EOR2 instead of MUL2 to avoid problems with zero 2024-07-28 16:22:13 -04:00
chr.py remap sprites, fix colors 2024-07-16 20:49:53 -04:00
game1.png smaller image sizes 2024-08-07 00:32:09 -04:00
kodiak.chr start of about window 2024-08-06 17:51:04 -04:00
kodiak.chr.nmt add bear sprite 2024-07-28 22:37:52 -04:00
kodiak.rom seems ready 2024-08-07 00:14:26 -04:00
kodiak.tal update README and screenshots 2024-08-07 00:28:05 -04:00
logo.chr start of about window 2024-08-06 17:51:04 -04:00
mask-sprites.tal initial commit 2024-07-12 22:26:33 -04:00
mask2.tal weird intermediate state 2024-07-16 10:06:58 -04:00
sprites.tal add bear sprite 2024-07-28 22:37:52 -04:00
start.png smaller image sizes 2024-08-07 00:32:09 -04:00

README.md

kodiak

Kodiak is an implementation of Klondike Solitaire for theUxn/Varvara ecosystem virtual machine.

screenshot of splash screen

controls

  • Use the mouse to move the pointer
  • Click to pick up cards; release to drop them
  • Press Esc to restart the game
  • Press Return to print internal game state
  • Press Space to automatically move "safe" cards to the foundation

details

Currently Kodiak is very limited:

  • Can't move cards from the foundation
  • Must manually move every card
  • No undo functionality
  • No scoring or timing
  • No music or animations
  • No splash screen
  • No on-screen buttons to restart or quit
  • No options

Future releases may relax some or all of these constraints.

screenshot of starting solitarire deal

building and running

Building the Kodiak ROM requires a Uxn assembler:

$ uxnasm kodiak.tal kodiak.rom
Assembled kodiak.rom in 10923 bytes(16.73% used), 253 labels, 0 macros.

Running the Kodiak ROM requires an emulator. For example:

$ uxnemu kodiak.rom

infrequently-asked questions

Is dragging cards buggy?

Previous versions of the game had you click once to pick up a card and pick up again to release. This doesn't work very well with touch screens so it was changed to a more normal click to hold, release to drop.

Is this harder than other solitaire games?

Probably, yes. In addition to not having an "undo" feature, Kodiak does not check to see if a solitaire deal is winnable or not, meaning that some games would probably be impossible to win no matter how you played them.

Can I make the game bigger?

Many emulators support a zoom option. For example, uxnemu and uxn11 both use the F1 key to toggle zoom levels.

The game size is intentionally small to support older platforms with lower screen resolution, such as the Nintendo DS.

I won the game and the cards didn't bounce!

That isn't a question. (Also, sorry!)

Why did a bunch of weird numbers appeared in the console?

Currently hitting Return will dump the internal state of the game for debugging purposes. This produces a lot of output but doesn't otherwise affect the game.

Will you add support for my preferred solitaire variant?

Probably not, but maybe.

I am considering adding support for Sawayama Solitaire. Depending on how that goes I may add support for other variants as well.

screenshot of solitaire mid-game

Kodiak was built by d_m, 2023-2024