Hello everyone !! I want to make a chess related game in UE5. But I what I cant Figure out is how to Make My Chess Pawns move ??? And How the Hell I make an AI to for a Player vs. AI template of the game ????

Basically what i am having problem with is,

  1. How do I define valid moves for my pawns.
  2. 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.

Please Please Help me if you have any idea.

Your question is too vague, your ambition - too grand :wink:

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 :wink: