WordSearch

Submitted by: 
Language: 
Visitors have accessed this post 9382 times.

WordSearch is a word puzzle/game, as its name implies, that lets the player look for hidden words in a board. The words are given/known to the player which makes the game a bit easier to deal with, provided the board size is not that big to explore at and there are fewer words to search for. VB 6.0 was used to develop the game's front-end application and MYSQL facilitated its back-end for storing data such as the words used to create new puzzles and game sessions .


Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

It seems the data server setup is huge thus discouraging. I will be revising the program to use disk files instead of a database server to create, save and load puzzle data. By the way, if ever you find some bugs in the program, please let me know. My email address is [email protected]. Thank you once again...

Lao Tzu - “Give a man a fish and you feed him for a day. Teach a man how to fish and you feed him for a lifetime.”

Oelasor

The MySQL database server must be properly setup first for the application to run smoothly. You can download the
MySQL Community Server 5.1.63 @ http://www.mysql.com/downloads/mysql/5.1.html#downloads, the Connector/ODBC 5.1.11 @
http://www.mysql.com/downloads/connector/odbc/ and the MySQL Workbench 5.2.40 @ http://dev.mysql.com/downloads/workbench/.

When done installing all the MySQL software, configure the MySQL server and set the password to "ok" for the root user. Here's how:
1. Go to Start> MySQL> MySQL 5.1> MySQL Server Instance Config Wizard.
2. Just click the Next button several times until you are at the networking options page. Just leave the default Port number (3306) and tick the add firewall exception for this port.
3. Continue clicking the Next button until you are at the security options page. Enter the root password "ok" (I have hardcoded this in the program). Once again, click the Next button to continue.
4. At the execution page, click the Execute button and wait for the configuration process to finish and finally click the Finish button.

Assuming we have successfully configured our server, the next thing for us to do is to install/restore our database. Here's how:
1. Click Start> MySQL> MySQL WorkBench 5.2 CE.
2. Under the Server Administration panel, click the Server Administration.
3. On the Task and Object Browser pane, under the DATA EXPORT / RESTORE, click the Data Import/Restore.
4. On the Data Import/Restore window, click the Import from Disk tab. Tick the Import from Self-Contained File option and select the SQL file (WSTables.sql, this can be found inside the WordSearch folder) to import. Click the <...> button opposite to the File Path textbox entry to browse for the said file.
5. Click the Start Import button to start importing/restoring the database.

Try to run the application again. Just let me know if there are some things that need clarifications or elaborations. :)

Happy word searching...

Lao Tzu - “Give a man a fish and you feed him for a day. Teach a man how to fish and you feed him for a lifetime.”

Oelasor

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • You may insert videos with [video:URL]
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <th> <img> <h1> <h2> <h3> <iframe> [video]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.