2. Design Overview
Dr. Finkel has built an application that greatly
reduces the amount of effort needed to create logic
puzzles that currently has a front-end system that
must be run on a Unix machine that has several Perl
modules and other solving software installed upon
it, our goal is to create a new front-end system that is
web-based and inherently cross platform. We plan to
use a mixture of PHP, Javascript, and a simple MYSQL
database to implement this.
3. Environment
• PHP : To interface with the programs that are
running on the server
• JavaScript : Used for syntax checking
• MYSQL : Used for saving a loading files
4. Use Cases
• Registration • Consistent Clues
• Login • Extraneous Clues
• Desired Puzzle • Unique Solution
• Add Clues
• Help
• Load
• Save
5. Modules
• FrontEnd
HTML/PHP
Generates CL code from user input
• SyntaxCheck
Javascript
Checks syntax of individual clues
• BackEnd (Treated as a “blackbox”)
Perl, C++
Returns solutions based on CL code
6. Modules
• Login
HTML, PHP, Javascript
Checks if the user name and password fields are filled in, then
checks the mySQL data base for the entry
• Load
HTML, PHP, Javascript
Checks if the user has access to the specified file and then
retrieves the file