{"id":57844,"date":"2022-12-23T03:01:49","date_gmt":"2022-12-22T17:01:49","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/ITblog\/?p=57844"},"modified":"2022-12-23T05:52:30","modified_gmt":"2022-12-22T19:52:30","slug":"htmljavascript-bulls-and-cows-game-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/htmljavascript-bulls-and-cows-game-primer-tutorial\/","title":{"rendered":"HTML\/Javascript Bulls and Cows Game Primer Tutorial"},"content":{"rendered":"<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Games\/Bullsandcows\/bullsandcows.html\"><img decoding=\"async\" style=\"border: 15px solid pink;\" alt=\"HTML\/Javascript Bulls and Cows Game Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Games\/Bullsandcows\/bullsandcows.jpg\" title=\"HTML\/Javascript Bulls and Cows Game Primer Tutorial\"  style=\"float:left;\"  \/><\/a><p class=\"wp-caption-text\">HTML\/Javascript Bulls and Cows Game Primer Tutorial<\/p><\/div>\n<p>Today we&#8217;ve got an inhouse version of a well known word <font size=1>(but you don&#8217;t have to be a wordsmith to play)<\/font> game called <a target=_blank title='Bulls and Cows' href='https:\/\/www.dailywritingtips.com\/list-50-word-games\/'>Bulls and Cows<\/a> which we used to play in lunchtimes at school, a bit like the Word Guessing game of <a title='Word Guessing or Synonym Game Right Click Tutorial' href='https:\/\/www.rjmprogramming.com.au\/ITblog\/word-guessing-or-synonym-game-right-click-tutorial\/'>Word Guessing or Synonym Game Right Click Tutorial<\/a> times past.<\/p>\n<p>Again, best as a game for two &#8230;<\/p>\n<blockquote cite='https:\/\/www.dailywritingtips.com\/list-50-word-games\/'><p>\nThis game, which can also be called \u201cMastermind\u201d or \u201cJotto\u201d involves one player thinking up a secret word of a set number of letters. The second player guesses a word; the first player tells them how many letters match in the right position (bulls) and how many letters are correct but in the wrong position (cows).\n<\/p><\/blockquote>\n<p> &#8230; that we encourage players to play around the one computer, where one player is at a mouse (or touch) and one is on the keyboard, trying to guess the same computer generated (rather than &#8220;the other player setting&#8221;) 4 to 9 length English word.<\/p>\n<p>Feel free to try our <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Games\/Bullsandcows\/bullsandcows.html_GETME\" title=\"bullsandcows.html\">first draft bullsandcows.html<\/a> <a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Games\/Bullsandcows\/bullsandcows.html\" title=\"Click picture\">Bulls and Cows game<\/a> you can try in a new window, or below &#8230;<\/p>\n<p><iframe id=mysiframe src=\"http:\/\/www.rjmprogramming.com.au\/Games\/Bullsandcows\/bullsandcows.html\" style=\"width:100%;height:900px;\"><\/iframe><\/p>\n<p><!--p>You can also see this play out at WordPress 4.1.1's <a target=_blank  href='\/\/www.rjmprogramming.com.au\/ITblog\/htmljavascript-sudoku-game-primer-tutorial\/'>HTML\/Javascript Bulls and Cows Game Primer Tutorial<\/a>.<\/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='#d57844' onclick='var dv=document.getElementById(\"d57844\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"https:\/\/www.rjmprogramming.com.au\/ITblog\/tag\/word-game\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d57844' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Today we&#8217;ve got an inhouse version of a well known word (but you don&#8217;t have to be a wordsmith to play) game called Bulls and Cows which we used to play in lunchtimes at school, a bit like the Word &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/htmljavascript-bulls-and-cows-game-primer-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,14,15,37],"tags":[3372,4185,326,388,476,477,3922,4184,576,652,997,1319,1452,1453],"class_list":["post-57844","post","type-post","status-publish","format-standard","hentry","category-elearning","category-event-driven-programming","category-games","category-tutorials","tag-computer","tag-computer-generated","tag-dictionary","tag-english","tag-game","tag-games-2","tag-guess","tag-guessing","tag-html","tag-javascript","tag-programming","tag-tutorial","tag-word","tag-word-game"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/57844"}],"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=57844"}],"version-history":[{"count":7,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/57844\/revisions"}],"predecessor-version":[{"id":57860,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/57844\/revisions\/57860"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=57844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=57844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=57844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}