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.
- 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.
Make sure you have Python installed. You will also need to install the following libraries:
pip install colorama pydub Pillow openpyxlTo run the CLI version of the game, navigate to the Cli directory and run the project.py script:
cd Cli
python project.pyThe 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.
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.pyNote: 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.
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.