⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rules.html

📁 以 applet 形式 实现大富翁 ,java 环境开发
💻 HTML
字号:
<html>
<head>
	<title>Java Monopoly</title>
    <style> DIV  {
 	position : absolute;
 }
 
 A:hover  {
 	color : red;
 }
 
 A  {
 	color : Navy;
 	text-decoration : none;
 }
 
 #divText  {
 	font-family : arial,helvetica;
 	font-size : 12px;
 	width : 450;
 	visibility : hidden;
	z-index:10;
 }
 
 #divScroll  {
 	width : 25;
 	height : 100;
 	visibility : hidden;
 	z-index : 350;
 	z-index : 11;
 }
 
 #divCont  {
 	position : absolute;
 	width : 180;
 	left : 35;
 	top : 35;
 	height : 200;
 	clip : rect(0,180,200,0);
 	overflow : hidden;
	z-index:10
 }
#divImg{position:absolute; width:300; height:300; visibility:hidden; z-index:50}
 SPAN.clHead{font-weight:bold; font-size:18px; font-family:arial,helvetica}
 </style>
<script language="JavaScript1.2" src="mainscript.js"></script>
<script language="JavaScript1.2">
/********************************************************
All scripts are made by Thomas Brattli for Studio Pontaccio.
Copyright 1999. Pontaccio. All rights reserved.
May not be used anywhere else under no circumstances.
*********************************************************/
function init(){
	page=new makePageCoords()
	oText=new makeObj('divText')
	oScroll=new makeObj('divScroll')
	oText.moveIt(page.x50-225,-oText.scrollHeight+20)
	oText.slideIt(page.x50-225,20,10,20)
	oScroll.moveIt(page.x50+250,page.y50-20)
	oText.showIt()
	oScroll.showIt()
}
/********************************************************
scroll!
*********************************************************/
//Preloading images
preScroll=new Image(); preScroll.src="scroll.gif"
preScroll1=new Image(); preScroll1.src="scroll1.gif"
preScroll2=new Image(); preScroll2.src="scroll2.gif"
//Scrolling
var ifr_loop;
function ifrScrollUp(){
	if(oText.y<=20){
		oScroll.ref.imgScroll.src=preScroll1.src
		oText.moveBy(0,10)
		if(ifr_loop) ifr_loop=setTimeout("ifrScrollUp()",50)
	}
}
function ifrScrollDown(){
	if(oText.y>=-(oText.scrollHeight-page.y2+30)){
		oScroll.ref.imgScroll.src=preScroll2.src
		oText.moveBy(0,-10)
		if(ifr_loop) ifr_loop=setTimeout("ifrScrollDown()",50)
	}
}
//Noscroll
function noscroll(){
	clearTimeout(ifr_loop)
	oScroll.ref.imgScroll.src=preScroll.src
	ifr_loop=false
}
function showMap(){
	test=window.open('map.html','','toolbar=no,height=340px,width=330px')
}
</script>
</head>

<body bgcolor="White" onload="setTimeout('init()',500)">
<map name="mapScroll">
	<area shape="rect" coords="0,0,26,25" href="#" onclick="return false" onmouseover="noscroll(); ifr_loop=true; ifrScrollUp()" onmouseout="noscroll()">
	<area shape="rect" coords="0,30,26,57" href="#" onclick="return false" onmouseover="noscroll(); ifr_loop=true; ifrScrollDown()" onmouseout="noscroll()">  
</map>
<div id="divScroll">
	<img src="scroll.gif" name="imgScroll" width=26 height=58 alt="" border=0 usemap="#mapScroll">
