Spyke

Replies

Comment on

my first generator

Reply in thread

I appreciate it, but I gotta admit, when I look at the changes allo made I was able to understand them.

But when I look at the changes you made, I don't know what is actually happening in the code. I was hoping to get an idea of what's going on, in the hopes that I can recreate it for future generators without having to ask every time.

lines 4, 9-10, and 14-15

And also, will this work in a way to make it so that it generates a random amount as well? between 30-60? I figure line 12 could be changes to a degree.

Comment on

my first generator

Reply in thread

Thank you, I have tweaked the original, but I made the joker chance 1/27 and gave it option of with and without a trademark.

I guess the next step now is to figure out how to make it output multiple cards at once, and then how to have those outputs be unique. As the rules of caravan allow you to have multiple kings of spades, so long as they are from different decks.

Comment on

work with PHP

Reply in thread

i am pretty sure i can handle it, its just lists, but its a bunch and i was hoping i could essentially drag and drop or find and replace...

but thank you for the offer

Comment on

my first generator

Reply in thread

so looking at it, the getcards list isn't called for in the list itself, and is pulled up in the html right after the title. and this is what makes it ensure that there is no duplicates?

i did get it to output between 30-60 which is what i want, i deleted the select-until-plugin nothing happened but when i tried removing console.log(cards.size) like you said, it broke it, so i put it back

my updated generator with tweaks based on the code you gave me is here https://perchance.org/6903zy9slr

You reached the end