Random Chess

Computer

You

What is this?

Random Chess is a simple game where you play chess against a computer opponent that makes completely random moves. The computer is not intelligent at all, so you should be able to win!

I wrote this because I like chess and Javascript, and also just because I can.

Game Details

This game leaves out some of the lesser-used chess rules, because basically it's for fun, and I didn't see the need to go through the trouble of making it 100% complete. So “en passant” is not implemented. There is no ability to resign. There is no draw after threefold repetition rule, there is no draw after fifty moves rule. However castling is of course implemented, and Pawns are automatically promoted to Queens when reaching the other side of the board.

Checkmate and stalemate are recognized.

View the Javascript code

Who made this?

Hi, I'm Daniel Evilsizor. I've enjoyed playing with web development for more than 10 years now. My website is daniel.evilsizors.com.

If you like, submit any bug reports you have to [email protected].

License

If for some reason you would like to modify or redistribute this code, the Javascript code is licensed under the MIT License.

The chess icon images are a modified version of this chess icon clipart set , which is in the public domain.