Thread: Mys 1.3.4 Word Scramble Game
View Single Post
  #1  
Old 01-27-2016, 10:42 PM
Hwona's Avatar
Hwona Hwona is offline
Member
 
Join Date: Mar 2013
Posts: 620
Gender: Female
Credits: 49,096
Hwona is on a distinguished road
Default 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;
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.

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.
Reply With Quote