{"id":1731,"date":"2014-10-30T07:03:00","date_gmt":"2014-10-30T07:03:00","guid":{"rendered":"http:\/\/prog.pwnict.co.uk\/?page_id=1731"},"modified":"2014-10-30T07:03:00","modified_gmt":"2014-10-30T07:03:00","slug":"pygame","status":"publish","type":"page","link":"https:\/\/www.ihaz.codes\/UoB\/tasks\/pygame\/","title":{"rendered":"pygame"},"content":{"rendered":"<p><code><div class=\"child_pages child_pages-thumbnail\">\n<div id=\"child_page-1793\" class=\"child_page\" style=\"width:50%;max-width:100%;\"><div class=\"child_page-container\"><div class=\"post_content\"><h4><a href=\"https:\/\/www.ihaz.codes\/UoB\/tasks\/pygame\/great-avoiding-challenge\/\">great avoiding challenge<\/a><\/h4><div class=\"post_excerpt\">Create a game using pygame which will have two squares (or images). One is controlled by the player and the other will randomly bounce around the screen. The goal of the game is to avoid the square for as long as possible. The longer you last,[read more]<\/div><\/div><!-- .post_content  --><\/div><!-- .child_page-container --><\/div><!-- #child_page-1793\" -->\n\n<div id=\"child_page-1759\" class=\"child_page\" style=\"width:50%;max-width:100%;\"><div class=\"child_page-container\"><div class=\"post_content\"><h4><a href=\"https:\/\/www.ihaz.codes\/UoB\/tasks\/pygame\/juke-box\/\">Juke box<\/a><\/h4><div class=\"post_excerpt\">Create a program which will store a list of songs (in ogg format) into a playlist. Your program will then play them one after another. It will also have the following features &#8211; 1. You can skip tracks using the [N] key. 2. You can[read more]<\/div><\/div><!-- .post_content  --><\/div><!-- .child_page-container --><\/div><!-- #child_page-1759\" -->\n\n<div id=\"child_page-1762\" class=\"child_page\" style=\"width:50%;max-width:100%;\"><div class=\"child_page-container\"><div class=\"post_content\"><h4><a href=\"https:\/\/www.ihaz.codes\/UoB\/tasks\/pygame\/random-circles\/\">Random circles<\/a><\/h4><div class=\"post_excerpt\">Write a python program which will draw random circles on the screen every few seconds. The circles should be a random size and colour. However, they must always be circles!<\/div><\/div><!-- .post_content  --><\/div><!-- .child_page-container --><\/div><!-- #child_page-1762\" -->\n\n<div id=\"child_page-1764\" class=\"child_page\" style=\"width:50%;max-width:100%;\"><div class=\"child_page-container\"><div class=\"post_content\"><h4><a href=\"https:\/\/www.ihaz.codes\/UoB\/tasks\/pygame\/speedway\/\">Speedway<\/a><\/h4><div class=\"post_excerpt\"><\/div><\/div><!-- .post_content  --><\/div><!-- .child_page-container --><\/div><!-- #child_page-1764\" -->\n\n<div id=\"child_page-1766\" class=\"child_page\" style=\"width:50%;max-width:100%;\"><div class=\"child_page-container\"><div class=\"post_content\"><h4><a href=\"https:\/\/www.ihaz.codes\/UoB\/tasks\/pygame\/scrolling-message\/\">Scrolling message<\/a><\/h4><div class=\"post_excerpt\">Create a program which will scroll text from left to right on the screen. The message should be long and be in a large font. When the message has left the screen, it should loop.<\/div><\/div><!-- .post_content  --><\/div><!-- .child_page-container --><\/div><!-- #child_page-1766\" -->\n\n<div id=\"child_page-1768\" class=\"child_page\" style=\"width:50%;max-width:100%;\"><div class=\"child_page-container\"><div class=\"post_content\"><h4><a href=\"https:\/\/www.ihaz.codes\/UoB\/tasks\/pygame\/full-pong\/\">Full pong<\/a><\/h4><div class=\"post_excerpt\">Using the tutorials to help, create a version of pong that is as close to the original as you can make it. The video below shows what the game should look like. You may wish to add music and more up to date sound effects. https:\/\/www.youtube.com\/watch?v=SHsYjWm8XSI<\/div><\/div><!-- .post_content  --><\/div><!-- .child_page-container --><\/div><!-- #child_page-1768\" -->\n\n<div id=\"child_page-748\" class=\"child_page\" style=\"width:50%;max-width:100%;\"><div class=\"child_page-container\"><div class=\"post_content\"><h4><a href=\"https:\/\/www.ihaz.codes\/UoB\/tasks\/pygame\/pub-quiz\/\">Pub quiz<\/a><\/h4><div class=\"post_excerpt\">Everyone enjoys a pub quiz! Now it is time to bring all the fun of the pub quiz to the small screen. 10 questions &#8211; In a random order each time. Multiple choices &#8211; 4 for each question. Only one question displayed per[read more]<\/div><\/div><!-- .post_content  --><\/div><!-- .child_page-container --><\/div><!-- #child_page-748\" -->\n\n<div id=\"child_page-1791\" class=\"child_page\" style=\"width:50%;max-width:100%;\"><div class=\"child_page-container\"><div class=\"post_content\"><h4><a href=\"https:\/\/www.ihaz.codes\/UoB\/tasks\/pygame\/disco-lights\/\">Disco lights<\/a><\/h4><div class=\"post_excerpt\">Create a program which will play some funky music! Using circles representing lights you can produce random patterns to go along with the music. You need to[read more]<\/div><\/div><!-- .post_content  --><\/div><!-- .child_page-container --><\/div><!-- #child_page-1791\" -->\n<\/div><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":562,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"categories":[],"class_list":["post-1731","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/1731","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/comments?post=1731"}],"version-history":[{"count":0,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/1731\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/562"}],"wp:attachment":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/media?parent=1731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/categories?post=1731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}