Hello! We met yet again in another thread. I am wondering if it’s possible to make a game where the player goes against ai like a chess game for example in which the player and ai take turns. I am aure this might be had but I qas just wondering; and if it’s possible to do it with #c, is there any good tutorial for it?
The algorithm you want to read up on for this sort of game is called “minimax, with alpha-beta pruning.” You can find some brief tutorials about it here and here (caution: hurts the eyes), and some C# implementations here and here.
But Jeffrey’s right, this may be a bit challenging for a beginner. If however you already have some programming experience, then these references ought to get you started.