{"id":27127,"date":"2025-10-01T07:13:23","date_gmt":"2025-10-01T12:13:23","guid":{"rendered":"https:\/\/www.gamingalexandria.com\/wp\/?p=27127"},"modified":"2025-10-01T07:13:23","modified_gmt":"2025-10-01T12:13:23","slug":"hamlet-game","status":"publish","type":"post","link":"https:\/\/www.gamingalexandria.com\/wp\/2025\/10\/hamlet-game\/","title":{"rendered":"Hamlet Game (\u516b\u30e0\u30ec\u30c3\u30c8\u30b2\u30fc\u30e0)"},"content":{"rendered":"<p><strong>Title &#8211;<\/strong>Hamlet Game (\u516b\u30e0\u30ec\u30c3\u30c8\u30b2\u30fc\u30e0)<br \/>\n<strong>System &#8211; <\/strong>Nintendo Family BASIC<br \/>\n<strong>Author &#8211; <\/strong>Unknown<br \/>\n<strong>Publication &#8211;<\/strong>\u5c0f\u5b66\u9928\u5165\u9580\u767e\u79d1\u30b7\u30ea\u30fc\u30ba 191: \u304d\u307f\u306b\u3082\u4f5c\u308c\u308b!! \u30d5\u30a2\u30df\u30ea\u30fc\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30b2\u30fc\u30e0 (Shogakukan Introductory Encyclopedia Series 191: You can make it too!! Family Computer Games)<br \/>\n<strong>Page Scans &#8211;<\/strong> <a href=\"https:\/\/www.gamingalexandria.com\/typingtaskforce\/Nintendo%20Family%20BASIC\/Hamlet%20Game\/Hamlet%20Game%20(Shogakukan%20Introductory%20Encyclopedia)_143.jpg\">1<\/a> <a href=\"https:\/\/www.gamingalexandria.com\/typingtaskforce\/Nintendo%20Family%20BASIC\/Hamlet%20Game\/Hamlet%20Game%20(Shogakukan%20Introductory%20Encyclopedia)_144.jpg\">2<\/a> <a href=\"https:\/\/www.gamingalexandria.com\/typingtaskforce\/Nintendo%20Family%20BASIC\/Hamlet%20Game\/Hamlet%20Game%20(Shogakukan%20Introductory%20Encyclopedia)_145.jpg\">3<\/a> <a href=\"https:\/\/www.gamingalexandria.com\/typingtaskforce\/Nintendo%20Family%20BASIC\/Hamlet%20Game\/Hamlet%20Game%20(Shogakukan%20Introductory%20Encyclopedia)_146.jpg\">4<\/a> <a href=\"https:\/\/www.gamingalexandria.com\/typingtaskforce\/Nintendo%20Family%20BASIC\/Hamlet%20Game\/Hamlet%20Game%20(Shogakukan%20Introductory%20Encyclopedia)_147.jpg\">5<\/a> <a href=\"https:\/\/www.gamingalexandria.com\/typingtaskforce\/Nintendo%20Family%20BASIC\/Hamlet%20Game\/Hamlet%20Game%20(Shogakukan%20Introductory%20Encyclopedia)_148.jpg\">6<\/a> <a href=\"https:\/\/www.gamingalexandria.com\/typingtaskforce\/Nintendo%20Family%20BASIC\/Hamlet%20Game\/Hamlet%20Game%20(Shogakukan%20Introductory%20Encyclopedia)_149.jpg\">7<\/a> <a href=\"https:\/\/www.gamingalexandria.com\/typingtaskforce\/Nintendo%20Family%20BASIC\/Hamlet%20Game\/Hamlet%20Game%20(Shogakukan%20Introductory%20Encyclopedia)_150.jpg\">8<\/a><br \/>\n<strong>Preserved By &#8211; <\/strong><a href=\"https:\/\/www.gamingalexandria.com\/wp\/author\/ozidual\">ozidual<\/a><br \/>\n<strong>Recommended Emulator &#8211; <\/strong><a href=\"https:\/\/www.gamingalexandria.com\/wp\/2024\/10\/family-basic-emulation#VirtuaNES\">VirtualNES<\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/www.gamingalexandria.com\/typingtaskforce\/Nintendo%20Family%20BASIC\/Hamlet%20Game\/Game03%20(English).PNG\" alt=\"Hamlet Game - Screen Capture 1 - English\" width=\"256\" height=\"240\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/www.gamingalexandria.com\/typingtaskforce\/Nintendo%20Family%20BASIC\/Hamlet%20Game\/Game03%20(Japanese).PNG\" alt=\"Hamlet Game - Screen Capture 2 - Japanese\" width=\"256\" height=\"240\" \/><\/p>\n<p><a href=\"https:\/\/www.gamingalexandria.com\/typingtaskforce\/Nintendo%20Family%20BASIC\/Hamlet%20Game\/Hamlet%20Game%20(Shogakukan%20Introductory%20Encyclopedia).zip\"><strong>Download ROM<\/strong><\/a><\/p>\n<p><strong>Notes: 2-Player Only, Keyboard Only<\/strong><\/p>\n<p><strong>Translated Article:<br \/>\n<\/strong>Simply put, it&#8217;s a four-in-one game, but except for the top row, you can&#8217;t place a tile on a sport that doesn&#8217;t already have a tile on it. If you want to place a tile on your own you have to come up with a strategy and force your opponent to place a tile first.<\/p>\n<p>Since this is a two-player game, you first decide wwho goes first by rock-paper-scissors. Mario goes first, and Luigi goes second. You can&#8217;t make the next move until Mario or Luigi reaches the right edge of the screen. The Famicom automatically decides whether or not the game is a win or a draw. No controller is used.<\/p>\n<p>How to use the keyboard:<\/p>\n<p>To start the game, type in RUN and press return. Start by pressing the 0, 7, 8, or 9 key. A buzzer will sound when you press the 1 key, and you can then re-enter the numbers using 1-6. When the game is over, you can restart the game by pressing Y and RETUNG. If you want to quit, press any key other than Y and press RETURN.<\/p>\n<p>Always make sure to press the RETURN key after choosing a number.<\/p>\n<p><strong>Code:<\/strong><\/p>\n<p>100 DIM T(6,6),CW(1),CP(1)<br \/>\n110 VIEW:SPRITE ON:C=1<br \/>\n120 CP(0)=10:CP(1)=1<br \/>\n130 CW(0)=40:CW(1)=4<br \/>\n140 CGSET 1,0<br \/>\n150 PALETS 0,9,54,22,2<br \/>\n160 PALETS 1,9,39,48,25<br \/>\n170 PALETS 2,9,23,23,23<br \/>\n180 PALETS 3,9,34,34,34<br \/>\n200 PALETB 0,9,38,23,34<br \/>\n500 FOR T=1 TO 36<br \/>\n510 IF C=1 THEN C=0:GOTO 530<br \/>\n520 IF C=0 THEN C=1<br \/>\n530 GOSUB 5000<br \/>\n540 GOSUB 2000<br \/>\n550 IF W&lt;&gt;0 GOTO 700<br \/>\n560 NEXT<br \/>\n700 IF W=0 THEN P$=&#8221;\u30d2\u30ad\u30af\u30b1\u30c7\u30b9&#8221;:GOTO 750<br \/>\n710 IF C=0 THEN P$=&#8221;\u30de\u30ea\u30aa \u30ce \u30ab\u30c1!!&#8221;<br \/>\n720 IF C=1 THEN P$=&#8221;\u30eb\u30a4-\u30b8 \u30ce \u30ab\u30c1!!&#8221;<br \/>\n750 LOCATE 5,21:PRINT P$;<br \/>\n800 LOCATE 0,22:INPUT&#8221;\u30e2\u30a61\u30ab\u30a4 \u30b9\u30eb\u30c8\u30ad\u30cf Y \u30f2 \u30aa\u30b7\u30c6\u30cd&#8221;,IX$<br \/>\n820 IF IX$=&#8221;Y&#8221; THEN RUN<br \/>\n830 END<br \/>\n2000 &#8216;<br \/>\n2010 FOR I=1 TO 3<br \/>\n2020 FOR X=1 TO 6:IF W=1 GOTO 2040<br \/>\n2030 IF T(X,I)+T(X,I+1)+T(X,I+2)+T(X,I+3)=CW(C) THEN W=1<br \/>\n2040 NEXT<br \/>\n2050 FOR Y=1 TO 6:IF W=1 GOTO 2070<br \/>\n2060 IF T(I,Y)+T(I+1,Y)+T(I+2,Y)+T(I+3,Y)=CW(C) THEN W=1<br \/>\n2070 NEXT<br \/>\n2080 FOR Y=1 TO 3:IF W=1 GOTO 2100<br \/>\n2090 IF T(I,Y)+T(I+1,Y+1)+T(I+2,Y+2)+T(I+3,Y+3)=CW(C) THEN W=1<br \/>\n2100 NEXT<br \/>\n2110 FOR Y=1 TO 3:IF W=1 GOTO 2130<br \/>\n2120 IF T(I+3,Y)+T(I+2,Y+1)+T(I+1,Y+2)+T(I,Y+3)=CW(C) THEN W=1<br \/>\n2130 NEXT<br \/>\n2140 NEXT<br \/>\n2900 IF MOVE(0)&lt;&gt;0 GOTO 2900<br \/>\n2950 ERA 0<br \/>\n2990 RETURN<br \/>\n5000 &#8216;<br \/>\n5010 LOCATE 0,5<br \/>\n5020 IF C=0 THEN PRINT &#8220;\u30de\u30ea\u30aa &#8220;;<br \/>\n5030 IF C=1 THEN PRINT &#8220;\u30eb\u30a4-\u30b8&#8221;;<br \/>\n5040 PRINT &#8220;\u30b5\u30f3\u30c7\u30b9&#8221;<br \/>\n5050 BEEP<br \/>\n5060 IX$=INKEY$:IF IX$=&#8221;&#8221; GOTO 5060<br \/>\n5070 IX=VAL(IX$)<br \/>\n5080 IF IX&lt;1 OR IX&gt;6 THEN PLAY &#8220;O0C2#CC&#8221;:GOTO 5060<br \/>\n5090 IF T(IX,1)&lt;&gt;0 THEN PLAY &#8220;O0C2#CC&#8221;:GOTO 5060<br \/>\n5100 DEF MOVE(0)=SPRITE(0,3,1,121,0,C)<br \/>\n5110 POSITION 0,0,192<br \/>\n5120 MOVE 0<br \/>\n5130 DEF SPRITE 0,(C+2,1,1,0,0)=CHR$(253)+CHR$(253)+CHR$(253)+CHR$(253)<br \/>\n5140 FOR I=230 TO 24 STEP -1<br \/>\n5150 SPRITE 0,32,I<br \/>\n5160 NEXT<br \/>\n5200 FOR I=1 TO 6<br \/>\n5210 IF T(IX,I)=0 THEN IY=I<br \/>\n5220 NEXT<br \/>\n5230 FOR I=32 TO IX*24+64<br \/>\n5240 SPRITE 0,I,24<br \/>\n5250 NEXT<br \/>\n5260 FOR I=32 TO IY*24+24<br \/>\n5270 SPRITE 0,IX*24+64,I<br \/>\n5280 NEXT<br \/>\n5300 T(IX,IY)=CP(C)<br \/>\n5310 IF C=0 THEN P$=CHR$(254)+CHR$(254)<br \/>\n5320 IF C=1 THEN P$=CHR$(255)+CHR$(255)<br \/>\n5330 LOCATE IX*3+6,IY*3<br \/>\n5340 PRINT P$<br \/>\n5350 LOCATE IX*3+6,IY*3+1<br \/>\n5360 PRINT P$<br \/>\n5370 PLAY &#8220;O3C0:O3F0:O3A0&#8221;<br \/>\n5380 SPRITE 0<br \/>\n5390 RETURN<\/p>\n","protected":false},"excerpt":{"rendered":"<p><a class=\"moretag\" href=\"https:\/\/www.gamingalexandria.com\/wp\/2025\/10\/hamlet-game\/\"> <\/a><\/p>\n","protected":false},"author":18,"featured_media":27128,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1032],"tags":[980,477,997,981],"class_list":["post-27127","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-type-in-programs-nintendo-family-basic","tag-family-basic","tag-source-code","tag-type-in-code","tag-type-in-programs"],"_links":{"self":[{"href":"https:\/\/www.gamingalexandria.com\/wp\/wp-json\/wp\/v2\/posts\/27127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.gamingalexandria.com\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gamingalexandria.com\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gamingalexandria.com\/wp\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gamingalexandria.com\/wp\/wp-json\/wp\/v2\/comments?post=27127"}],"version-history":[{"count":1,"href":"https:\/\/www.gamingalexandria.com\/wp\/wp-json\/wp\/v2\/posts\/27127\/revisions"}],"predecessor-version":[{"id":27129,"href":"https:\/\/www.gamingalexandria.com\/wp\/wp-json\/wp\/v2\/posts\/27127\/revisions\/27129"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.gamingalexandria.com\/wp\/wp-json\/wp\/v2\/media\/27128"}],"wp:attachment":[{"href":"https:\/\/www.gamingalexandria.com\/wp\/wp-json\/wp\/v2\/media?parent=27127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gamingalexandria.com\/wp\/wp-json\/wp\/v2\/categories?post=27127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gamingalexandria.com\/wp\/wp-json\/wp\/v2\/tags?post=27127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}