Keyboard Shortcuts
Likes
- Tablesmith
- Messages
Search
Re: Looking for 'Design Pattern'?
some of my syntax may be off I haven't used tablesmith in a while but here's a starting point. I'll assume the cards are handed to some number and use 7 possible unique instances of them in a given hand.
It'll be an exercise for you to figure out how to change the logic to handle non-unique instances in a hand, collect their counts, and how to append data to the cards to designate them as unique, and use that during a generation process for the cards instead of manual collection :)
@squadpoints,100,Total points to use @deck,Whose deck are you using?,Mine,That guy's #I'm not sure this will work depending when/how he evaluates these, otherwise it'll need filling manually.
#If not that means this won't do different deck labels so well and will need to be chosen by ID directly #@card1,1,What type of card do you have? @card1,1,What type of card do you have?,[Cards%deck%=1],[Cards%deck%=2],[Cards%deck%=3],[Cards%deck%=4]
@card2,1,What type of card do you have?,[Cards%deck%=1],[Cards%deck%=2],[Cards%deck%=3],[Cards%deck%=4] @card3,1,What type of card do you have?,[Cards%deck%=1],[Cards%deck%=2],[Cards%deck%=3],[Cards%deck%=4]
@card4,1,What type of card do you have?,[Cards%deck%=1],[Cards%deck%=2],[Cards%deck%=3],[Cards%deck%=4] @card5,1,What type of card do you have?,[Cards%deck%=1],[Cards%deck%=2],[Cards%deck%=3],[Cards%deck%=4]
@card6,1,What type of card do you have?,[Cards%deck%=1],[Cards%deck%=2],[Cards%deck%=3],[Cards%deck%=4] @card7,1,What type of card do you have?,[Cards%deck%=1],[Cards%deck%=2],[Cards%deck%=3],[Cards%deck%=4]
@axis,1,Good or Evil,Good,Evil %totalpoints% = 0 %picked% = 0 :Start :{Loop~{Calc~%squadpoints%+20},[ChooseLoop]<BR>} #If the total is over the maximum for the chosen card then the if statement does nothing.?
#if somehow it fails to pick a low value choice near the end you might have to increase the selection above 20. #I add to squadpoints total to ensure that this has enough random chances to pick a one point card to get to 100 if we're at 99 points.
:ChooseLoop 1,[chooseinstance] {IF~[CardData%deck%=%picked%] + %totalpoints% <= %squadpoints ? [Cards%deck%=%picked%]|totalpoints+[CardData%deck%=%picked%]|} #Equal chance to occur. It only fills a variable and does not output text.
:chooseinstance 1,[Shipset%axis%%deck%] 2,[Cardset%axis%%deck%] #DECK 1 - (cardtype)(axis type)(deck id) # #Ships - returns card instance ID
# #Good :ShipSet11 1,|Picked =1| #Evil :ShipSet21 1,|Picked =2| # #Cards?- returns card instance ID #
#Good :CardSet11 1,|Picked =3| #Evil :CardSet21 1,|Picked =4| #DECK 2 (cardtype)(axis type)(deck id) # #Ships - returns card instance ID # #Good :ShipSet12 1,|Picked =1| #Evil :ShipSet22 1,|Picked =2|
# #Cards?- returns card instance ID # #Good :CardSet12 1,|Picked =3| #Evil :CardSet22 1,|Picked =4| :Cards1 1,10 year old altar boy 2,Meryl Streep 3,Iron Age Fable, +2 Wis, Int Save vs DC 15 or -2 Int 4,Physics book?+2 Int :Cards2 1,5 year old altar boy 2,Meryl Strep 3,Stone Age Fable, +2 Wis, Int Save vs DC 15 or -2 Int 4,Fishhooks book?+2 Int #Point Values - This must correspond to the roll ID of the deck they belong to! :CardData1 1,1 2,1 3,1 4,1 #Point Values
:CardData2 1,1 2,1 3,1 4,1 On Thu, Jan 9, 2014 at 7:21 PM, Michael Taylor <michaeltaylor1329@...> wrote:
|
Looking for 'Design Pattern'?
Michael Taylor
¿ªÔÆÌåÓýI'm sure I could 'brute force' this but I was wondering if someone had a 'smarter-not-harder' idea on doing this.
? I'd like to do a random squad builder for the game?X-Wing (). ? So each squad is worth 100 points, but it can only be made up of the ships (that cost points) and cards (that cost points) that I actually have. ? So even if I want 6 Sparrows and they cost less than 100 points, I can't them because I only own two of them. ? Each squad is either 'good' or 'evil' too so that limits which ships (but not cards) that they can choose from. ? Some cards are 'Unique' so you can only have one of them (only one Lt. Starbuck). ? Any ideas? ? thanks! ? By the way - you should be able to guess why I can use the already existing Random X-Wing squad builders! ;) Mataoog (mata oog) night hunter |
Re: Tablesmith for tablets
¿ªÔÆÌåÓýruns on my dell tablet with windows 8.1 On 1/2/2014 12:25 PM, Troy Fisher wrote: ? |
Re: Tablesmith for tablets
¿ªÔÆÌåÓýIt runs on my surface. --- Original Message ---
From: "Bruce Gulke" Sent: January 1, 2014 8:21 PM To: TableSmith@... Subject: Re: [TableSmith] Tablesmith for tablets TableSmith may run on a Microsoft Surface (never tried, never heard from anyone who did), but if you're talking iPad or Android, it won't work directly on them. The only way I can think of right now would be to use some sort of remote desktop
software and connect to a Windows PC from the tablet. Wyse has something like this called "PocketCloud"; I think it runs on both iOS and Android.
On Tue, Dec 31, 2013 at 1:49 AM, wishlady
<wishlady_2@...> wrote:
|
Re: Tablesmith for tablets
TableSmith may run on a Microsoft Surface (never tried, never heard from anyone who did), but if you're talking iPad or Android, it won't work directly on them. The only way I can think of right now would be to use some sort of remote desktop software and connect to a Windows PC from the tablet. Wyse has something like this called "PocketCloud"; I think it runs on both iOS and Android. On Tue, Dec 31, 2013 at 1:49 AM, wishlady <wishlady_2@...> wrote:
|
Re: Registration
If you registered prior to version 5.0, you'll need to register for the latest version. On Wed, Dec 4, 2013 at 7:01 PM, Colin Stewart <runjikol@...> wrote:
|
Registration
Years ago I first purchased Tablesmith and had a lot of fun making loads of tables. I had a mobo failure and lost my RAID-0 & all the tables. Now I'd like to get back into using Tablesmith that I'm gaming more often. Is my previous registration from this email address still valid for the current version? |
Re: New File : Coin Converter
¿ªÔÆÌåÓýi have it vance if u need a copy of it
kevin On 12/3/2013 6:25 AM, Vance wrote: ? |
Re: New File : Coin Converter
?
toggle quoted message
Show quoted text
I have a version for WFRP (old English) also. I'll
have to check, I made one that was easily?user definable.
?
|
Re: New File : Coin Converter
Hi, there was no problem ... I only improved it to add coinage for other worlds like Dragonlance or Dark Sun. ? Thanks to you.? ---In TableSmith@..., <clubvance@...> wrote: ?
Had no idea there was a problem with my old coin
converter. Thanks Valminder
?
|
Re: New File : Coin Converter
?
toggle quoted message
Show quoted text
Had no idea there was a problem with my old coin
converter. Thanks Valminder
?
|