Skip to content

Ashvin-KS/tubemix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TubeMix - Water Sort Puzzle Game

TubeMix is a simple Python application that simulates the popular water sort puzzle game. The objective of the game is to sort the colored water in the tubes so that each tube contains only one color.

This project provides two versions of the game:

  • A Command-Line Interface (CLI) version.
  • A Graphical User Interface (GUI) version.

Features

  • CLI Version: Play the game in your terminal with colorful output.
  • GUI Version: A graphical interface for the game (currently under development).
  • Sound Effects: The CLI version includes sound effects for actions.
  • User Accounts: The GUI version has a login system with user accounts stored in an Excel file.

How to Run

Prerequisites

Make sure you have Python installed. You will also need to install the following libraries:

pip install colorama pydub Pillow openpyxl

CLI Version

To run the CLI version of the game, navigate to the Cli directory and run the project.py script:

cd Cli
python project.py

The game will start in your terminal. You will be prompted to enter the number of tubes and the height of the tubes. Follow the on-screen instructions to play the game.

GUI Version

The GUI version is currently under development. To run the login screen, navigate to the Gui directory and run the hin.py script:

cd Gui
python hin.py

Note: The GUI version is not yet complete and the game logic is not yet integrated with the user interface. Also, the GUI has a hardcoded image path which you may need to change in Gui/hin.py for it to work.

Project Structure

  • Cli/: Contains the source code for the CLI version of the game.
    • project.py: The main script for the CLI game.
    • jjj.wav: Sound effect file.
    • t.xlsx: An Excel file (likely for testing or data).
  • Gui/: Contains the source code for the GUI version of thegame.
    • hin.py: The login screen for the GUI application.
    • labels.py: A separate Tkinter application or test file.
    • t.xlsx: Excel file for storing user accounts.
  • README.md: This file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages