|
|
|
 |
|
Console.WriteLine("1.전투 시작");
Console.WriteLine("2.상점");
Console.WriteLine("4. 종료");
Console.WriteLine("게임 종료");
Console.WriteLine("===전투=== ");
Console.WriteLine();
Console.WriteLine("1. 공격");
Console.WriteLine("3.도망");
텍스트RPG 게임만들기
C#텍스트RPG 만들기
Class Gam eController
MainLoop에 추가
오류나는 부분m bExit 수정
MainLoop 실행작성
코드 형태만 달라.. |
|
 |
console, writeline, hp, tostring, 입력, mname, 이름, 플레이어, string, at, form, 체력, 력, 부분, mplayer, if, 작성, gam, econtroller, mhp |
|
|
|
|
 |
|
Console.WriteLine("1.전투 시작");
Console.WriteLine("2.상점");
Console.WriteLine("4. 종료");
Console.WriteLine("게임 종료");
Console.WriteLine("===전투=== ");
Console.WriteLine();
Console.WriteLine("1. 공격");
Console.WriteLine("3.도망");
텍스트RPG 게임만들기
C#텍스트RPG 만들기
Class Gam eController
MainLoop에 추가
오류나는 부분m bExit 수정
MainLoop 실행작성
코드 형태만 달라.. |
|
 |
console, writeline, hp, tostring, 입력, mname, 이름, 플레이어, string, at, form, 체력, 력, 부분, mplayer, if, 작성, gam, econtroller, mhp |
|
|
|
|
 |
|
Console.WriteLine("2.상점");
Console.WriteLine("4. 종료");
Console.WriteLine("===전투=== ");
Console.WriteLine();
Console.WriteLine("1. 공격");
Console.WriteLine("3.도망");
monster.Attack(mPlayer);
mPlayer.Attack(monster) 수정
텍스트RPG 게임만들기
C#텍스트RPG 만들기
Console.Write("플레이어의 이름을 입력하세요>> ");// 플레이어 이름을 입력하세 요출력
stringplayerName=Console.Re.. |
|
 |
console, writeline, 플레이어, 입력, 수정, 력, 값, 이름, monster, mplayer, 배틀, 공격, 프로세스, if, 맨더, 크다, 구현, 부분, true, 반환 |
|
|
|
|
 |
|
Console.WriteLine("2.상점");
Console.WriteLine("4. 종료");
Console.WriteLine("===전투=== ");
Console.WriteLine();
Console.WriteLine("1. 공격");
Console.WriteLine("3.도망");
monster.Attack(mPlayer);
mPlayer.Attack(monster) 수정
텍스트RPG 게임만들기
C#텍스트RPG 만들기
Console.Write("플레이어의 이름을 입력하세요>> ");// 플레이어 이름을 입력하세 요출력
stringplayerName=Console.Re.. |
|
 |
console, writeline, 플레이어, 입력, 수정, 력, 값, 이름, monster, mplayer, 배틀, 공격, 프로세스, if, 맨더, 크다, 구현, 부분, true, 반환 |
|
|
|
|
 |
|
Console.WriteLine("2.상점");
Console.WriteLine("4. 종료");
Console.WriteLine("게임 종료");
Console.WriteLine("===전투=== ");
Console.WriteLine();
Console.WriteLine("1. 공격");
Console.WriteLine("3.도망");
if(!monster.IsA ive())
C#텍스트RPG 만들기
stringplayerName=Console.ReadLine();// 플레이어 이름을 입력
유저의 입력을 처리하는 상태 부분
Console.WriteLine("===로비=== ");
Cons.. |
|
 |
console, writeline, hp, 력, 이름, 체력, tostring, mname, monster, 플레이어, 입력, form, at, string, if, true, 캐릭터, 공격, 방어, mplayer |
|
|
|
|
 |
|
Console.WriteLine("2.상점");
Console.WriteLine("4. 종료");
Console.WriteLine("게임 종료");
Console.WriteLine("===전투=== ");
Console.WriteLine();
Console.WriteLine("1. 공격");
Console.WriteLine("3.도망");
if(!monster.IsA ive())
C#텍스트RPG 만들기
stringplayerName=Console.ReadLine();// 플레이어 이름을 입력
유저의 입력을 처리하는 상태 부분
Console.WriteLine("===로비=== ");
Cons.. |
|
 |
console, writeline, hp, 력, 이름, 체력, tostring, mname, monster, 플레이어, 입력, form, at, string, if, true, 캐릭터, 공격, 방어, mplayer |
|
|
|
|
|
 |
1 |
 |
|
|
|