I have created a drag & drop chess game for Drupal 7 that allows 2 people to play a game of chess online. At this point there is no identity checking, which means that you can go to the site and move pieces around on the admin vs admin game without having to register and log in.

Castling, en passant moves, and pawn promotion have all been implemented, so you can play a real game. And although anyone can move the pieces (and reset the game), moves are checked for legality (the pieces simply bounce back when an illegal move is attempted).

I intend to wait for feedback from users (there is always an outside chance that a bug is lurking somewhere) before implementing user identity checking. So please feel free to reset the admin vs admin game, and then play both sides to get a feel for it.

Of course you can always register and log in to create a game of your own.

Here's a link to the site: Click me

Comments

lahode’s picture

Hi,

I got the following issue on your site:

PDOException: SQLSTATE[42000] [1044] Access denied for user 'carlsper_admin'@'localhost' to database 'carlsper_d77game' in lock_may_be_available() (line 164 of /home1/carlsper/public_html/d77game/includes/lock.inc).

Cheers

Fredrik Lahode
Développeur et Formateur web indépendant