Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
||||
|
||||
Word Scramble Game
This word scramble game is a modification of Kyttias's HiLo game! ~courtesy of Kyttias Word Scramble Game Demo: JSBin Preview Download: Compressed Folder View game at yoursite.com/wordscramble Please upload these files: games/.htaccess games/wordscramble/sendscore.php games/wordscramble/wordscramble.php games/wordscramble/wordscramble.css games/wordscramble/wordscramble.js wordscramble.php classes/class_cookies.php (replace the original file) view/wordscramble.php Create this table if you haven't: phpMyAdmin->SQL->paste Code:
CREATE TABLE IF NOT EXISTS `adopts_games` ( `gid` int(11) NOT NULL AUTO_INCREMENT, `game` varchar(30) NOT NULL, `username` varchar(30) NOT NULL, `plays` int(11) NOT NULL, `timestamp` int(11) NOT NULL, PRIMARY KEY (`gid`), UNIQUE KEY `key` (`gid`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=0; The script runs games/wordscramble/wordscramble.js not games/wordscramble/wordscramble_non.js. wordscramble.js is obfuscated for security: Re-obfuscate Edited Files Here. This game uses three filler words to unscramble! Don't forget to add more! To do so, edit the arrays at lines 8 and 40 in wordscramble_non.js. Then, obfuscate the code and paste it into wordscramble.js. Last edited by Hwona; 01-28-2016 at 04:54 PM. Reason: Fixed: Game ends regardless of plays left. I forgot to include one more file in the download: class_cookies. |
Tags |
games |
|
|
What's New? |
What's Hot? |
What's Popular? |