CandyTable compatible to python2 and python3
Project description
<h1><a id="CandyTable_0"></a>CandyTable</h1>
<p>一個產生出CandyCrush初始table的小工具</p>
<h2><a id="Prerequisities_4"></a>Prerequisities</h2>
<p>本套件pythno2跟python3皆通用<br><br>
若不能執行麻煩回報<code>Pull Requests</code></p>
<h2><a id="Installing_9"></a>Installing</h2>
<ul>
<li>安裝 Install:<code>pip install CandyTable</code></li>
</ul>
<h2><a id="Running__Testing_13"></a>Running & Testing</h2>
<h2><a id="Run_15"></a>Run</h2>
<p>執行下列指令:</p>
<pre><code>import CandyTable
c = CandyTable.CandyTable(10,10)
c.main()
</code></pre>
<ul>
<li>
<p>輸入想要的顏色數量: <img src="candy3.png" alt="table3"></p>
</li>
<li>
<p>最高支援到35色,若初始圖片不可能讓三顆糖果連線,則自動refresh: <img src="candy35_refresh.png" alt="table35"></p>
<p><img src="candy35final.png" alt="table35-1"></p>
</li>
<li>
<p>取得這張CandyTable的資訊:<br><br>
<code>a.table</code>:</p>
<pre><code>{
10: u'[0;33;40m 🍬 [0m',
11: u'[0;33;40m 🍬 [0m',
12: u'[0;32;40m 🍬 [0m',
13: u'[0;31;40m 🍬 [0m',
14: u'[0;33;40m 🍬 [0m',
15: u'[0;33;40m 🍬 [0m',
16: u'[0;32;40m 🍬 [0m',
17: u'[0;31;40m 🍬 [0m',
18: u'[0;33;40m 🍬 [0m',
19: u'[0;32;40m 🍬 [0m',
...
108: u'[0;33;40m 🍬 [0m',
109: u'[0;33;40m 🍬 [0m'
}
</code></pre>
<p>x座標為1<sub>10,y座標為0</sub>9<br><br>
字串一樣代表該位置的糖果是一樣的。</p>
</li>
</ul>
<h2><a id="Built_With_54"></a>Built With</h2>
<ul>
<li>python2.7</li>
</ul>
<h2><a id="License_58"></a>License</h2>
<p>This package use <code>GPL3.0</code> License.</p>
<p>一個產生出CandyCrush初始table的小工具</p>
<h2><a id="Prerequisities_4"></a>Prerequisities</h2>
<p>本套件pythno2跟python3皆通用<br><br>
若不能執行麻煩回報<code>Pull Requests</code></p>
<h2><a id="Installing_9"></a>Installing</h2>
<ul>
<li>安裝 Install:<code>pip install CandyTable</code></li>
</ul>
<h2><a id="Running__Testing_13"></a>Running & Testing</h2>
<h2><a id="Run_15"></a>Run</h2>
<p>執行下列指令:</p>
<pre><code>import CandyTable
c = CandyTable.CandyTable(10,10)
c.main()
</code></pre>
<ul>
<li>
<p>輸入想要的顏色數量: <img src="candy3.png" alt="table3"></p>
</li>
<li>
<p>最高支援到35色,若初始圖片不可能讓三顆糖果連線,則自動refresh: <img src="candy35_refresh.png" alt="table35"></p>
<p><img src="candy35final.png" alt="table35-1"></p>
</li>
<li>
<p>取得這張CandyTable的資訊:<br><br>
<code>a.table</code>:</p>
<pre><code>{
10: u'[0;33;40m 🍬 [0m',
11: u'[0;33;40m 🍬 [0m',
12: u'[0;32;40m 🍬 [0m',
13: u'[0;31;40m 🍬 [0m',
14: u'[0;33;40m 🍬 [0m',
15: u'[0;33;40m 🍬 [0m',
16: u'[0;32;40m 🍬 [0m',
17: u'[0;31;40m 🍬 [0m',
18: u'[0;33;40m 🍬 [0m',
19: u'[0;32;40m 🍬 [0m',
...
108: u'[0;33;40m 🍬 [0m',
109: u'[0;33;40m 🍬 [0m'
}
</code></pre>
<p>x座標為1<sub>10,y座標為0</sub>9<br><br>
字串一樣代表該位置的糖果是一樣的。</p>
</li>
</ul>
<h2><a id="Built_With_54"></a>Built With</h2>
<ul>
<li>python2.7</li>
</ul>
<h2><a id="License_58"></a>License</h2>
<p>This package use <code>GPL3.0</code> License.</p>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
CandyTable-1.6.tar.gz
(3.2 kB
view hashes)