How do I make an AI for Player vs. AI mode (I am not planning to make a PvP model since I have not learnt networking on UE5 yet.)…(This one is a big problem, please help me with this one if you can.)
Actually, I am still just a learner, I started working on UE5 just 2 Months ago. I have taken an interest to game designing in UE5 through blueprints. But I still do have a lot of problems when something comes up that has no solutions on the internet.
Your question is too vague, your ambition - too grand
First I would encourage you to make pieces on a board that you can move. Don’t bother with valid moves or with taking. Just select them and move them on the board.
Next make the AI use your movement system - forget the actual “intelligence” - make it move at random.
For the networking - make the player send their moves to the server through “RunOnServer” events and make the server move replicated actors around. …oh and read this.
Try a few things on your own, go through a few tutorials and get back when you have some actual problems and code/blueprints.
Most of all - temper your expectations and arm your self with patience. There will be a lot of reading especially if you are still learning
Hey there @Madhav1008! Welcome to the community! There’s many ways to go about all of this, so I’ll leave some resources, and you can choose whichever one suits you best.
Chess tutorial series (somewhat dated):
Chess Board Logic simplified but the author has more videos on his game (but it’s a devlog for a different game):
A thread where I also provided some other chess related resources:
Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.