This is supposed to be a joke but sadly a lot of beginner tutorials on coding Tic-Tac-Toe teach this
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
They are doing it dumb. You can text output chess but you just need to keep track of where the pieces are in code, then when you are ready to output, place the characters. Saves so much time. /s
not to get epistemological,
but I hate that technically there's only a limited number of moves in chess, and therefore the best move is there, maybe there's a strategic where white will always win, but we'll never know because the number of variations likely is larger than atoms in the universe.
On the lower end of estimates, the number of unique chess board configurations is 10^120, often referred to as the Shannon number. The universe doesn't stand a chance.
maybe a distant future technology could compute that, Clarktech style
That’s cool. I think this is why I never liked chess.
In modern chess, engines have gotten good enough that we generally do know the top moves and humans can't beat them. We can even numerically assess someone's chess play with a computer, which we call "accuracy". Obviously they can always be improved further, and there are a handful of situations where they might misevaluate, but it's still pretty incredible.
Engines have only made chess more exciting as they have shattered a lot of old theory and helped people find a lot of new and innovative ideas. They are an incredible aid in analysis and tournament prep.
yhea, but engines still act as if it is an unsolved game.
while in theory, given that the number of moves is limited, in theory one colour would always win.
The solution to chess is almost certainly a draw, since this is what all top engine chess converges to. Otherwise you are completely correct: chess is unsolved and will likely never be solved.
one AI that always manages to draw in chess is Stable diffusion and dalle...
/j
Well this is how programing works so if you don't like it...
This is actually what made me start my programming journey. Made small games using PowerPoint until I was starting to make an level editor on a 12x12 grid. My father thankfully stopped me pretty early on and showed me Game Maker 7. Not sure for how long i would have continued.
I suddenly feel in good company. I got my start doing crazy things with PowerPoint and Excel because it was what I knew.
hey, there is an inherent fun in maing games/programs using things that were never meant to.
once i did a CPU/RAM emulator using excel, so you could see every bit.
it was fun to make loops, and programs
This is how I got into game development myself. I used to use Javascript to make dumb little interactive games in the early 2000s before it was ever meant to do such things, emulating what is now modern day HTML5 canvas and such
bes way to learn is by doing what you're not supposed to
True enough! Mistakes are the best teacher. That said, I'm still making games in Javascript to this day, so I guess you can say I haven't learned enough lol.
Are you me lol? I did exactly the same, and at some point I started computing how many slides I had to make to make anything larger and I pivoted. My dad didn't know this stuff but I also ended up at gamemaker
I coded basic games in PowerPoint using animations plus VBA. Not good.
I'm familiar with issues like this. Lots of copy/pasting with little edits here and there all the way down.