1 <?xml version="1.0" encoding="iso-8859-1"?>
3 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
6 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
8 <title>File: clockwise-cloud.rb</title>
9 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10 <meta http-equiv="Content-Script-Type" content="text/javascript" />
11 <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12 <script type="text/javascript">
15 function popupCode( url ) {
16 window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
19 function toggleCode( id ) {
20 if ( document.getElementById )
21 elem = document.getElementById( id );
22 else if ( document.all )
23 elem = eval( "document.all." + id );
27 elemStyle = elem.style;
29 if ( elemStyle.display != "block" ) {
30 elemStyle.display = "block"
32 elemStyle.display = "none"
38 // Make codeblocks hidden by default
39 document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
50 <h1>clockwise-cloud.rb</h1>
51 <table class="header-table">
52 <tr class="top-aligned-row">
53 <td><strong>Path:</strong></td>
54 <td>src/clockwise-cloud.rb
57 <tr class="top-aligned-row">
58 <td><strong>Last Update:</strong></td>
59 <td>Fri Aug 31 20:04:34 +0100 2007</td>
63 <!-- banner header -->
65 <div id="bodyContent">
69 <div id="contextContent">
71 <div id="description">
74 Play one move of a Trap the Cap game
81 Game state file read on STDIN
82 Move produced on STDOUT
89 This program is free software: you can redistribute it and/or modify it
90 under the terms of the GNU General Public License as published by the Free
91 Software Foundation, either version 3 of the License, or (at your option)
95 This program is distributed in the hope that it will be useful, but WITHOUT
96 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
97 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
101 You should have received a copy of the GNU General Public License along
102 with this program. If not, see <<a
103 href="http://www.gnu.org/licenses">www.gnu.org/licenses</a>/>.
108 <div id="requires-list">
109 <h3 class="section-bar">Required files</h3>
111 <div class="name-list">
118 <div id="method-list">
119 <h3 class="section-bar">Methods</h3>
121 <div class="name-list">
122 <a href="#M000001">more_clockwise</a>
140 <!-- if method_list -->
142 <h3 class="section-bar">Public Instance methods</h3>
144 <div id="method-M000001" class="method-detail">
145 <a name="M000001"></a>
147 <div class="method-heading">
148 <a href="clockwise-cloud_rb.src/M000001.html" target="Code" class="method-signature"
149 onclick="popupCode('clockwise-cloud_rb.src/M000001.html');return false;">
150 <span class="method-name">more_clockwise</span><span class="method-args">(this, other)</span>
154 <div class="method-description">
165 <div id="validator-badges">
166 <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>