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;
Modifying Game Code (Advised):
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.