关于一个游戏

源代码在线查看: javabeangame1.jsp.bak

软件大小: 7 K
上传用户: jecksonchen
关键词:
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
				
					
						Guess Game
					
					
						function validate(guessform){
							if(guessform.guessNum.value.length==0){
								alert("please input your guess!");
								guessform.guessNum.select();
								return false;
							}
							if(isNaN(guessform.guessNum.value)){
								alert("please input a number!");
								guessform.guessNum.select();
								return false;
							}
							return true;
						}
					
					
						Number Guess Game 
						
													if(!game.isSuccess()){
						%>
						please input  your guess between 1 and 100:
						
							
								
									your guess:
									
								
								
									
										    
										
									
								
							
							
													}
						%>
													if(game.getMessage()!=null){
						%>
						
													}
						%>
						
						you have got 
													if(game.isSuccess()){
						%>
						
						
						
						play again
						
					
							

相关资源