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

📄 machiavelli.html.en

📁 一个扑克牌游戏集合的源码,包含了很多基本c-c++语言应用
💻 EN
字号:
<!-- -*-HTML-*- --><!-- $Id: Machiavelli.html.en,v 1.9 2006/08/08 02:45:10 markus Rel $ --><!--  Copyright (C) 2003 - 2006 Markus Schwab (g17m0@lycos.com)  This is free software; you can redistribute it and/or  modify it under the terms of the GNU General Public  License as published by the Free Software Foundation; either  version 2 of the License, or (at your option) any later version.  This is distributed in the hope that it will be useful,  but WITHOUT ANY WARRANTY; without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  General Public License for more details.  You should have received a copy of the GNU General Public License  along with this program; if not, write to the Free Software  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.--><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"        "http://www.w3.org/TR/html4/strict.dtd"><html>  <head>    <title>Machiavelli - Order (and re-order) cards til you have no more</title>    <meta name="description" content="Documentation of the Machiavelli cardgame">    <meta name="keywords" content="Documentation, Docu, Machiavelli, game, card, cardgame">    <meta name="DC.Creator" content="Markus Schwab">    <meta name="DC.Date" content="2003-11-30">    <meta name="DC.Rights" content="Copyright (C) 2003 - 2006, distributed under the GNU Free Documentation License">  </head>  <body>    <h1 align="center">Machiavelli</h1>    <hr size=2>    <p>I learned Machiavelli from a swiss bloke, who itself learned it from      italiens (which in turn might have learned it from someone else). And      actually I'm not even sure, if the name is right ...</p>    <p>Anyway, it is a shedding-type card game played by 4 sets of      52-card decks.</p>    <h2>Dealing</h2>    <p>Every player starts with 7 cards in his hand. The remaining      ones are put into the deck.</p>    <p>A randomly selected player starts the game; the others start      the next ones in turn.</p>    <h2>Playing</h2>    <p>In the beginning of the turn the player takes a card from the      deck (this happens automatically).    <p>Then he can put down "matching" cards &mdash; either making a      new pile on the table or adding cards to existing piles &mdash;      and that way get rid of its cards. "Matching" means that either      the numbers must be equal (independend of the colour, but each      colour only once) or the colour and the numbers are in a      sequence (Ace (as one), two, three, ..., ten, jack, queen, king,      ace).</p>    <p>For that he can also use cards from existing piles, re-sort      them however he likes, build new piles (even with cards from      existing piles) - in a nutshell doing as he likes, as long as at      the end of its turn all piles have at least 3 cards and follow      the rules above.</p>    <p>The cards are played and/or sorted with drag and drop<a      href="#Note1"><sup>1</sup></a>.      <p>If the player can't or won't continue, follows the next player      still having cards (counter-clockwise). This end of the turn is      indicated by clicking in the (accordingly named) button or in      the pile of the reserve.</p>    <p>The last player still having cards loses.</p>    <p>The status line gives some information about what's going on!</p>    <h2>Note to the layout</h2>    <p>After starting a game you have (from left to right and from top to      bottom):</p>    <ul>      <li>The deck: A heap of cards (with face down), from where you        take up new cards (if you put the mouse over it you are        informed about the remaining cards).</li>      <li>The cards of the player. Presorted by colour, but        re-sortable with drag and drop<a href="#Note1"><sup>1</sup></a> or	the menu.</li>      <li>The piles on the table. Cards can be added to that piles        with drag und drop<a href="#Note1"><sup>1</sup></a> (if        it is the turn of the player). Note that both cards from the hand of        the player as cards already on the table can be moved.</li>      <li>In the last row are the cards of the other players.</li>     </ul>    <hr size=1 noshade>    <p style="text-indent:-0.3cm;margin-left:0.3cm"><a name="Note1"></a>1)      Drag and drop means clicking with the a mouse button on the card,      holding the button and then dragging the card to its destination.      The end of this activity is signaled by releasing the button.</p>    <hr size=3 noshade>    <table width="100%">      <tr>        <td width="*">          <address>            <a href="mailto:g17m0@lycos.com">Markus Schwab (g17m0@lycos.com)</a><br>          </address>        </td>        <td><a href="Hearts.html.en">Previous</a><br>(Hearts)</td>        <td><a href="CardCol.html.en">Cardgames</a></td>        <td><a href="R%C3%B8vhult.html.en">Next</a><br>(R&oslash;vhult)</td>      </tr>    </table>  </body></html>

⌨️ 快捷键说明

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