Skip to main content

Picross python


A Picross made in Python with Turtle

Picross From Mario's Picross On Game Boy and various picross S games from nintendo switch

[!WARNING] For MacOs must be run as admin with Sudo and accessibility

[!NOTE] Some Picross like 2,7,8 are large (15x15) and can be quite slow for more representative and playable Picross try the 10x10 and 5x5 ones

Base of game

Controls

This is a Picross game so you need to know the basics of Picross:

You can :

  • Move
  • Place Block (1) and Diamonds(2)

(1) - The Block is what you need to place on precise coordinate to make the shape of the Picross and finish the Picross

(2) - Technically, the diamond is optional but basically the diamond can helps you figuring out where to place the remainings blocks

Goal of the game

In Picross, you have a shape (generally a square) of X*X blocks with numbers on the sides.

Each numbers is how many block you have in the line for example :

2 3 1

This mean in first you 2 consecutives blocks and a void(diamond) of 1 or more after you get 3 consecutives blocks and a void or more and finally one block.

Tips

if your grid is for example 10 by 10 and you need just to place 6 blocks , what you can do is count the number of block from each side, and then place block at the overlapping coordinate

6 | # # # # # # _ _ _ _ | from left to right

6 | _ _ _ _ # # # # # # | from right to left

6 | + + + + X X + + + + | only the two at center are overlapping

X= blocks (overlapping ones)
+= non-overlapping blocks
#= counting block from each side.
_= No blocks

Take your time you are not limited by time

Features

  • Teleport cursor when on the side to get to the other side
  • Blocks and Diamonds
  • Various Picross from 5x5 to 15x15
  • Main menu
  • Selection Menu after finishing a Picross

Included Picross

  1. Castle from Picross S (5X5)
  2. Game Boy from Mario's Picross (15X15)
  3. Snail from Mario's Picross (10x10)
  4. Glove from Mario's Picross (10x10)
  5. Star from Mario's Picross (10x10)
  6. Spike from Mario's Picross (10x10)
  7. Burger from Mario's Picross (15X15)
  8. Phone from Mario's Picross (15X15)
  9. P like Picross made by myself (5X5)

Quick Start

With pip

You can download the project with:

pip install picross-python

and then launch it with:

sudo picross-python

From source

The first way to use my project is to clone the repo and launch it with :

git clone https://github.com/C3A5M7/Picross-py.git
cd Picross-py

then install turtle and keyboard:

pip install turtle keyboard

then you can just launch the program with:

sudo python3 Picross-game-in-py.py

AI use

  • As mention above AI was used to help me port picross into list because it would take a lot of time (i still made the plan of list but the value are from the AI and tested after to see if everything was correct)

  • No other part of the code was made by or assisted by AI

  • only 2,3,4,5,6,7,8 are ported by AI 1 and 9 are by me

License

This project use the MIT License, and deserve credit if used in any kind

Metadata

Release files for picross-python 1.0.1

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

Source distribution (sdist)

Source distribution for picross-python 1.0.1
File Size Uploaded Provenance Actions
picross_python-1.0.1.tar.gz 83.5 kB Without provenance Details for picross_python-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for picross-python 1.0.1
File Interpreter ABI Platform Actions
picross_python-1.0.1-py3-none-any.whl Python 3 none any Details for picross_python-1.0.1-py3-none-any.whl

Total release size: 92.0 kB

Release files / picross_python-1.0.1.tar.gz

Download URL picross_python-1.0.1.tar.gz
Size 83.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9f0893d4a72a63f1b8a7060bdf5ebcf909ded97631db04fa8177c6890fc8531e
BLAKE2b-256 checksum
How to use checksums
84e4e972992766fa9eb8918d83b9fe0b641ff55ed1d408822994120386c53e8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Release files / picross_python-1.0.1-py3-none-any.whl

Download URL picross_python-1.0.1-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5dc2f95620bdd05cd5d10bade5127bad00039316dacc6cc3564587e4807e2d46
BLAKE2b-256 checksum
How to use checksums
198aaf8c89ccff65d00c99cad544072be8266695cd4f5fbafe29b9e976f5e053
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Security for picross-python 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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