|
pokeyman posted:My sql schema is an id column and a text column. The game is an append-only text log of events. this but a kafka instance
|
# ? Feb 27, 2024 02:10 |
|
|
# ? Jun 5, 2024 07:41 |
|
redleader posted:this but a kafka instance
|
# ? Feb 27, 2024 02:17 |
|
Also I wasn't joking, I'd do what this champion did https://www.snellman.net/blog/archive/2014-12-08-command-languages-as-game-ui/
|
# ? Feb 27, 2024 07:22 |
|
pokeyman posted:My sql schema is an id column and a text column. The game is an append-only text log of events. Please do not leak my new itch.io horror game
|
# ? Feb 27, 2024 07:25 |
|
pokeyman posted:Also I wasn't joking, I'd do what this champion did https://www.snellman.net/blog/archive/2014-12-08-command-languages-as-game-ui/ Oh, that's extremely interesting, thank you for linking it.
|
# ? Feb 27, 2024 14:18 |
|
ultrafilter posted:Ultimately that's a data modeling problem, so it's going to depend on what kind of queries you need to do and what sort of data you need to represent. Do you only need to be able to look up the modifiers for a card, or do you need to be able to find all the cards with a given modifier? Are there a small set of modifiers that won't expand, or are there (e.g.) uncapped multipliers? There are probably other questions that matter, but those are the big two that come to mind right away. Playing the game I had the same thought as OP, because it's very good at counting things you might miss with strict interpretations. There's a stack of jokers at the top, where order matters, but some joker effects trigger at the start of scoring a hand, some trigger mid-way, some trigger after. An example: I have a joker that allows Straights and Flushes to be 4 cards. I play these 5 cards: 2c Jc Qc Kd 10(wild suit) That counts as a Straight Flush. Scoring the hand can involve effects that the player wants to stack (e.g. Face cards add +4m, All Cards count as Face cards). I definitely would've ended up with a ball-of-twine like Nethack's internals.
|
# ? Feb 27, 2024 19:07 |
|
The order of the hand matters too, as the playing cards can have order dependent modifiers. Balatro actually needs to explain this better, that cards can be arranged in hand to affect the order played, because it certainly doesn't automatically reorder for anything optimal. Which suggests to me that it is a big ball of procedural twine for how it only shows base chips and mult until the hand actually plays.
|
# ? Feb 27, 2024 19:47 |
|
Ranzear posted:The order of the hand matters too, as the playing cards can have order dependent modifiers. Balatro actually needs to explain this better, that cards can be arranged in hand to affect the order played, because it certainly doesn't automatically reorder for anything optimal. There are also nondeterministic effects that would make it difficult to always show even just the final score resulting from a selected hand (I suppose it could show it the final chips/multiplier in other cases and just show question marks if necessary though) I think it also just chooses not to make this stuff too obvious/easy so there's more opportunity to figure stuff out on your own. mystes fucked around with this message at 19:57 on Feb 27, 2024 |
# ? Feb 27, 2024 19:54 |
|
My gripe isn't about the lack of calculation but the lack of clarity on the order of play, which was mentioned earlier but just about jokers. But their run seeding is complete enough to tell you the hands definitely aren't non-deterministic. Yes, of course not precalculating the result is a gameplay aspect. I've had more coffee and remembered that base chips and mult is another variable that gets scaled separately too.
|
# ? Feb 27, 2024 21:17 |
|
There's one tarot card that mentions rearranging the hand, but that's a little oblique. Just trying to enumerate the effect sources, there's Vouchers, Jokers, Tarot, Planet, Spectral, Boss Blind? uhh... Cards in Hand, for steel/gold.
|
# ? Feb 27, 2024 21:20 |
|
I had one joker combo that 1. Would apply effects of face cards in hand (you control, but aren't part of your played hand), to the cards being played 1. All cards are considered face cards (J Q K) 1. Play all cards as if they're face cards Periodically I'd have a card in my hand with a red seal (play this card twice). This is on top of the cards played and they're effects Jokers can have stacking effects on other jokers too. One raises the value of each joker each round, one has a mult + for the total value of all jokers. Another combo is joker has mult increased every time you reroll and other jokers that modify reroll e.g. lower reroll cost My guess for some card logic there's just a function of unique functions that trigger in a particular order to keep the rules from stepping on each other
|
# ? Feb 27, 2024 23:31 |
|
JawnV6 posted:There's one tarot card that mentions rearranging the hand, but that's a little oblique. I probably went 4 hours before realizing this. That and glass cards are a 2x mult not 2+, so you always want glass cards played last in your hand
|
# ? Feb 27, 2024 23:32 |
|
Posting to be part of the page 666 milestone.
|
# ? Feb 29, 2024 04:03 |
|
hail CMOS
|
# ? Feb 29, 2024 04:06 |
|
640 should be enough for anybody!
|
# ? Feb 29, 2024 04:20 |
|
I can't believe I'm the OP of this thread fake edit: and the last two iterations of it too. I genuinely did not remember that there used to be frequent reboots of this thread
|
# ? Feb 29, 2024 04:39 |
|
There are threads that should be rebooted every so often but this one probably doesn't need it.
|
# ? Feb 29, 2024 04:44 |
|
Megathreads used to break the forums so that probably contributed, and CoC used to be part of SH/SC which made it harder to find programming threads, and and and I'm loving old as poo poo
|
# ? Feb 29, 2024 04:51 |
|
It is weird to think that threads used to be limited to 25 pages.
|
# ? Feb 29, 2024 06:14 |
|
Plorkyeran posted:It is weird to think that threads used to be limited to 25 pages. 1000 posts should be enough for everybody
|
# ? Feb 29, 2024 06:53 |
Which programming language is most closely associated with satan?
|
|
# ? Feb 29, 2024 07:15 |
|
Polio Vax Scene posted:Which programming language is most closely associated with satan? https://en.wikipedia.org/wiki/Brainfuck
|
# ? Feb 29, 2024 08:39 |
|
Polio Vax Scene posted:Which programming language is most closely associated with satan? C. it has done His work more than any other lang
|
# ? Feb 29, 2024 08:40 |
|
Polio Vax Scene posted:Which programming language is most closely associated with satan? If we're doing tarpits then surely Malbolge. Anyhow, JavaScript. It has neither principles nor morals, it is impure, and it has clearly tempted Man to fall. Xerophyte fucked around with this message at 08:56 on Feb 29, 2024 |
# ? Feb 29, 2024 08:52 |
|
csammis posted:I can't believe I'm the OP of this thread Time to let it go,?
|
# ? Feb 29, 2024 10:15 |
|
csammis posted:I can't believe I'm the OP of this thread Leaky memory in the programming thread?
|
# ? Feb 29, 2024 12:00 |
|
working on a personal project - messing around with code to compare a landscape image to a data set of camouflage patterns and have it return which of the camo patterns are most effective. i've currently got a very simple implementation using opencv to get color histograms and compare them, but while the results are neat for a couple of nights of dicking around i'm looking to get better results than what i'm getting now. some research today pointed me towards content-based image retrieval having shape and texture as parameters for this type of categorization. i'm now deep enough in this rabbit hole that i'm wondering what i need to be reading to more meaningfully understand what i'm looking at in terms of solving this problem and if cbir is a workable solution or if i've got an xy problem and i'm barking up the wrong tree. my computer vision knowledge is incredibly rudimentary so posts suggesting introductions to the field/best sources to learn and understand theory are going to be useful, as well.
|
# ? Mar 1, 2024 23:24 |
|
Polio Vax Scene posted:Which programming language is most closely associated with satan? There are only two choices: Java and/or Python. It seems likely that strongly and weakly typed languages are equally leveraged by the Morningstar.
|
# ? Mar 1, 2024 23:30 |
|
PhantomOfTheCopier posted:So stick with me here, Satan is typically seen as causing people to move toward sin… If this first part is true, then the most sinful language is Perl, because it encourages people to use regular expressions. And I get it, because they are attractive and seem to solve your immediate problems.
|
# ? Mar 2, 2024 00:20 |
|
PhantomOfTheCopier posted:So stick with me here, Satan is typically seen as causing people to move toward sin, but all evidence suggests that people are abject sinners and those who most profess godliness/absence of sin and horror at it (note I didn't say 'enlightenment') are those most frequently found sinning. Ergo, popularity and claims of superiority are the marks of the sinners.
|
# ? Mar 2, 2024 00:39 |
|
OOP certainly seems like hubris, creating and mutating and destroying things, which is His prerogative.
|
# ? Mar 2, 2024 00:42 |
|
PhantomOfTheCopier posted:So stick with me here, Satan is typically seen as causing people to move toward sin, but all evidence suggests that people are abject sinners and those who most profess godliness/absence of sin and horror at it (note I didn't say 'enlightenment') are those most frequently found sinning. Ergo, popularity and claims of superiority are the marks of the sinners. I had to check what thread this was, I thought this was a Paradise Lost shitpost.
|
# ? Mar 2, 2024 02:11 |
|
I had a quiz that I got a few wrong on and I was curious if ya'll could illuminate me.quote:Given: Thinking about this question, I'm fairly certain it returns as false. P & Q return true and r or s return false. So true and false = false. Not is a reverse operator so not(false)=true. Am I wrong? Additional quiz question: how many red triangles does the following code draw? 0,1,2,3? quote:def f(color): I'm fairly certain this wouldn't draw any because it has a syntax error. ASSUMING the syntax error was fixed, this still wouldn't draw any triangles because num is never declared before it's used?
|
# ? Mar 13, 2024 21:19 |
|
A Festivus Miracle posted:I had a quiz that I got a few wrong on and I was curious if ya'll could illuminate me. You just gave two different answers - the first wrong and the second correct. !((P || Q) && (R || S)) !(TRUE && FALSE) !(FALSE) TRUE
|
# ? Mar 13, 2024 21:23 |
|
Well, first you say it evaluates to false (incorrect) but then after you show your steps you say it evaluates to true (correct), so, there's a correct answer in there somewhere these sorts of questions are trivial to just check yourself: $ python3 -q >>> p, q, r, s = True, True, False, False >>> not((p or q) and (r or s)) True >>> A Festivus Miracle posted:num is never declared before it's used? I don't really know what to do with that question because f is never called except via g, and g is never called anywhere Dijkstracula fucked around with this message at 21:28 on Mar 13, 2024 |
# ? Mar 13, 2024 21:26 |
|
My brain is a random answer generator you see. I answered true on the quiz and it was marked wrong so I'm not crazy.
|
# ? Mar 13, 2024 21:29 |
|
Are you sure you transcribed it correctly here?
|
# ? Mar 13, 2024 21:32 |
|
Dijkstracula posted:Well, first you say it evaluates to false (incorrect) but then after you show your steps you say it evaluates to true (correct), so, there's a correct answer in there somewhere Oh, ok. This is an intro class. I'm new to this. fair point, g is never called aaaannd the code has a syntax error. I'ma mail my professor. Thank you fellas, you're all gorgeous people.
|
# ? Mar 13, 2024 21:32 |
|
A Festivus Miracle posted:My brain is a random answer generator you see.
|
# ? Mar 13, 2024 21:33 |
|
|
# ? Jun 5, 2024 07:41 |
|
Magnetic North posted:Are you sure you transcribed it correctly here? Maybe not. Let me transcribe it exactly how it's set: 1. pre:Given: p = true q = true r = false s = false Determine the answer to the following: not((p or q) and (r or s)) pre:def f(color): Rect(0,0,100, 100, fill=color) def g(color, num): if (num == 7): f(color) if (color == "red): f("black") else: f(color)
|
# ? Mar 13, 2024 21:33 |