<br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><a target="_blank" href="https://www.bloc.io/ruby-warrior#/" style="color:#0000FF;text-decoration:none;font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;">https://www.bloc.io/ruby-warrior#/</a><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;">코딩으로 게임하는 루비 워리어!</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;">루비언어로 캐릭터를 조작하여 던전을 클리어하자!</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><a target="_blank" href="http://tutorials.jumpstartlab.com/projects/ruby_warrior.html" style="color:#0000FF;text-decoration:none;font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;">http://tutorials.jumpstartlab.com/projects/ruby_warrior.html</a><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;">위 주소는 루비워리어의 Level 6까지를 튜토리얼로 만듭겁니다.</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;">우선 클리어를 목표로! 다음은 최고 점수와 최저 턴을 목표로 클리어해봅시다!</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;">한글로 조금 적자면 </span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;">-1탄</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;">class Player</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"> def play_turn(warrior)</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"> # 이 아래에 코드를 적자("warrior.walk!"를 적으세요. 그럼 앞으로 갑니다!)</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"> # <-이 다음 적은 글씨는 코드에 아무 영향을 못줍니다.</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"> end</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;">end</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;">-2탄</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"> 적힌코드는 한턴에 한번끝까지 쓰입니다.</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;">2탄을 처리하려면 앞에 무엇이있나 판단해야합니다.</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;">그런 판단을 제어문이라고 합니다.</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"> 우선 판단하는 법을 알아봅시다.</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;">2 < 3 #사실입니다.(true)</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;">2 == 3 #같다를 컴퓨터에서는 ==로 표시합니다. 다르다는 !=입니다. 결과는 거짓(false)</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;">2 <= 3 #작거나 같다를 표시합니다.</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;">제어문으로는 If문을 사용합시다.</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><span style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;">If 사용법</span><br style="font-family:'굴림', gulim, '돋움', Dotum, Helvetica, AppleGothic, sans-serif;line-height:21.6000003814697px;"><pre style="line-height:21.6000003814697px;"><code class="ruby"><span class="line"><span class="k">if</span> <span class="n">판단할것["warrior.feel.empty? == true</span></span></code><code class="ruby"><span class="line"><span class="n"><code class="ruby"><span class="line"><span class="n">"</span></span></code>(또 혹은 != 등)을 사용합시다.]</span></span><span class="line"> <br><span class="c1"># 위의 판단이 사실일 경우 할 행동</span></span><span class="line"><span class="k"><br>else<br></span> </span><span class="line"><span class="c1"># 위의 판단이 거짓일 경우 할 행동<br></span></span><span class="line"><span class="k">end<br><br>이 두가지를 이용하여 </span>클리어해봅시다. <br><br><br>-3탄 <br> 졸립습니다. <br>기본적으로 게임 패배시 나오는 팁과 <br></span></code><code class="ruby"><a target="_blank" href="http://tutorials.jumpstartlab.com/projects/ruby_warrior.html" style="color:#0000FF;text-decoration:none;">http://tutorials.jumpstartlab.com/projects/ruby_warrior.html</a>를 보시면 클리어 가능합니다.<br>감이 안오신다면 <br><a target="_blank" href="http://blog.naver.com/PostView.nhn?blogId=rintiantta&logNo=40117318109&categoryNo=134&parentCategoryNo=0&viewDate=%C2%A4tPage=4&postListTopCurrentPage=&userTopListOpen=true&userTopListCount=5&userTopListManageOpen=false&userTopListCurrentPage=4" style="color:#0000FF;text-decoration:none;">c언어 강좌(링크)</a></code>를 함수까지 보시고 <a target="_blank" href="http://www.joinc.co.kr/modules/moniwiki/wiki.php/Site/Ruby/Tutorial01" style="color:#0000FF;text-decoration:none;">루비 기초 튜토리얼(링크)를</a> 보시면 저기에 무엇이 써졌있나 이해가능해 질겁니다.<br>이렇게 무책임하게 사라집니다.</pre>
<a href="http://imgur.com/jueGZTx"><img src="http://i.imgur.com/jueGZTx.jpg" title="source: imgur.com" alt="jueGZTx.jpg"></a>
댓글 분란 또는 분쟁 때문에 전체 댓글이 블라인드 처리되었습니다.