{"id":59,"date":"2026-01-09T15:09:11","date_gmt":"2026-01-09T15:09:11","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/r_najim\/?p=59"},"modified":"2026-01-09T15:09:11","modified_gmt":"2026-01-09T15:09:11","slug":"friday-january-9-2026","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/r_najim\/2026\/01\/09\/friday-january-9-2026\/","title":{"rendered":"Friday January, 9, 2026"},"content":{"rendered":"\n<p>             Today This Free Friday I am Working on a project on YouTube a\u00a0Shortest path finder<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.youtube.com\/watch?v=NpmFbWO6HPU&amp;t=16626s\">https:\/\/www.youtube.com\/watch?v=NpmFbWO6HPU&amp;t=16626s<\/a><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>maze = &#91;\n       &#91;\"#\", \"#\", \"#\", \"#\", \"#\", \"O\", \"#\", \"#\", \"#\"],\n       &#91;\"#\", \" \", \" \", \" \", \" \", \" \", \" \", \" \", \"#\"],\n       &#91;\"#\", \" \", \"#\", \"#\", \" \", \"#\", \"#\", \" \", \"#\"],\n       &#91;\"#\", \" \", \"#\", \" \", \" \", \" \", \"#\", \" \", \"#\"],\n       &#91;\"#\", \" \", \"#\", \" \", \"#\", \" \", \"#\", \" \", \"#\"],\n       &#91;\"#\", \" \", \"#\", \" \", \"#\", \" \", \"#\", \" \", \"#\"],\n       &#91;\"#\", \" \", \"#\", \" \", \"#\", \" \", \"#\", \"#\", \"#\"],\n       &#91;\"#\", \" \", \" \", \" \", \" \", \" \", \" \", \" \", \"#\"],\n       &#91;\"#\", \"#\", \"#\", \"#\", \"#\", \"#\", \"#\", \"x\", \"#\"]\n]<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>This is the code for the maze that is in the Shortest path finder.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>def print_maze(maze,stdscr, path=&#91;]):\n    BLUE = curses.color_pair(1)\n    RED = curses.color_pair(2)\n\n    for i, row in enumerate(maze):\n        for j, value in enumerate(row):\n            stdscr.addstr(i, j*2, value)\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>This part of the code is for to color the path and for the row that are in the maze.<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>def main(stadscr):\n    curses.int_pair(1, curses.COLOR_BLUE, curses.COLOR_BLACK)\n    curses.int_pair(1, curses.COLOR_RED, curses.COLOR_BLACK)\n    \n\n    stdscr.clear()\n    print_maze(maze, stdscr)\n    stdscr.refresh()\n    stdscr.getch()\n\nwrapper(main)<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>This part of the code is the code for to color the maze and get user and to color the screen for the maze.<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today This Free Friday I am Working on a project on YouTube a\u00a0Shortest path finder<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-59","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/r_najim\/wp-json\/wp\/v2\/posts\/59","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theroyalscode.com\/students\/r_najim\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theroyalscode.com\/students\/r_najim\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/r_najim\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/r_najim\/wp-json\/wp\/v2\/comments?post=59"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/r_najim\/wp-json\/wp\/v2\/posts\/59\/revisions"}],"predecessor-version":[{"id":60,"href":"https:\/\/theroyalscode.com\/students\/r_najim\/wp-json\/wp\/v2\/posts\/59\/revisions\/60"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/r_najim\/wp-json\/wp\/v2\/media?parent=59"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/r_najim\/wp-json\/wp\/v2\/categories?post=59"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/r_najim\/wp-json\/wp\/v2\/tags?post=59"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}