Skip to main content

Simple Chess

Just a simple chess game. No AI so it must be played two player. Comes with source code.

Jeremy Gagnier
This currently is a rather useless program without AI or some form of online multiplayer, but I made it in 7 hours as a demonstration of my abilities and I might add an AI later.



Home Page


Simple Chess 1.0.0 — 23 May, 2013

Simple Chess 1.0.1 — 1 Aug, 2013 account Comments

  • Douglas Blank 2013-05-29 21:05

    Here is some code in pure-Python to play chess:

    Remove the references to Myro, Graphics and gplay and you can play randomPlayer1 vs. randomPlayer2. I can send you a player that plays pretty well. Here are some additional notes:

    Have fun!

    jer 2013-06-02 00:12

    Coincidentally, that code works in a very similar way to mine!

  • Keith 2013-07-22 12:54

    The chessboard is wrong.. the king and queen need to be switched

    DoomLord 2013-08-01 21:34

    You are correct... I have no idea how I missed that

  • drx 2015-02-09 22:43

    isn't there castling?

    garyg 2019-11-27 03:24

    I see that when Keith reported king and queen needed to be switched on 2013-07-22, Jeremy made the correction too hastily and broke castling. I have that fixed in my copy. Also, I've replaced dozens of "magic numbers" with variables, and accordingly am running it at about twice the size, to use most of my 1920x1080 display. (It also makes the code a lot more self-documenting.)
  • Nika 2015-04-20 17:18

    use it to teach joshua humility