level 1
倜傥还儒雅丶东青00
楼主
uses crt,dos;
var
a,k,s:longint;
procedure jm(a:longint);
begin
read(a);
if a='w' then
begin
if s<2 then
begin
s:=s-1;
end;
end;
if a='s' then
begin
if s>1 then
begin
s:=s+1;
end;
if s=1 then
begin
begin
textbackgroun(green);
writeln('游戏开始');
end;
begin
writeln('游戏说明');
end;
end;
if s=1 then
begin
begin
writeln('游戏开始');
end;
begin
textbackgroun(green);
writeln('游戏说明');
end;
end;
if a='Y' then writeln('game');
else jm(s);
end;
begin
begin
textbackgroun(green);
writeln('游戏开始');
end;
begin
writeln('游戏说明');
end;
s:=1;
read(k);
jm(k);
end.
2014年01月03日 09点01分
1
var
a,k,s:longint;
procedure jm(a:longint);
begin
read(a);
if a='w' then
begin
if s<2 then
begin
s:=s-1;
end;
end;
if a='s' then
begin
if s>1 then
begin
s:=s+1;
end;
if s=1 then
begin
begin
textbackgroun(green);
writeln('游戏开始');
end;
begin
writeln('游戏说明');
end;
end;
if s=1 then
begin
begin
writeln('游戏开始');
end;
begin
textbackgroun(green);
writeln('游戏说明');
end;
end;
if a='Y' then writeln('game');
else jm(s);
end;
begin
begin
textbackgroun(green);
writeln('游戏开始');
end;
begin
writeln('游戏说明');
end;
s:=1;
read(k);
jm(k);
end.