{"id":3392,"date":"2022-12-16T12:51:51","date_gmt":"2022-12-16T11:51:51","guid":{"rendered":"https:\/\/agora.xtec.cat\/insponts\/?p=3392"},"modified":"2022-12-16T12:53:06","modified_gmt":"2022-12-16T11:53:06","slug":"videojoc-del-calendari-dadvent","status":"publish","type":"post","link":"https:\/\/agora.xtec.cat\/insponts\/general\/videojoc-del-calendari-dadvent\/","title":{"rendered":"VIDEOJOC DEL CALENDARI D\u2019ADVENT"},"content":{"rendered":"<p style=\"margin-bottom: 0cm; line-height: 100%; text-align: left;\" align=\"JUSTIFY\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\">Des de la classe de <span style=\"font-size: medium;\"><u><strong>rob\u00f2tica i programaci\u00f3 de 4t de l&#8217;ESO<\/strong><\/u><\/span> hem dissenyat una Calendari d\u2019Advent de l\u2019institut de Ponts per felicitar-vos les festes.<\/span><\/span><\/p>\n<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\">El Calendari d\u2019advent \u00e9s un calendari de compte enrere, utilitzat per a preparar-se per Nadal. \u00c9s originari d&#8217;Alemanya i servia quan antigament molta gent no sabia comptar i eren utilitzats per remarcar les festivitats importants. Actualment es continuen utilitzant com a tradici\u00f3 nadalenca i poden tenir diverses formes, per\u00f2 tots tenen en com\u00fa el fet d\u2019haver de canviar alguna cosa cada dia fins que arribi el dia assenyalat, que en el cas del calendari d\u2019Advent \u00e9s el dia 25 , dia de Nadal.<\/span><\/span><\/p>\n<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\">En el nostre projecte de 4t, el que hem fet \u00e9s desenvolupar un videojoc que faci de Calendari d\u2019Advent.<\/span><\/span><\/p>\n<p><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\">Aquest videojoc est\u00e0 fet amb l\u2019<\/span><\/span><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: large;\"><strong>SCRATH<\/strong><\/span><\/span><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\"> que \u00e9s un llenguatge de programaci\u00f3 <\/span><\/span><span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\"><span style=\"font-style: normal;\"><span style=\"font-weight: normal;\">creat pel grup <\/span><\/span><\/span><\/span><\/span><a href=\"https:\/\/ca.wikipedia.org\/wiki\/MIT_Media_Lab\"><span style=\"color: #3366cc;\"><span style=\"text-decoration: none;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\"><em><span style=\"font-weight: normal;\">MIT Media Lab<\/span><\/em><\/span><\/span><\/span><\/span><\/a> <span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\"><em><span style=\"font-weight: normal;\">de l\u2019 <\/span><\/em><\/span><\/span><\/span><span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\"><em><u><strong>Institut de Tecnologia de Massachusetts<\/strong><\/u><\/em><\/span><\/span><\/span><span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\"><span style=\"font-style: normal;\"><span style=\"font-weight: normal;\">. <\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\"><span style=\"font-style: normal;\"><span style=\"font-weight: normal;\">El MIT ofereix de franc aquesta eina de programaci\u00f3 en l\u00ednia als usuaris que s&#8217;hi registrin.<\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\"><em><span style=\"font-weight: normal;\">L&#8217;Scratch <\/span><\/em><\/span><\/span><\/span><span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\"><span style=\"font-style: normal;\"><span style=\"font-weight: normal;\">est\u00e0 basat en el llenguatge de programaci\u00f3 <\/span><\/span><\/span><\/span><\/span><a href=\"https:\/\/ca.wikipedia.org\/wiki\/Llenguatge_de_programaci\u00f3_Logo\">LOGO<\/a> <span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\"><span style=\"font-style: normal;\"><span style=\"font-weight: normal;\">i serveix per aprendre a programar a trav\u00e9s del joc i l&#8217;experimentaci\u00f3 i introduir, aix\u00ed, el pensament computacional. La seva interf\u00edcie \u00e9s senzilla i permet tant crear hist\u00f2ries interactives, tutorials, jocs i animacions, com compartir els projectes amb altres usuaris en l\u00ednia. Els projectes poden ser de tem\u00e0tica variada, es poden adaptar i orientar a diferents \u00e0mbits i objectius.<\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\"><span style=\"font-style: normal;\"><span style=\"font-weight: normal;\">L\u2019institut de Tecnologia de Massachusetts treballa amb un model de desenvolupament de software \u00abopen source\u00bb o de codi obert, que permet la col\u00b7laboraci\u00f3 oberta de tots els seus projectes educatius i \u00e9s per aquest motiu que l\u2019utilitzem en tots els centres educatius de secund\u00e0ria.<\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\"><span style=\"font-style: normal;\"><span style=\"font-weight: normal;\">L&#8217;Scrath \u00e9s un referent en la programaci\u00f3 de videojocs a l\u2019aula.<\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\">Per dissenyar el nostre joc, hem creat 24 personatges que s\u00f3n 24 finestres tancades, que representen els primers 24 dies que hi ha al mes de desembre.<\/span><\/span><\/span><\/p>\n<p><span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\"><span style=\"font-style: normal;\"><span style=\"font-weight: normal;\">Cada una d\u2019aquestes finestres tancades tindr\u00e0 un nou vestit que es mostrar\u00e0 quan coincideixi el dia que representa la finestra. Aquest nou vestit ser\u00e0 una imatge o motiu nadalenc.<\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\"><span style=\"font-style: normal;\"><span style=\"font-weight: normal;\">Despr\u00e9s crearem una variable anomenada \u00abdata actual\u00bb i que ens dir\u00e0 quina \u00e9s la data del dia d\u2019avui.<\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\"><span style=\"font-style: normal;\"><span style=\"font-weight: normal;\">Seguidament crearem una estructura en bucle o \u00abloop\u00bb de programari que s\u2019executar\u00e0 sempre que siguem al mes 12 i que per a cada finestra tancada comprovar\u00e0 si, per exemple a la finestra 1, si avui \u00e9s dia 1 del 12 llavors, canvia al vestit contigu, i es mostrar\u00e0 una imatge nadalenca.<\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\">Quan sigui el dia dos, el programa permetr\u00e0 obrir la finestra 2 i aix\u00ed successivament fins arribar a la finestra 24 en qu\u00e8 s\u2019aturar\u00e0 el joc i apareixer\u00e0 per pantalla una felicitaci\u00f3 de Bones Festes.<\/span><\/span><\/span><\/p>\n<p><span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\">A m\u00e9s a m\u00e9s algunes finestres a part de convertir-se en algun motiu nadalenc tamb\u00e9 tenen associades can\u00e7ons nadalenques que sonaran quan sigui el dia que representen.<\/span><\/span><\/span><\/p>\n<p><span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\"><span style=\"font-style: normal;\"><span style=\"font-weight: normal;\">Podreu veure el videojoc al v\u00eddeo que adjuntem o tamb\u00e9 el trobareu penjat al web de l\u2019Scratch, que trobareu accedint al link que hi ha a sota de l\u2019article.<\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\"><span style=\"font-style: normal;\"><span style=\"font-weight: normal;\">Tamb\u00e9 ens agradaria recordar-vos que us podeu instal\u00b7lar el Programa Scratch des de qualsevol ordinador i de franc.<\/span><\/span><\/span><\/span><\/span><\/p>\n<p><span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\">Esperem que us agradi !!!<\/span><\/span><\/span><\/p>\n<p><span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\">Gr\u00e0cies<\/span><\/span><\/span><\/p>\n<p><span style=\"color: #202122;\"><span style=\"font-family: Arial, sans-serif;\"><span style=\"font-size: medium;\">https:\/\/scratch.mit.edu\/projects\/773250559<\/span><\/span><\/span><\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/drive.google.com\/file\/d\/1Ff6nhnztv7vIfjfAZUa3H3aeCmqnG-FH\/preview\" width=\"640\" height=\"480\"><\/iframe><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-3399\" src=\"https:\/\/agora.xtec.cat\/insponts\/wp-content\/uploads\/usu850\/2022\/12\/IMG-7767-scaled.jpg\" alt=\"\" width=\"2560\" height=\"1920\" srcset=\"https:\/\/agora.xtec.cat\/insponts\/wp-content\/uploads\/usu850\/2022\/12\/IMG-7767-scaled.jpg 2560w, https:\/\/agora.xtec.cat\/insponts\/wp-content\/uploads\/usu850\/2022\/12\/IMG-7767-300x225.jpg 300w, https:\/\/agora.xtec.cat\/insponts\/wp-content\/uploads\/usu850\/2022\/12\/IMG-7767-1024x768.jpg 1024w, https:\/\/agora.xtec.cat\/insponts\/wp-content\/uploads\/usu850\/2022\/12\/IMG-7767-768x576.jpg 768w, https:\/\/agora.xtec.cat\/insponts\/wp-content\/uploads\/usu850\/2022\/12\/IMG-7767-1536x1152.jpg 1536w, https:\/\/agora.xtec.cat\/insponts\/wp-content\/uploads\/usu850\/2022\/12\/IMG-7767-2048x1536.jpg 2048w, https:\/\/agora.xtec.cat\/insponts\/wp-content\/uploads\/usu850\/2022\/12\/IMG-7767-200x150.jpg 200w\" sizes=\"auto, (max-width: 2560px) 100vw, 2560px\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Des de la classe de rob\u00f2tica i programaci\u00f3 de 4t de l&#8217;ESO hem dissenyat una Calendari d\u2019Advent de l\u2019institut de Ponts per felicitar-vos les festes.<br \/>\nEl Calendari d\u2019advent \u00e9s un calendari de compte enrere, utilitzat per a preparar-se per Nadal. \u00c9s originari d&#8217;Alemanya i servia quan&hellip;  <a href=\"https:\/\/agora.xtec.cat\/insponts\/general\/videojoc-del-calendari-dadvent\/\" title=\"Read VIDEOJOC DEL CALENDARI D\u2019ADVENT\">Llegeix m\u00e9s\u00bb<\/a><\/p>\n","protected":false},"author":87,"featured_media":3403,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[1,29],"tags":[],"class_list":["post-3392","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-general","category-portada"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/agora.xtec.cat\/insponts\/wp-json\/wp\/v2\/posts\/3392","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/agora.xtec.cat\/insponts\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/agora.xtec.cat\/insponts\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/agora.xtec.cat\/insponts\/wp-json\/wp\/v2\/users\/87"}],"replies":[{"embeddable":true,"href":"https:\/\/agora.xtec.cat\/insponts\/wp-json\/wp\/v2\/comments?post=3392"}],"version-history":[{"count":4,"href":"https:\/\/agora.xtec.cat\/insponts\/wp-json\/wp\/v2\/posts\/3392\/revisions"}],"predecessor-version":[{"id":3404,"href":"https:\/\/agora.xtec.cat\/insponts\/wp-json\/wp\/v2\/posts\/3392\/revisions\/3404"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/agora.xtec.cat\/insponts\/wp-json\/wp\/v2\/media\/3403"}],"wp:attachment":[{"href":"https:\/\/agora.xtec.cat\/insponts\/wp-json\/wp\/v2\/media?parent=3392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/agora.xtec.cat\/insponts\/wp-json\/wp\/v2\/categories?post=3392"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/agora.xtec.cat\/insponts\/wp-json\/wp\/v2\/tags?post=3392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}