# Chess Ai

**URL:** <https://forum.kirupa.com/t/chess-ai/101462>\
**Category:** Uncategorized\
**Created:** [February 10, 2004, 3:43am UTC](https://forum.kirupa.com/t/chess-ai/101462 "2004-02-10T03:43:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![zylum](https://avatars.discourse-cdn.com/v4/letter/z/d26b3c/32.png) [@zylum](https://forum.kirupa.com/u/zylum)\
**Post date:** [February 10, 2004, 3:43am UTC](https://forum.kirupa.com/t/chess-ai/101462/1 "2004-02-10T03:43:30Z")

</div>

hi all!!!

i just started my ISU for my programming class and i decided i want to make a chess game… i was wondering how i should go about programming the AI (no specific code required, just general steps to take etc.)

I was thinking of using the minimax algorithm to determine the next move for the computer and using the bitboard method of storing all the positions of the peices on the board.

any help would be appreciated,

mike

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 21, 2004, 1:28pm UTC](https://forum.kirupa.com/t/chess-ai/101462/2 "2004-02-21T13:28:09Z")

</div>

Basically what Marz said. You have to try all the possible moves, and assess the situation after each move. And then play the best move.
