Join @jwunderl, @richard, and me as we start making a chess game! In this stream, we created the board using an 8x8 tilemap and a bunch of sprites. We started coding the movement patterns for the bishop too. Let me know if you enjoyed watching us do chess! Cus I’ll keep doing it if you guys don’t hate it this is my horiticulture game
Haha yes, chess is my game, I get Goku flames raising up from me when someone challenges me to chess, and I say, “Well, then, I’ll go easy on you” and I try my hardest to feel sorry for my poor opponent (unless it’s my dad, he plays so good it makes me want to cry)
Am I doing this right? I’m a bit fuzzy about the rules of chess
(This strains the 3D renderer a good bit beyond what it’s currently capable of, so expect glitches. It’s just a quick hack for fun, but I guess I could use it as a stress test for future development?)
There are no special moves yet, like pawns can move twice on their first move, en passant, casting, or promotion. And also it doesn’t care if your king dies yet or if it goes in a spot that’s “under attack” or whatever it’s called. If the chessboard shakes, it’s because you are doing something wrong, like clicking on an invalid spot or trying to move someone else’s pieces.
Oops, when I try to install v0.12 on my PyGamer, the compiler crashes with an assertion failure. Apparently it doesn’t like how I wrapped everything in a big function for an embedding experiment. Here’s a fixed version, with options to adjust the piece count and number of rotational segments which help in case you want the luxury of occasional double-digit framerates: https://makecode.com/_aFKb1UFEjCyC