Crazy Solitaire

Post Reply
User avatar
DusanStrakl
Posts: 134
Joined: Sun Apr 26, 2020 9:15 pm
Location: Bay Area, California
Contact:

Crazy Solitaire

Post 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!
Attachments
SOL.zip
(52.09 KiB) Downloaded 113 times
User avatar
Daedalus
Posts: 232
Joined: Fri Nov 11, 2022 3:03 am

Re: Crazy Solitaire

Post 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.
User avatar
DusanStrakl
Posts: 134
Joined: Sun Apr 26, 2020 9:15 pm
Location: Bay Area, California
Contact:

Re: Crazy Solitaire

Post 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.
doslogo
Posts: 19
Joined: Fri Dec 20, 2024 4:26 pm

Re: Crazy Solitaire

Post 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!
User avatar
Roy Eltham
Posts: 14
Joined: Thu Oct 13, 2022 3:58 am
Location: San Diego

Re: Crazy Solitaire

Post by Roy Eltham »

This is well a done solitaire! Played a bunch.
Post Reply