{"id":433,"date":"2009-12-14T21:05:18","date_gmt":"2009-12-14T21:05:18","guid":{"rendered":"http:\/\/www.codingfriends.com\/?page_id=433"},"modified":"2010-01-15T15:10:16","modified_gmt":"2010-01-15T15:10:16","slug":"word-search","status":"publish","type":"page","link":"https:\/\/www.codingfriends.com\/index.php\/projects\/word-search\/","title":{"rendered":"Word search"},"content":{"rendered":"<p>This project is about word searching, the game of that is.  I am going to outline the basic structure of how the project is going to be completed and then do a separate version in each language that I have a main interest in.  That is c++, c# (c sharp), php are the main 3 and also in ruby and any others that I may come across on my web travels.<\/p>\n<p>Word searching basic idea :-<\/p>\n<p>There will be a n * n grid<\/p>\n<p>Array of words to be searched (6 words as a base)<\/p>\n<p>Use a dictionary of word, use a XML file(s), if anyone else wants to add more XML word search files then they can add to the words directory and the program will search this directory.<\/p>\n<p>plot onto the grid the words, forwards, backwards, diagonal, up and down.<\/p>\n<p>whilst creating the grid of words, try and use some of the other letters if possible from the other words.<\/p>\n<p>Create a grid of letters (randomize) and then insert words into the grid .. and if over lap a word already check and move if a letter is in the same words<\/p>\n<p>Of course words cannot be any longer than n letters.<\/p>\n<p>Use a base class for each part of the project\/game and then extended from it.<\/p>\n<p>If anyone else has anymore parts that they can think off just say (if you use the <a href=\"http:\/\/www.codingfriends.com\/index.php\/contact-me\/\">contact me<\/a> page), I will link to here the different posts for different aspects of the whole game on this page, because what I am going to do is to do the game in parts in each topic area, e.g. c++ and then just have small parts that will function by themselves.<\/p>\n<p>Here are the basic classes ideas that I have come up with.<\/p>\n<p>Words &#8211; this will load the words and also create the search-able word list from the loads that have been loaded.<br \/>\nGrid &#8211; this will create a n * n grid and place randomize characters onto it.<br \/>\nWordToSearchGrid &#8211; extends the Grid class and includes the Words class to insert the words into a randomized points on the grid.<\/p>\n<p>PHP Versions of the above classes.<br \/>\n<a href=\"http:\/\/www.codingfriends.com\/index.php\/2010\/01\/05\/wordsearch-php-words-to-search-for\/\">Word<\/a><br \/>\n<a href=\"http:\/\/www.codingfriends.com\/index.php\/2010\/01\/04\/wordsearch-php-grid-class\/\">Grid<\/a><br \/>\n<a href=\"http:\/\/www.codingfriends.com\/index.php\/2010\/01\/04\/wordsearch-php-grid-class\/\">WordToSearchGrid<\/a><\/p>\n<p>The c# (c sharp) versions of the above classes.<br \/>\n<a href=\"http:\/\/www.codingfriends.com\/index.php\/2010\/01\/13\/wordsearch-c-word-class-2\/\">Word<\/a><br \/>\n<a href=\"http:\/\/www.codingfriends.com\/index.php\/2010\/01\/12\/wordsearch-c-word-class\/\">Grid<\/a><br \/>\n<a href=\"http:\/\/www.codingfriends.com\/index.php\/2010\/01\/14\/wordseach-c-wordtosearchgrid\/\">WordToSearchGrid<\/a><\/p>\n<p>as a aside project I am going to write a small XML reader in c++ on this project page, <a href=\"http:\/\/www.codingfriends.com\/index.php\/projects\/xml-reader-cpp\/\">XML reader for c++<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This project is about word searching, the game of that is. I am going to outline the basic structure of how the project is going to be completed and then do a separate version in each language that I have a main interest in. That is c++, c# (c sharp), php are the main 3 &hellip; <a href=\"https:\/\/www.codingfriends.com\/index.php\/projects\/word-search\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Word search<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":34,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-433","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/pages\/433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/comments?post=433"}],"version-history":[{"count":10,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/pages\/433\/revisions"}],"predecessor-version":[{"id":532,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/pages\/433\/revisions\/532"}],"up":[{"embeddable":true,"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/pages\/34"}],"wp:attachment":[{"href":"https:\/\/www.codingfriends.com\/index.php\/wp-json\/wp\/v2\/media?parent=433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}