This package contains implementation of the game "WATER_SORT_PUZZLE" on command line interface.
Project description
WATER_SORT_PUZZLE
"Water Sort Puzzle" is a game where the player must ensure that each bottle only contains one colour. This game is a command line interface game inspired by "Water Sort Puzzle" game on Google Play Store (https://play.google.com/store/apps/details?id=com.gma.water.sort.puzzle&hl=en_NZ&gl=US).
Executable File
The executable file is downloadable at https://github.com/GlobalCreativeCommunityFounder/WATER_SORT_PUZZLE/blob/master/WATER_SORT_PUZZLE/dist/water_sort_puzzle/water_sort_puzzle.exe.
Source Code
Python code used to create the game application is available in https://github.com/GlobalCreativeCommunityFounder/WATER_SORT_PUZZLE/blob/master/WATER_SORT_PUZZLE/water_sort_puzzle.py.
How to Use the Executable File?
First, open by double clicking the file "water_sort_puzzle.exe". How the executable file looks like is shown in the image below.
Getting Started
Once you run the game, you will be asked whether you want to continue playing the game "Water Sort Puzzle" or not. If you enter 'Y', you will be able to try to sort water bottles based on water colours. Entering anything else will make you quit the game.
The Game
In the game, your task is to make sure all bottles only contain one or less water colours. Water can only be poured to empty bottles or bottles which the same water colours at the top. Below shows how the user is asked for inputs in the game (i.e., inputs for indices of water bottles to pour to and from).
A window like in the image above which asks for user input for pouring water will keep on popping up until all the water bottles are sorted. Once you successfully sort all the water bottles, you will be asked whether you want to continue playing the game at the next level or not. To go to the next level, enter 'Y'. Entering anything else will exit the game.
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
Built Distribution
File details
Details for the file WATER_SORT_PUZZLE-1.tar.gz
.
File metadata
- Download URL: WATER_SORT_PUZZLE-1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc445a2d5e11e1e9791badf419288cd65538cf1add87634e46b6482875e7cd34 |
|
MD5 | fbc84608b2e6384e675592b05539bef8 |
|
BLAKE2b-256 | fac3373aaf5653e84a91278e13a9bc8659e287efaf1bcf171bdd140aa989fbeb |
File details
Details for the file WATER_SORT_PUZZLE-1-py3-none-any.whl
.
File metadata
- Download URL: WATER_SORT_PUZZLE-1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df4ef3a602f87d68ed1fd9a0780570cb51554d4538fb2f8e50c41a98baf4722f |
|
MD5 | 5b0a376a20f1361406e669cb49782999 |
|
BLAKE2b-256 | b00548d9df6f8bbbce5f0b19203045cb50faed1387b88f7eaa697ed886a6d2b8 |