{"id":23,"date":"2020-08-19T23:40:00","date_gmt":"2020-08-19T18:10:00","guid":{"rendered":"https:\/\/manik.in\/site\/?page_id=23"},"modified":"2020-08-20T10:08:07","modified_gmt":"2020-08-20T04:38:07","slug":"pygame","status":"publish","type":"page","link":"https:\/\/manik.in\/site\/pygame\/","title":{"rendered":"Pygame"},"content":{"rendered":"<div id=\"pl-23\"  class=\"panel-layout\" ><div id=\"pg-23-0\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-23-0-0\"  class=\"panel-grid-cell\" ><div id=\"panel-23-0-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"0\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t><h3 class=\"widget-title\">Introduction<\/h3>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p>Installation of Pygame with Pycharm<\/p>\n<\/div>\n<\/div><\/div><\/div><div id=\"pgc-23-0-1\"  class=\"panel-grid-cell\" ><div id=\"panel-23-0-1-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"1\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p><a href=\"https:\/\/www.youtube.com\/watch?v=7x34iCaKUtc\">https:\/\/www.youtube.com\/watch?v=7x34iCaKUtc<\/a><\/p>\n<\/div>\n<\/div><\/div><\/div><\/div><div id=\"pg-23-1\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-23-1-0\"  class=\"panel-grid-cell\" ><div id=\"panel-23-1-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"2\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-3\" class=\"h5p-iframe\" data-content-id=\"3\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Pygame Installation\"><\/iframe><\/div>\n<\/div>\n<\/div><\/div><\/div><\/div><div id=\"pg-23-2\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-23-2-0\"  class=\"panel-grid-cell\" ><div id=\"panel-23-2-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"3\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t><h3 class=\"widget-title\">Basics of Pygame<\/h3>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p>Running simple Pygame programs which do almost nothing.<\/p>\n<\/div>\n<\/div><\/div><\/div><div id=\"pgc-23-2-1\"  class=\"panel-grid-cell\" ><div id=\"panel-23-2-1-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"4\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p><a href=\"https:\/\/www.youtube.com\/watch?v=yS5wCwy43Qo\">https:\/\/www.youtube.com\/watch?v=yS5wCwy43Qo<\/a><\/p>\n<\/div>\n<\/div><\/div><\/div><\/div><div id=\"pg-23-3\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-23-3-0\"  class=\"panel-grid-cell\" ><div id=\"panel-23-3-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"5\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-4\" class=\"h5p-iframe\" data-content-id=\"4\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Basic concepts related to Pygame\"><\/iframe><\/div>\n<\/div>\n<\/div><\/div><\/div><\/div><div id=\"pg-23-4\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-23-4-0\"  class=\"panel-grid-cell\" ><div id=\"panel-23-4-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"6\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t><h3 class=\"widget-title\">A very simple program<\/h3>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p>A demonstration of a simple program showing the structure of Pygame programming.<\/p>\n<\/div>\n<\/div><\/div><\/div><div id=\"pgc-23-4-1\"  class=\"panel-grid-cell\" ><div id=\"panel-23-4-1-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"7\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p><a href=\"https:\/\/www.youtube.com\/watch?v=FYmdqrmBFFc\">https:\/\/www.youtube.com\/watch?v=FYmdqrmBFFc<\/a><\/p>\n<\/div>\n<\/div><\/div><\/div><\/div><div id=\"pg-23-5\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-23-5-0\"  class=\"panel-grid-cell\" ><div id=\"panel-23-5-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"8\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-5\" class=\"h5p-iframe\" data-content-id=\"5\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Line Drawing using Mouse\"><\/iframe><\/div>\n<\/div>\n<\/div><\/div><\/div><\/div><div id=\"pg-23-6\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-23-6-0\"  class=\"panel-grid-cell\" ><div id=\"panel-23-6-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"9\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"eclipse\">import pygame\n#initialization\npygame.init()\n#create the screen\nscreen=pygame.display.set_mode((300,300))\nwindowrunning = True\nwhile windowrunning:    #main loop\n    for event in pygame.event.get():    #event loop\n        if event.type == pygame.QUIT:\n            windowrunning=False\n        if event.type == pygame.MOUSEBUTTONDOWN:\n            mousex, mousey = pygame.mouse.get_pos()\n            print(\"ButtonDown\" + \" \" + str(mousex) + \" \" + str(mousey))\n            pygame.draw.circle(screen, (255, 0, 0), (mousex, mousey), 5, 1)\n            pygame.display.update()\n        if event.type == pygame.MOUSEMOTION:\n            mousex, mousey = pygame.mouse.get_pos()\n            pygame.draw.circle(screen, (255, 255, 255), (mousex, mousey), 1, 1)\n            pygame.display.update()\npygame.display.quit()\npygame.quit()<\/pre>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div><\/div><\/div><\/div><div id=\"pg-23-7\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-23-7-0\"  class=\"panel-grid-cell\" ><div id=\"panel-23-7-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"10\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t><h3 class=\"widget-title\">Pygame Simple Drawing Application<\/h3>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p>If the line is a sequence of dots then this is a drawing application. Pretty useless but a stepping stone.<\/p>\n<\/div>\n<\/div><\/div><\/div><div id=\"pgc-23-7-1\"  class=\"panel-grid-cell\" ><div id=\"panel-23-7-1-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"11\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p><a href=\"https:\/\/www.youtube.com\/watch?v=zC4rvKKti2s\">https:\/\/www.youtube.com\/watch?v=zC4rvKKti2s<\/a><\/p>\n<\/div>\n<\/div><\/div><\/div><\/div><div id=\"pg-23-8\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-23-8-0\"  class=\"panel-grid-cell\" ><div id=\"panel-23-8-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"12\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-1\" class=\"h5p-iframe\" data-content-id=\"1\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Interactive Pygame Prog 2\"><\/iframe><\/div>\n<\/div>\n<\/div><\/div><\/div><\/div><div id=\"pg-23-9\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-23-9-0\"  class=\"panel-grid-cell\" ><div id=\"panel-23-9-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"13\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"eclipse\">import pygame\n#initialization\npygame.init()\n#create the screen\nscreen=pygame.display.set_mode((1280,720))\nwindowrunning = True\nimg=1\nwrite=0\nwhile windowrunning:    #main loop\n    for event in pygame.event.get():    #event loop\n        if event.type == pygame.QUIT:\n            windowrunning=False\n        if event.type == pygame.MOUSEBUTTONDOWN:\n            mousex, mousey = pygame.mouse.get_pos()\n            write=1\n        if event.type == pygame.MOUSEBUTTONUP:\n            write=0\n        if event.type == pygame.MOUSEMOTION and write==1:\n            mousex, mousey = pygame.mouse.get_pos()\n            if pygame.mouse.get_pressed()[0]: #Red for Left\n                pygame.draw.circle(screen, (255, 0, 0), (mousex, mousey), 1, 1)\n            if pygame.mouse.get_pressed()[2]: #Green for Right\n                pygame.draw.circle(screen, (0, 255, 0), (mousex, mousey), 1, 1)\n            if pygame.mouse.get_pressed()[1]: #Blue for Middle\n                pygame.draw.circle(screen, (0, 0, 255), (mousex, mousey), 1, 1)\n            pygame.display.update()\n        if event.type == pygame.KEYDOWN:\n            print (\"Key\" + str(event.key))\n            if event.key== 115:\n                imgname=\"image\"+\"{0:03}\".format(img)+\".jpg\"\n                pygame.image.save(screen, imgname)\n                img=img+1\npygame.display.quit()\npygame.quit()<\/pre>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div><\/div><\/div><\/div><div id=\"pg-23-10\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-23-10-0\"  class=\"panel-grid-cell\" ><div id=\"panel-23-10-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"14\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t><h3 class=\"widget-title\">Blackboard Application<\/h3>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p>We iron out the kinks in the basic drawing app to build a blackboard app.<\/p>\n<\/div>\n<\/div><\/div><\/div><div id=\"pgc-23-10-1\"  class=\"panel-grid-cell\" ><div id=\"panel-23-10-1-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"15\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p><a href=\"https:\/\/www.youtube.com\/watch?v=6oW-Ck2KQzg\">https:\/\/www.youtube.com\/watch?v=6oW-Ck2KQzg<\/a><\/p>\n<\/div>\n<\/div><\/div><\/div><\/div><div id=\"pg-23-11\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-23-11-0\"  class=\"panel-grid-cell\" ><div id=\"panel-23-11-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"16\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<div class=\"h5p-iframe-wrapper\"><iframe id=\"h5p-iframe-2\" class=\"h5p-iframe\" data-content-id=\"2\" style=\"height:1px\" src=\"about:blank\" frameBorder=\"0\" scrolling=\"no\" title=\"Pygame Program 3 Blackboard\"><\/iframe><\/div>\n<\/div>\n<\/div><\/div><\/div><\/div><div id=\"pg-23-12\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-23-12-0\"  class=\"panel-grid-cell\" ><div id=\"panel-23-12-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child panel-last-child\" data-index=\"17\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\" data-enlighter-theme=\"eclipse\">import pygame\n#initialization\npygame.init()\n#create the screen\nscreen=pygame.display.set_mode((1280,720))\nwindowrunning = True    #main loop variable\nimg=1                   #saved photo counter\nwrite=0                 #flag for writing lines\nr=255                   #red color\ng=0                     #green color\nb=0                     #blue color\nthickness=1             #thickness of line\nrect=0                  #flag for writing rectangle\nwhile windowrunning:    #main loop\n    for event in pygame.event.get():    #event loop\n        if event.type == pygame.QUIT:\n            windowrunning=False\n        if event.type == pygame.MOUSEBUTTONDOWN:\n            mousex, mousey = pygame.mouse.get_pos()\n            write=1\n        if event.type == pygame.MOUSEBUTTONUP:\n            mousex1, mousey1 = pygame.mouse.get_pos()\n            if(rect==1):\n                pygame.draw.rect(screen, (r, g, b),\n                                 (mousex, mousey, (mousex1-mousex), (mousey1-mousey)) , 1)\n            write=0\n            rect=0\n            pygame.display.update()\n        if event.type == pygame.MOUSEMOTION and write==1:\n            mousex1, mousey1 = pygame.mouse.get_pos()\n            if pygame.mouse.get_pressed()[0]:\n                pygame.draw.line(screen, (r, g, b), (mousex, mousey),\n                                 (mousex1, mousey1) , thickness)\n                mousex=mousex1\n                mousey=mousey1\n            if pygame.mouse.get_pressed()[2]:\n                rect=1\n            pygame.display.update()\n        if event.type == pygame.KEYDOWN:\n            print (\"Key\" + str(event.key))\n            if event.key== 115:\n                imgname=\"image\"+\"{0:03}\".format(img)+\".jpg\"\n                pygame.image.save(screen, imgname)\n                img=img+1\n            if event.key== pygame.K_DELETE:\n                screen.fill((0,0,0))\n                pygame.display.update()\n            if event.key== pygame.K_y:\n                r,g,b=255,255,0\n            if event.key== pygame.K_r:\n                r,g,b=255,0,0\n            if event.key== pygame.K_w:\n                r,g,b=255,255,255\n            if event.key== pygame.K_b:\n                r,g,b=0,0,255\n            if event.key== pygame.K_g:\n                r,g,b=0,255,0\n            if event.key== 61: #plus key\n                if thickness &lt; 10:\n                    thickness = thickness +1\n            if event.key == pygame.K_MINUS:\n                if thickness&gt;1:\n                    thickness = thickness - 1\npygame.display.quit()\npygame.quit()<\/pre>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Installation of Pygame with Pycharm https:\/\/www.youtube.com\/watch?v=7x34iCaKUtc<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ub_ctt_via":"","advgb_blocks_editor_width":"","advgb_blocks_columns_visual_guide":""},"categories":[3],"tags":[5],"featured_image_src":null,"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.13 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Pygame - Manik Sir&#039;s web<\/title>\n<meta name=\"description\" content=\"This Pygame page shows in sequence videos from my YouTube channel for building Pygame apps. I have planned interactivity for the videos.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/manik.in\/site\/pygame\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pygame - Manik Sir&#039;s web\" \/>\n<meta property=\"og:description\" content=\"This Pygame page shows in sequence videos from my YouTube channel for building Pygame apps. I have planned interactivity for the videos.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/manik.in\/site\/pygame\/\" \/>\n<meta property=\"og:site_name\" content=\"Manik Sir&#039;s web\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-20T04:38:07+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/manik.in\/site\/pygame\/\",\"url\":\"https:\/\/manik.in\/site\/pygame\/\",\"name\":\"Pygame - Manik Sir&#039;s web\",\"isPartOf\":{\"@id\":\"https:\/\/manik.in\/site\/#website\"},\"datePublished\":\"2020-08-19T18:10:00+00:00\",\"dateModified\":\"2020-08-20T04:38:07+00:00\",\"description\":\"This Pygame page shows in sequence videos from my YouTube channel for building Pygame apps. I have planned interactivity for the videos.\",\"breadcrumb\":{\"@id\":\"https:\/\/manik.in\/site\/pygame\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/manik.in\/site\/pygame\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/manik.in\/site\/pygame\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/manik.in\/site\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pygame\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/manik.in\/site\/#website\",\"url\":\"https:\/\/manik.in\/site\/\",\"name\":\"Manik Sir&#039;s web\",\"description\":\"&quot;Presence of doubt is the proof of intelligence.&quot;\",\"publisher\":{\"@id\":\"https:\/\/manik.in\/site\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/manik.in\/site\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/manik.in\/site\/#organization\",\"name\":\"Manik Sir&#039;s web\",\"url\":\"https:\/\/manik.in\/site\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/manik.in\/site\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/manik.in\/site\/wp-content\/uploads\/2020\/08\/cropped-logo-2.png\",\"contentUrl\":\"https:\/\/manik.in\/site\/wp-content\/uploads\/2020\/08\/cropped-logo-2.png\",\"width\":250,\"height\":106,\"caption\":\"Manik Sir&#039;s web\"},\"image\":{\"@id\":\"https:\/\/manik.in\/site\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pygame - Manik Sir&#039;s web","description":"This Pygame page shows in sequence videos from my YouTube channel for building Pygame apps. I have planned interactivity for the videos.","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":"https:\/\/manik.in\/site\/pygame\/","og_locale":"en_US","og_type":"article","og_title":"Pygame - Manik Sir&#039;s web","og_description":"This Pygame page shows in sequence videos from my YouTube channel for building Pygame apps. I have planned interactivity for the videos.","og_url":"https:\/\/manik.in\/site\/pygame\/","og_site_name":"Manik Sir&#039;s web","article_modified_time":"2020-08-20T04:38:07+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/manik.in\/site\/pygame\/","url":"https:\/\/manik.in\/site\/pygame\/","name":"Pygame - Manik Sir&#039;s web","isPartOf":{"@id":"https:\/\/manik.in\/site\/#website"},"datePublished":"2020-08-19T18:10:00+00:00","dateModified":"2020-08-20T04:38:07+00:00","description":"This Pygame page shows in sequence videos from my YouTube channel for building Pygame apps. I have planned interactivity for the videos.","breadcrumb":{"@id":"https:\/\/manik.in\/site\/pygame\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/manik.in\/site\/pygame\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/manik.in\/site\/pygame\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/manik.in\/site\/"},{"@type":"ListItem","position":2,"name":"Pygame"}]},{"@type":"WebSite","@id":"https:\/\/manik.in\/site\/#website","url":"https:\/\/manik.in\/site\/","name":"Manik Sir&#039;s web","description":"&quot;Presence of doubt is the proof of intelligence.&quot;","publisher":{"@id":"https:\/\/manik.in\/site\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/manik.in\/site\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/manik.in\/site\/#organization","name":"Manik Sir&#039;s web","url":"https:\/\/manik.in\/site\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/manik.in\/site\/#\/schema\/logo\/image\/","url":"https:\/\/manik.in\/site\/wp-content\/uploads\/2020\/08\/cropped-logo-2.png","contentUrl":"https:\/\/manik.in\/site\/wp-content\/uploads\/2020\/08\/cropped-logo-2.png","width":250,"height":106,"caption":"Manik Sir&#039;s web"},"image":{"@id":"https:\/\/manik.in\/site\/#\/schema\/logo\/image\/"}}]}},"coauthors":[],"author_meta":{"author_link":"https:\/\/manik.in\/site\/author\/myselfmanik-in\/","display_name":"myself@manik.in"},"relative_dates":{"created":"Posted 6 years ago","modified":"Updated 6 years ago"},"absolute_dates":{"created":"Posted on August 19, 2020","modified":"Updated on August 20, 2020"},"absolute_dates_time":{"created":"Posted on August 19, 2020 11:40 pm","modified":"Updated on August 20, 2020 10:08 am"},"featured_img_caption":"","featured_img":false,"series_order":"","_links":{"self":[{"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/pages\/23"}],"collection":[{"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/comments?post=23"}],"version-history":[{"count":10,"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/pages\/23\/revisions"}],"predecessor-version":[{"id":47,"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/pages\/23\/revisions\/47"}],"wp:attachment":[{"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/media?parent=23"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/categories?post=23"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/manik.in\/site\/wp-json\/wp\/v2\/tags?post=23"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}