가위 바위 보 게임 ( 델파이)
본 자료는 1페이지 의 미리보기를 제공합니다. 이미지를 클릭하여 주세요.
닫기
  • 1
  • 2
  • 3
  • 4
  • 5
해당 자료는 1페이지 까지만 미리보기를 제공합니다.
1페이지 이후부터 다운로드 후 확인할 수 있습니다.

목차

1. 디자인 & 속성설정

2. Coding

3. 실행

본문내용

ext:='비겼다.';
end;
if (m=0) and (s=1) then
begin
edit1.Text:='졌다.';
edit2.Text:='이겼다.';
end;
if (m=0) and (s=2) then
begin
edit1.Text:='이겼다.';
edit2.Text:='졌다.';
end
end;
begin
if (m=1) and (s=1) then
begin
edit1.text:='비겼다.';
edit2.Text:='비겼다.';
end;
if (m=1) and (s=2) then
begin
edit1.Text:='졌다.';
edit2.Text:='이겼다.';
end;
if (m=1) and (s=0) then
begin
edit1.Text:='이겼다.';
edit2.Text:='졌다.';
end;
end;
begin
if (m=2) and (s=2) then
begin
edit1.text:='비겼다.';
edit2.Text:='비겼다.';
end;
if (m=2) and (s=0) then
begin
edit1.Text:='졌다.';
edit2.Text:='이겼다.';
end;
if (m=2) and (s=1) then
begin
edit1.Text:='이겼다.';
edit2.Text:='졌다.';
end;
end;
end;
end;
end;
end.
3. 실행
가위 바위 보 중에 하나를 Player 가 선택을 한다.
그리고 시작 버튼을 누르면 Player 는 선택한 가위 바위 보 중에 하나가
나오고 Com 은 랜덤으로 가위 바위 보 가 나온다.
그래서 결과로 이기고 지고 비기는 것을 보여준다.
  • 가격2,000
  • 페이지수5페이지
  • 등록일2007.03.25
  • 저작시기2002.10
  • 파일형식한글(hwp)
  • 자료번호#400695
본 자료는 최근 2주간 다운받은 회원이 없습니다.
다운로드 장바구니