Showing posts with label demo. Show all posts
Showing posts with label demo. Show all posts

Monday, June 1, 2009

Anagram Generation

Heres a simple algorithm I developed to test if a word can be made out of the given letters.

  1. Fill a 255 sized array with zeroes
  2. Loop through the given letters, converting them to ascii and then incrementing that location in the array
  3. Get a word from the dictionary file
  4. Do steps 1 and 2 again with the word from the dictionary file.
  5. If any of the locations in the second array are bigger than the 1st, the word is not an anagram
  6. Else, add the word a list
  7. Go back to step 3 untill you are out of words in the dictionary file.

Edit:

Heres a proof of concept for that algorithm. I also made a little bot to type it for you. I'd suggest having a copy of notepad running when you use this.

source code and dictionary file included.
http://www.megaupload.com/?d=A1XVC576

Thursday, May 28, 2009

Demo Rising


Okay, so a beta Demo of Maze Plus should be up soon. Its just one level. The Menu systems aren't implemented yet, so its just a preview of the puzzle system and the graphics, which still need tweaked a bit.
Please realize that this is an early work in progress, and I'll probably release another version before the final project's released. See 2 posts ago with the road map for more info on this.


UPDATE:
The beta demo is now available for download. Post on the comments for this post for any problems/questions/bug reports.

link: http://www.megaupload.com/?d=45MINNBI