Page 1 of 1

Crazy Solitaire

Posted: Sat Feb 01, 2025 4:54 am
by DusanStrakl
After a long while I wrote another game. This time it classic Solitaire game and I pushed the graphical capabilities of Commander X16 a little bit. More about how it is done is available on my blog:

https://www.8bitcoding.com/p/crazy-solitaire.html

Some screenshots:
Image

Image

Image

Image

You can also try it here:
Try It Now!

Re: Crazy Solitaire

Posted: Sun Feb 02, 2025 3:56 pm
by Daedalus
Nice!

I also like the way you included a link to a blog post about how you made the game. Everyone should read that, it contains great advice on how to approach the project and write it in a modular way. (Basically, it says use a Model,View,Controller style without actually using those words.)

When I first saw the screenshots, I wondered how you did the "Cascade of cards bouncing off the screen" effect, but after I read the blog... it was "Of course, tiny tiles." When I played the game, I could see where the cards were wacky at the corners because tiles can't be transparent over themselves, only the underlying layer. As such, the tiles can have no transparent bits. But that's barely noticeable in the final product.

Re: Crazy Solitaire

Posted: Wed Feb 05, 2025 12:15 am
by DusanStrakl
Thank you Daedalus,

I try to keep my code organized in any way makes sense for that particular project. It is especially important in Assembly programs where there is a lot of lines of code but at the same time it is always trying to find balance between readability of the code and performance.

Re: Crazy Solitaire

Posted: Wed Feb 05, 2025 5:13 pm
by doslogo
From DusanStrakl's blog: One thing that surprised me the most was that Commander X16 is able to handle all those graphics manipulations very quickly. I was concerned that relatively narrow channel between CPU and VERA will be a bottleneck but it works very quickly and I didn’t even need to optimize the code too much.
It feels almost surreal how much Commander X16 can accomplish with assembler as the starting point. I began my project with your tutorials as inspiration, and it still blows my mind to see how much things can be done in one 1/60 of a second!

Great work here!

Re: Crazy Solitaire

Posted: Mon Feb 24, 2025 7:54 am
by Roy Eltham
This is well a done solitaire! Played a bunch.