Code Monkey home page Code Monkey logo

somechess2's Introduction

Original Author: [email protected], 2006-09-21
Updated and adopted by: Marcel Hecko, [email protected], 2012-08-08

/***************************************************************************************
** "Some Chess" some rights reserved 2006
** Some Chess written by Jon Link
** Further hacked by Marcel Hecko (2012)
** 
** This program is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License
** as published by the Free Software Foundation; either version 2
** of the License, or (at your option) any later version.
** 
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
** GNU General Public License for more details.
** 
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
** 
** The images [prnqk][dl][dl].png are GPL, from Wikimedia Commons, see gpl.txt
**
** a small portion of the code to display the chess board was taken from
** phpChessBoard by Andreas Stieger http://www.wh-hms.uni-ulm.de/~tux/phpChessBoard/
*****************************************************************************************/


SomeChess2 is very easy to install, all you have to do is copy this folder & files 
to your website, popupalte and prepare MySQL database and edit the config.php file.

Requirements: PHP (tested with PHP 5.4), MySQL

INSTALLATION:
1)  	create your Some Chess database, somechess is the default in the config file, but you 
	can change the name to anything you'd like.

2) 	edit the example_config.php file with the proper info and rename the file config.php  
	The file has all the info you should need. Note: you should delete everything that is 
	commented out to make Some Chess run faster.

3) 	copy the Some Chess folder to your server

4) 	load the index page in your browser to auto-install the somechess tables. Alternatively 
	(or if auto-installation fails), you can manually create the tables using the included 
	"MYSQL" file. 
	
	Note: If you want a prefix on the tables AND are manually installing the tables you'll 
	need to add the prefix to the tables yourself by editing the MYSQL file.

5)	it is recommended that you delete these files after installation is complete files: 
		¥ MYSQL
		¥ MYSQL_UPDATE
		¥ install.php

6) 	login with username: admin password: admin (you should change this once you login)

Do not forget to change domain name in MySQL database table `options`! This is important for sending emails!

7) 	invite friends & play chess!


OPTIONAL:

8)	modify the admin options from the defaults as you'd like

9)	to use the backup function with cron enter the following in cron (w/out quotes)
	"php -q /YOUR/HOME/FOLDER/somechess/backup.php"



*If auto installation fails it is probably because of permissions and you will need to create 
the databases and tables manually if you are unfamiliar with this process I recommend going 
to the MySQL website and reading about "SQL Queries."  Or using a program like phpMyAdmin 
(if available).


hints:
http://www.phpmyadmin.net/
http://dev.mysql.com/doc/refman/5.0/en/create-database.html
http://dev.mysql.com/doc/refman/5.0/en/create-table.html

somechess2's People

Contributors

hecko avatar beli-sk avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar  avatar

somechess2's Issues

highlighting

when moving the piece, highlight which piece we are actually about to move - this is very important for touchscreen devices like ipads etc.

create a "poke" button

sends a player a message, that he is on his turn and the other player is waiting for him.

poking can be done only once a week per user for all his games and from all other users

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.