{"id":61,"date":"2016-02-09T01:47:23","date_gmt":"2016-02-09T01:47:23","guid":{"rendered":"http:\/\/intelligentonlinetools.com\/blog\/?p=61"},"modified":"2016-03-11T02:25:32","modified_gmt":"2016-03-11T02:25:32","slug":"maze-games-with-perl-modules-from-cpan","status":"publish","type":"post","link":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/09\/maze-games-with-perl-modules-from-cpan\/","title":{"rendered":"Maze Games with Perl Modules from CPAN"},"content":{"rendered":"<p>As stated on CPAN [1] the perl module Games::Maze creates mazes. You can create 3-dimensional rectangular or hexagonal mazes and then manipulate maze objects using the available methods. <\/p>\n<p>This module has to_ascii() method that allows to print maze view from command prompt or get the string which will describe the maze. The new line in this string will separate rows of the maze. The walls will be marked some characters like underscore and &#8220;:&#8221;. <\/p>\n<p>There is also another module Games::Maze::SVG [2] which can build mazes in SVG using Games::Maze. The Games::Maze::SVG module supports the creation of 2-dimensional mazes in an SVG format suitable for printing or playing interactively. <\/p>\n<p>So if you like creating maze perl has modules to make this job very easy. <\/p>\n<p>1.<a href=\"http:\/\/search.cpan.org\/dist\/Games-Maze\/lib\/Games\/Maze.pm\">Games::Maze<\/a><\/p>\n<p>2.<a href=\"http:\/\/search.cpan.org\/dist\/Games-Maze-SVG-0.75\/\">Games::Maze::SVG<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As stated on CPAN [1] the perl module Games::Maze creates mazes. You can create 3-dimensional rectangular or hexagonal mazes and then manipulate maze objects using the available methods. This module has to_ascii() method that allows to print maze view from command prompt or get the string which will describe the maze. The new line in &#8230; <a title=\"Maze Games with Perl Modules from CPAN\" class=\"read-more\" href=\"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/09\/maze-games-with-perl-modules-from-cpan\/\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":[]},"categories":[7],"tags":[],"jetpack_publicize_connections":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Maze Games with Perl Modules from CPAN - Machine Learning Applications<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/09\/maze-games-with-perl-modules-from-cpan\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Maze Games with Perl Modules from CPAN - Machine Learning Applications\" \/>\n<meta property=\"og:description\" content=\"As stated on CPAN [1] the perl module Games::Maze creates mazes. You can create 3-dimensional rectangular or hexagonal mazes and then manipulate maze objects using the available methods. This module has to_ascii() method that allows to print maze view from command prompt or get the string which will describe the maze. The new line in ... Read more\" \/>\n<meta property=\"og:url\" content=\"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/09\/maze-games-with-perl-modules-from-cpan\/\" \/>\n<meta property=\"og:site_name\" content=\"Machine Learning Applications\" \/>\n<meta property=\"article:published_time\" content=\"2016-02-09T01:47:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-03-11T02:25:32+00:00\" \/>\n<meta name=\"author\" content=\"owygs156\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"owygs156\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/09\/maze-games-with-perl-modules-from-cpan\/\",\"url\":\"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/09\/maze-games-with-perl-modules-from-cpan\/\",\"name\":\"Maze Games with Perl Modules from CPAN - Machine Learning Applications\",\"isPartOf\":{\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/#website\"},\"datePublished\":\"2016-02-09T01:47:23+00:00\",\"dateModified\":\"2016-03-11T02:25:32+00:00\",\"author\":{\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/#\/schema\/person\/7a886dc5eb9758369af2f6d2cb342478\"},\"breadcrumb\":{\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/09\/maze-games-with-perl-modules-from-cpan\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/09\/maze-games-with-perl-modules-from-cpan\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/09\/maze-games-with-perl-modules-from-cpan\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/intelligentonlinetools.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Maze Games with Perl Modules from CPAN\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/#website\",\"url\":\"http:\/\/intelligentonlinetools.com\/blog\/\",\"name\":\"Machine Learning Applications\",\"description\":\"Artificial intelligence, data mining and machine learning for building web based tools and services.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/intelligentonlinetools.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/#\/schema\/person\/7a886dc5eb9758369af2f6d2cb342478\",\"name\":\"owygs156\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/intelligentonlinetools.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/2.gravatar.com\/avatar\/b351def598609cb4c0b5bca26497c7e5?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/2.gravatar.com\/avatar\/b351def598609cb4c0b5bca26497c7e5?s=96&d=mm&r=g\",\"caption\":\"owygs156\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Maze Games with Perl Modules from CPAN - Machine Learning Applications","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/09\/maze-games-with-perl-modules-from-cpan\/","og_locale":"en_US","og_type":"article","og_title":"Maze Games with Perl Modules from CPAN - Machine Learning Applications","og_description":"As stated on CPAN [1] the perl module Games::Maze creates mazes. You can create 3-dimensional rectangular or hexagonal mazes and then manipulate maze objects using the available methods. This module has to_ascii() method that allows to print maze view from command prompt or get the string which will describe the maze. The new line in ... Read more","og_url":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/09\/maze-games-with-perl-modules-from-cpan\/","og_site_name":"Machine Learning Applications","article_published_time":"2016-02-09T01:47:23+00:00","article_modified_time":"2016-03-11T02:25:32+00:00","author":"owygs156","twitter_card":"summary_large_image","twitter_misc":{"Written by":"owygs156","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/09\/maze-games-with-perl-modules-from-cpan\/","url":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/09\/maze-games-with-perl-modules-from-cpan\/","name":"Maze Games with Perl Modules from CPAN - Machine Learning Applications","isPartOf":{"@id":"http:\/\/intelligentonlinetools.com\/blog\/#website"},"datePublished":"2016-02-09T01:47:23+00:00","dateModified":"2016-03-11T02:25:32+00:00","author":{"@id":"http:\/\/intelligentonlinetools.com\/blog\/#\/schema\/person\/7a886dc5eb9758369af2f6d2cb342478"},"breadcrumb":{"@id":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/09\/maze-games-with-perl-modules-from-cpan\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/09\/maze-games-with-perl-modules-from-cpan\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/09\/maze-games-with-perl-modules-from-cpan\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/intelligentonlinetools.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Maze Games with Perl Modules from CPAN"}]},{"@type":"WebSite","@id":"http:\/\/intelligentonlinetools.com\/blog\/#website","url":"http:\/\/intelligentonlinetools.com\/blog\/","name":"Machine Learning Applications","description":"Artificial intelligence, data mining and machine learning for building web based tools and services.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/intelligentonlinetools.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/intelligentonlinetools.com\/blog\/#\/schema\/person\/7a886dc5eb9758369af2f6d2cb342478","name":"owygs156","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/intelligentonlinetools.com\/blog\/#\/schema\/person\/image\/","url":"http:\/\/2.gravatar.com\/avatar\/b351def598609cb4c0b5bca26497c7e5?s=96&d=mm&r=g","contentUrl":"http:\/\/2.gravatar.com\/avatar\/b351def598609cb4c0b5bca26497c7e5?s=96&d=mm&r=g","caption":"owygs156"}}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7h1IJ-Z","jetpack-related-posts":[{"id":27,"url":"http:\/\/intelligentonlinetools.com\/blog\/2016\/01\/31\/tic-tac-toe-game-programming-with-perl-module-gamestictactoe\/","url_meta":{"origin":61,"position":0},"title":"Tic-Tac-Toe  Game Programming with Perl Module Gamestictactoe","date":"January 31, 2016","format":false,"excerpt":"Tic Tac Toe game can be also programmed with the perl module from CPAN. Only a few line of code and the game is ready to play. How it can be done? First assuming the perl is already installed and this is a Windows operating system type ppm from command\u2026","rel":"","context":"In &quot;Perl Scripts&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4,"url":"http:\/\/intelligentonlinetools.com\/blog\/2016\/01\/30\/making-tree-map-chart\/","url_meta":{"origin":61,"position":1},"title":"Making Tree Map Chart","date":"January 30, 2016","format":false,"excerpt":"In information visualization and computing, treemapping is a method for displaying hierarchical data by using nested rectangles.[1] Below will be discussed some ways how to create tree map chart. 1. Google Code You can create tree map with Google chart tools. The example can be found on Google Code.[2] You\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":123,"url":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/calculating-indicators-for-stock-data-forecasting\/","url_meta":{"origin":61,"position":2},"title":"Calculating Indicators for Stock Data Forecasting","date":"February 20, 2016","format":false,"excerpt":"In the previous posts was shown how to download stock data into Google spreadsheet using perl script. Here we will look how to add other data indicators based on downloaded stock data prices and volume. The use for stock data prediction of such indicators based on stock data that is\u2026","rel":"","context":"In &quot;Stock data analysis&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":125,"url":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/20\/calculating-indicators-for-stock-data-forecasting-2\/","url_meta":{"origin":61,"position":3},"title":"Calculating Indicators for Stock Data Forecasting","date":"February 20, 2016","format":false,"excerpt":"In the previous posts was shown how to download stock data into Google spreadsheet using perl script. Here we will look how to add other data indicators based on downloaded stock data prices and volume. The use for stock data prediction of such indicators based on stock data that is\u2026","rel":"","context":"In &quot;Stock data analysis&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":383,"url":"http:\/\/intelligentonlinetools.com\/blog\/2016\/07\/03\/getting-the-data-from-the-web-using-php-for-api-using-the-api-with-php\/","url_meta":{"origin":61,"position":4},"title":"Getting the Data from the Web using PHP or Python for API","date":"July 3, 2016","format":false,"excerpt":"In the previous posts [1],[2] perl was used to get content from the web through Faroo API and Guardian APIs. In this post PHP and Pyhton will be used to get web data using same APIs. PHP has a powerful JSON parsing mechanism, which, because PHP is a dynamic language,\u2026","rel":"","context":"In &quot;API Programming&quot;","img":{"alt_text":"Trend for Python, Perl, PHP","src":"https:\/\/i0.wp.com\/intelligentonlinetools.com\/blog\/wp-content\/uploads\/2016\/07\/trend_for_python_perl_php-300x144.png?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":76,"url":"http:\/\/intelligentonlinetools.com\/blog\/2016\/02\/13\/downloading-stock-market-data-to-a-google-spreadsheet-with-a-perl-script\/","url_meta":{"origin":61,"position":5},"title":"Downloading Stock Market Data to a Google Spreadsheet with a Perl Script","date":"February 13, 2016","format":false,"excerpt":"In this post will be shown how to download stock market with perl script into Google spreadsheet. Once the data is loaded in Google spreadsheet you can do trend or forecasting analysis and build charts using Google Docs functionality. Perl script helps to automate downloading process, to replace manual downloading\u2026","rel":"","context":"In &quot;Stock data analysis&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/posts\/61"}],"collection":[{"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/comments?post=61"}],"version-history":[{"count":3,"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/posts\/61\/revisions"}],"predecessor-version":[{"id":63,"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/posts\/61\/revisions\/63"}],"wp:attachment":[{"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/media?parent=61"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/categories?post=61"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/intelligentonlinetools.com\/blog\/wp-json\/wp\/v2\/tags?post=61"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}