✧˖°. Pycross .°˖✧

Logo

Pixel art of Python logo

View the Project on GitHub olincollege/pycross

Welcome to Pycross: Picross Puzzles

A picross game coded in Python

What is Picross

Picross is a puzzle game, sometimes known as nonograms or hanjie, in which the player solves clues to create a pixel art image as the final solution. Pycross: Picross Puzzles, is a simple picross game made for multiple players on one computer. Each player solves the puzzle on their own, and their time is taken and added to a leaderboard for players to compare their times.

How to solve a Picross puzzle

For each row, and for each column, there is a list of numbers. These clues indicate the number of filled in, or ‘on’, spaces in each clump of filled in spaces.

image

For example: if a row has the clues 2 1 4, that means that in that row, there is a group of 2 filled in spaces, 1 filled in space, and a group of 4 filled in spaces. These groups could have any amount of empty space in between them.

image

The player cross references the rows and columns to deduce which spaces must be filled in, and which must be empty based on the clues. In the photo above, the last column has a clue of 0, so we know it must be empty, that means that we can deduce the placement of each filled in space in that row. In the end, the filled in spaces will reveal a pixel art image.


Pycross: Picross Puzzles Gameplay

When you start the game you will be prompted to type in a user name to identify you on the leaderboard. From there, gameplay works as a typical picross puzzle:


Video Demo

Click here to watch our full presentation on youtube

Watch a short game demo here:



Download Pycross: Picross Puzzels

To play Pycross, clone the game repository using:

$ git clone git@github.com:olincollege/pycross.git

Pycross uses a few outside python packages – Pygame and Pandas. All the necessary files are included in requirements.txt. Run the following command to install the packages.

$ pip install -r requirements.txt

Once these steps are complete, play the game by running the pycross_main.py file.


About Us

In a world with many picross apps, websites, and physical books of picross puzzels, we three picross enjoyers set out to create a competitive picross app, using our favorite features of picross game design. Click our names to check out our Github pages! We are:

Karina: A sophomore who loves puzzles and wants to make her own!

Kelsey: A freshman who spends hours on picross puzzles only to realize he made a mistake hours ago that forever altered his picross path (he will have to start over)

Lauren: A sophomore who has watched large swathes of her life disappear to puzzles and wants to help other people do the same!


Resources

Our game is programmed in Python using Pygame and Pandas