was8bit 2020-09-24 02:54 (Edited)
This will NOT focus on card rules, but will only focus on creating a system that controls the raw movement of cards...
For a version that DOES use regular solitaire rules, with a suprise ending, see here: https://lowresnx.inutilis.com/topic.php?id=1450
Hold A + arrows to align the GET pointer Hold B + arrows to align the PUT pointer Tap PAUSE to attempt moving a card
DEAL DECK is at the top left corner PILES (top zone) are SORT and FINISH piles STACKS are below the top zone
(G=Get pointer, P=Put pointer... then tap PAUSE) ..... DEAL a new card = place G P on deal deck ..... From DEAL to any PILE ..... From a SORT PILE to a FINISH pile ..... From DEAL or any PILE to any end or empty STACK ..... STACK to STACK, single or multiple cards ..... From any end of STACK to any PILE
..... From SORT PILE to SORT PILE ..... From FINISH PILE to FINISH PILE ..... From FINISH PILE to SORT PILE ..... STACK TO STACK that exceeds table space
was8bit 2020-09-24 03:01 (Edited)
The red #'s are part of my attempt at making the code smart and allow each pointer to know where it is and see what it is pointing to.... i currently print them to verify things are working properly... they will disappear eventually ...
was8bit 2020-09-25 06:00
Hey, all i need now is moving portions of a stack, and i will be done :) ... but will probably be the hardest thing to get done...
was8bit 2020-09-25 07:32
OK... wow, i got it done!!!
Now, later on, i will use this as a base to create my OWN version of a solitaire game ;)
...ANYONE is welcome to use this to make a card game :)
was8bit 2020-09-25 07:49
Final tweaks on colors and speed of movement and such..
This version CAN be used to play solitaire, but you are own your own honor to follow the rules as there is NO check or restrictions rule-wise... you can totally cheat if you want to :)
was8bit 2020-09-25 17:47 (Edited)
I can already see (by way of using this to make a solitaire game) that before this could be easily used by anyone else, or even me with a different layout, i would need to rework this so it is driven not by preset locations but by characters placed anywhere on the screen..
.. i will redo this with mahjong tiles and with a more flexible layout ability :)
... after i finish my solitaire game :)
was8bit 2020-09-27 08:51
Solitaire game finished :)
was8bit 2020-12-29 04:20
This will soon be deleted... it is replaced with this...