Skip to main content

一個產生出CandyCrush初始table的小工具

Prerequisities

本套件pythno2跟python3皆通用
若不能執行麻煩回報Pull Requests

Installing

  • 安裝 Install:pip install CandyTable

Running & Testing

Run

執行下列指令:

import CandyTable
c = CandyTable.CandyTable(10,10)
c.main()
  • 輸入想要的顏色數量:

table3
  • 最高支援到35色,若初始圖片不可能讓三顆糖果連線,則自動refresh:

table35
table35-1
  • a.table:可以取得這張CandyTable的資訊

{ 10: u' 🍬 ', 11: u' 🍬 ', 12: u' 🍬 ', 13: u' 🍬 ', 14: u' 🍬 ', 15: u' 🍬 ', 16: u' 🍬 ', 17: u' 🍬 ', 18: u' 🍬 ', 19: u' 🍬 ', ... 108: u' 🍬 ', 109: u' 🍬 ' }

座標系統從左上角開始數
左上角為10 右下角為109 y座標為1到10,x座標為0到9
字串一樣代表該位置的糖果是一樣的。

Built With

  • python2.7

License

This package use GPL3.0 License.

Metadata

Release files for CandyTable 2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for CandyTable 2.4
File Size Uploaded
CandyTable-2.4.tar.gz 3.1 kB Details

Release files / CandyTable-2.4.tar.gz

Download URL CandyTable-2.4.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
aa075cc0a17219d34276bda70f04cf36f46a6baaa0b2450ebb8a542ba792ee7a
BLAKE2b-256 checksum
How to use checksums
ce86e73b2f14d854d933050addadb16ea60f1df474320c6469fefed6fb1ffe82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2.4 This release

1 release file

2.3

1 release file

2.2

1 release file

2.1

1 release file

2.0

1 release file

1.9

1 release file

1.8

1 release file

1.7

1 release file

1.6

1 release file

1.5

1 release file

1.4

1 release file

1.3

1 release file

1.2

1 release file

1.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page