i'm working on converting a TP6 "card game" application to FPC (to start with) and then to Lazarus for the graphical side... what i'm looking for, so as to not try to "recreate the wheel", is a "card object" such that i can create X "decks" of objects of 52 items with Y shuffle(s) of those X decks and/or similar... i have a method of keeping up with the decks and play but i'm looking for how to draw the cards and also be able to draw them fast... [see aside]

[aside: i ran the original DOS TP6 version along side the FPC windows version and the original version ran at one "lost hand" per second or so... the speed differences are hugely astounding... one item of contention may be that the DOS version uses "direct screen writes" and not "OS" screen writes...]

i need a way to select each card via mouse click or keyboard selection, add it to a "collection" that sums to one of a set of possible additions and then remove the selected cards to another card deck...

i have the base program written in basic CP850 characters and "colorations" but have nothing specific for drawing "graphical cards on a card playing table"...

advTHANXance

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to