</div>
<div id="divText">
        <b><font size="3" face="Arial Black">Rules for Monopoly:</font></b>
        <table>
          <tr>
            <td><img border="0" height="1" src="spacer.gif" width="40"></td>
            <td colSpan="3"><b><font face="Arial, Helvetica" size="2">OBJECT</font></b><font face="Arial, Helvetica" size="2"><br>
              The object of the game is to become the wealthiest player through
              buying, renting and selling property.<a name="2"><br>
              &nbsp;<br>
              </a></font></td>
          </tr>
          <tr>
            <td><img border="0" height="1" src="spacer.gif" width="40"></td>
            <td colSpan="3"><b><font face="Arial, Helvetica" size="2">EQUIPMENT</font></b><font face="Arial, Helvetica" size="2"><br>
              The equipment consists of a board, 2 dice, tokens, 32 houses and
              12 hotels. There are Chance and Community Chest cards, a Title
              Deed card for each property and play money.<a name="3"><br>
              &nbsp;<br>
              </a></font></td>
          </tr>
          <tr>
            <td><img border="0" height="1" src="spacer.gif" width="40"></td>
            <td colSpan="3"><b><font face="Arial, Helvetica" size="2">PREPARATION</font></b><font face="Arial, Helvetica" size="2"><br>
              Place the board on a table and put the Chance and Community Chest
              cards face down on their allotted spaces on the board. Each player
              chooses one token to represent him/her while traveling around the
              board.<br>
              &nbsp;<br>
              Each player is given $1500 divided as follows: 2 each of $500's,
              $100's and $50's; 6 $20's; 5 each of $10's, $5's and $1's.<br>
              &nbsp;<br>
              All remaining money and other equipment go to the Bank.<a name="4"><br>
              &nbsp;<br>
              </a></font></td>
          </tr>
          <tr>
            <td><img border="0" height="1" src="spacer.gif" width="40"></td>
            <td colSpan="3"><b><font face="Arial, Helvetica" size="2">BANKER</font></b><font face="Arial, Helvetica" size="2"><br>
              Select as Banker a player who will also make a good Auctioneer. A
              Banker who plays in the game must keep his/her personal funds
              separate from those of the Bank. When more than five persons play,
              the Banker may elect to act only as Banker and Auctioneer.<a name="5"><br>
              &nbsp;<br>
              </a></font></td>
          </tr>
          <tr>
            <td><img border="0" height="1" src="spacer.gif" width="40"></td>
            <td colSpan="3"><b><font face="Arial, Helvetica" size="2">THE BANK</font></b><font face="Arial, Helvetica" size="2"><br>
              Besides the Bank's money, the Bank holds the Title Deed cards and
              houses and hotels prior to purchase and use by the players. The
              Bank pays salaries and bonuses. It sells and auctions properties
              and hands out the proper Title Deed cards; it sells houses and
              hotels to the players and loans money when required on mortgages.<br>
              &nbsp;<br>
              The Bank collects all taxes, fines, loans and interest, and the
              price of all properties which it sells and auctions.<br>
              &nbsp;<br>
              The Bank never &quot;goes broke.&quot; If the Bank runs out of
              money, the Banker may issue as much more as may be needed by
              writing on any ordinary paper.<a name="6"><br>
              &nbsp;<br>
              </a></font></td>
          </tr>
          <tr>
            <td><img border="0" height="1" src="spacer.gif" width="40"></td>
            <td colSpan="3"><b><font face="Arial, Helvetica" size="2">THE PLAY</font></b><font face="Arial, Helvetica" size="2"><br>
              Starting with the Banker, each player in turn throws the dice. The
              player with the highest total starts the play: Place your token on
              the corner marked &quot;GO,&quot; throw the dice and move your
              token in the direction of the arrow the number of spaces indicated
              by the dice. After you have completed your play, the turn passes
              to the left. The tokens remain on the spaces occupied and proceed
              from that point on the player's next turn. Two or more tokens may
              rest on the same space at the same time.<br>
              &nbsp;<br>
              According to the space your token reaches, you may be entitled to
              buy real estate or other properties--or obliged to pay rent, pay
              taxes, draw a Chance or Community Chest card, &quot;Go to Jail

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -