{"id":8062,"date":"2014-06-17T05:03:34","date_gmt":"2014-06-16T19:03:34","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=8062"},"modified":"2014-06-17T05:03:34","modified_gmt":"2014-06-16T19:03:34","slug":"htmljavascript-memory-game-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/htmljavascript-memory-game-tutorial\/","title":{"rendered":"HTML\/Javascript Memory Game Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/Canvas\/Memory\/memory_chalkboard.html\"><img decoding=\"async\" style=\"float:left;border: 15px solid pink;\" alt=\"HTML\/Javascript Memory Game Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/Canvas\/Memory\/Memory_Chalkboard.jpg\" title=\"HTML\/Javascript Memory Game Tutorial\"  \/><\/a><p class=\"wp-caption-text\">HTML\/Javascript Memory Game Tutorial<\/p><\/div>\n<p>Here is a <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/Canvas\/Memory\/memory_chalkboard.html\" title='HTML\/Javascript Memory Game Tutorial'>tutorial<\/a> showing some client-side basics in HTML and Javascript using an HTML <a target=_blank href='http:\/\/www.w3schools.com\/html\/html5_canvas.asp' title='HTML5 canvas element'>canvas<\/a> element to test your memory and test your mathematics (or recall).  If you answer exactly (and you might need a calculator (though you are allowed to recite back the problem, and you score the same in doing this)) you need to be accurate to 0.01<\/p>\n<p>Link to some downloadable HTML programming code &#8230; rename to <a target=_blank href='http:\/\/www.rjmprogramming.com.au\/HTMLCSS\/Canvas\/Memory\/memory_chalkboard.html_GETME' title='memory_chalkboard.html'>memory_chalkboard.html<\/a><\/p>\n<p>You&#8217;ll notice heavy use of the Javascript <a target=_blank title='Javascript Math.random() information from w3schools' href='http:\/\/www.w3schools.com\/jsref\/jsref_random.asp'>Math.random()<\/a> function to come up with the numbers and operators of the mathematical problems the program asks you to solve (or at least quote back).<\/p>\n<p>It may seem harsh, but the answer &#8220;<a target=_blank href='https:\/\/www.youtube.com\/watch?v=-a-DsIo81e8' title='Pork'>pork<\/a>&#8221; will not be accepted, alas.<\/p>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d8062' onclick='var dv=document.getElementById(\"d8062\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?tag=mathematics\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d8062' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Here is a tutorial showing some client-side basics in HTML and Javascript using an HTML canvas element to test your memory and test your mathematics (or recall). If you answer exactly (and you might need a calculator (though you are &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/htmljavascript-memory-game-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,37],"tags":[184,576,652,752,767,997,1319],"class_list":["post-8062","post","type-post","status-publish","format-standard","hentry","category-elearning","category-tutorials","tag-canvas","tag-html","tag-javascript","tag-mathematics","tag-memory","tag-programming","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/8062"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=8062"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/8062\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=8062"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=8062"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=8062"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}