Making Chess in Unreal Engine for Chess Gacha | Devlog
ฝัง
- เผยแพร่เมื่อ 24 ก.ย. 2024
- Written article: continuebreak....
Patreon: / continuebreak
BuyMeACoffe: www.buymeacoff...
I used some clips from these content creators:
/ extraemily
/ emiru
/ pokimane
/ xqc
• Much Easier Than I Exp...
==========================================================
Join my Discord: / discord
Follow on
Twitter: / continuebreak
Instagram: / continuebreak
TikTok: / continuebreak
Facebook: / continuebreak
==========================================================
I'm really bad at chess. So I decided to make a gacha chess game in Unreal Engine 5 to get better at chess. So I tell in this devlog how my chess game creation went and what I learned etc.
#gacha #chess #unrealengine5 #unrealengine #indiegame #gamedevelopment #gamedev #devlog
Probably would've been easier to implement the board squares with 2 values (x, y) instead of 1-63... that way:
1) it's easier to know if you're out of bounds
2) simpler to calculate movement patterns because they will have a x rule and y rule (except for queens and knights who will have 2 x and 2 y rules each and pawns who have 3).
3) easier to implement a chess bot that already exists (ie stockfish) as the AIs all think about the board as (x, y) and will take in information in this format and give you moves in this format.
Good luck! 😝
Thanks for the tips!
I also thought about doing (x, y) as values for squares, but it was simply faster to set base movement logic using one value per square, and I thought that it might be better further in development to have a basic data type as an identifier for squares instead of having 2 values. Also, I have done some work before where I had to interpret a 1D array into 2D space, so I was pretty comfortable with doing it this way. But that's probably just my personal preference.
Also, I'm aware of chess engines. I'm so bad at chess that I can't even beat the easiest-setting stockfish. So I highly doubt that by being so bad at chess, I could make a somewhat reasonable chess bot.
Cant wait for the Gacha part
I'm not gonna lie, I was working on a chess Gacha game years ago, with customer tiles you can use on your side of the board and customer pieces. I figure it would do goo now a days, but I dropped working it a long while ago.
Yo I'm trying to figure out a way to make animations custom to each piece so it looks like wizard chess or something
Awesome video
Chess Evolved was a game on Kongregate that also had gatcha in it. You get stuff like a Lich piece.
But it wasn't 3D though
Goated Video, I somehow learned math.. and coding at the same time.
Can't wait for the AI to be implemented!
you forgot to do the gacha part
Hi bro, How did you solve the Queen has been pinned by Rook at 13.00
I'm looking in every direction from the king piece to see if there's a friendly piece. If there's a friendly piece, then I check if there's an enemy piece after it. If there's an enemy piece, I'm checking if it would attack my king if I removed that friendly piece from the way. Then, if a piece is pinned, I can look at what type of piece is pinned and determine which moves I should allow for the pinned piece. I have heard that some people do it in a simpler way by just testing all possible moves for a piece and seeing if a move is making your king checked and if it's checked, then you simply invalidate that move.
@@ContinueBreak Thanks for the explanation
I feel like everything would have been 10 times easier if you used X/Y axis instead of numbering the files
Hey Continue Break!
I wanted to ask you if you are interested on working with the most trendy games in AVALANCHE gaming space?
What's the AVALANCHE gaming space?
@@ContinueBreak Ohh its an comapny made by AVAX, one of the biggest and richest blockchain in the crypto space
@@ContinueBreak Its a big company made by Avax
@@ContinueBreak Im still the same one haha, Avalanche gaming space is big community made by AVAX
I wanna try it