A decade ago I dropped out of high school, but couldn’t get back to studies easily, so I started with a programming course where I learnt frontend web dev
A more direct game related to regular expressions is just Regex Golf
You can just play it directly in the browser
Relevant xkcd
oh no, i’m doomed… y’all are turning me into a daily golfer, i can’t deal with this much direct sunlight T.T
edit: onoooo i’ve just discovered CSSBattle which is basically CSS golf T.T
Is the meaning of the phrase ‘syntactically correct’ generally context-dependent?
SGF properties (FF[4])
As long as the given move is syntactically correct it should be executed.
“How to execute a Go move” states that a move overwrites anything previously at the intersection (i.e. a B move where a White stone already exists is legal). I assume this is what the emphasis on syntactical correctness is referring to. But what about moves outside the range of the board itself (aside from ‘tt’ as ‘pass’ for boards size 19 and smaller)? I’m having trouble finding anywhere in the specification that such moves are actually disallowed, and my understanding of SGF syntax would include such a move in ‘syntactical correctness’.
It seems reasonably obvious that moves outside the range of the board are impossible, but I don’t know whether that’s actually relevant to composing a legal SGF. And I could imagine a couple different ways to execute out-of-range moves, besides.
And no, the “extensive explanation with examples ([which] should leave no question unanswered […])” did not answer this question
.
Yeah I kind of imagined your idea of properly formatted would be similar to what syntactically correct would mean.
Then it’s up to the sgf parser and game engine to deal with the consequences and exceptions ![]()
If one is to take this phrase literally, I think you’re right that you’d have to somehow execute out-of-bounds moves.
But IMO, it’s mainly referring to illegal positions within the bounds. In addition to:
we might also need to consider illegal moves like repeated positions (ko) or moves without liberties. (though it’s unclear to me whether that would be implemented as an immediate self-capture or just an illegal stone)
it seems to me like SGF FF[5] - Move vs. Adding Stones says that moves without liberties are self-capture. it doesn’t specifically say that executing ko wouldn’t be self-capture, but it would be odd to me if it were ![]()
of course that’s just for replaying existing SGFs. i assume an app wouldn’t allow such moves if they’re against the given rules
I’m looking at the proposed changes for FF[5] and they look really neat!! I wonder why they were never completed.
I interpret that page as stating that the B and W properties even allow plainly illegal moves (even ones that overwrite existing stones, as well as giving no mind to ko). The point, I believe, is that the SGF format should be flexible in allowing even illegal moves to be illustrated for the purpose of making explanatory diagrams.
Another wrinkle is that editing the board with the AB, AW, and AE properties does not trigger any captures to happen, and thus can create nodes that store an illegal board state (with chains that have no liberties). Further, when stones are played with B and W, they only potentially trigger adjacent captures (as noted on that page), which can resolve some situations with chains without liberties, but still leave other non-adjacent chains without liberties still on the board.
Well, some apps may allow one to create such SGFs, but have some sort of mechanism that one has to override. For example, with my BesoGo app, you have to “ctrl+click” in order to play a move that either overwrites an existing stone, violates the simple ko rule (note: no checks are made for longer ko cycles), or commits suicide. This behavior of BesoGo does not depend on what the rules are set to in the game info (as that field could itself be a bit ambiguous, misspelled, in a different language, etc.), so if playing with NZ rules, one would have to use the Ctrl+Click override in order to play a legal suicidal move.
I have seen other apps simply go into an unrecoverable error (or outright reject) when given a file with an overwriting move (even though it is explicitly allowed by the SGF standard).
i’m finally giving some of the khanacademy math courses a shot, and i’m finding more gaps in my knowledge than i’d realized
the trigonometry course assumes some basic skills like being able to simplify square root expressions, which i was able to more or less figure out w/ some trial and error, but going a little further, it’s looking like i might have to take their entire high school geometry course to be able to digest anything more here.
i’m feeling a little frustrated w/ my younger self for not paying attention in school… ![]()
I haven’t looked at that course but if be surprised if you really need that much high school geometry to make progress. You need a good understanding of circles and right triangles, sure, but there’s a lot of esoteric stuff in geometry like power of a point or Heron’s formula that’s not relevant to sin and cos.
And a lot of it is actually easier to do with trigonometry.
Not intending to discourage you from learning it though. Geometry is fun. Some great geometry puzzles:
Or if you want a frustrating but somewhat fun geometry game app
It’s like a rule and compass construction game where you’ve to make certain constructions with a minimum number of lines or a minimum number of tool uses. As you progress you unlock things like angle bisecting or drawing a perpendicular line, and those become a tool so change the counts for the different scoring systems.
Very frustrating, sometimes you stumble on the right answer, sometimes it’s hinting at some obscure theorem XD
I remember enjoying some of the khan academy videos a good while ago, but haven’t checked to see if they’ve updated them in the last ten or so years ![]()
Sometimes it’s also just easier to pick up certain things later. I don’t think I came out with a good grasp of geometry and trigonometry from school, but it wasn’t from not paying attention.
I think you are just forced to learn a lot of things in a relatively short amount of time so you can only learn so much in so much detail anyway, unless you also make it a hobby and do like Olympiad stuff or some puzzle groups or something
I think that a main problem is that school is based on the average. People development has different velocity and someone can be slow but catch up later