local multiplayer chess game that can be saved
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
chessboard-0.1.0
css
img
js
server
.gitignore
Gruntfile.js
LICENSE.md
README.md
chess.js
chess.min.js
favicon.ico
index.html
package.json
respond.php

README.md

#Chess

Demo

Installation.

In the "server" folder create a file named "database_config.php" with your mysql database connection settings.

<?php
//database connection settings
define("DATABASE_HOST", "your_host");
define("DATABASE_NAME", "database_name");
define("DATABASE_USER", "database_user");
define("DATABASE_PASS", "database_password");
?>

Then import the table defined in the file server/install.sql into your database.

You may also need to adjust the variable "URL_ROOT" in js/controller.js. Changes to Javascript files will need to be updated using the grunt command (be sure to have npm and grunt installed, and then run npm install from the projects root folder)

You should be able to save a game to the server, and then load that same game, using the supplied game id.