This is a simple Python application using the Pygame library to create a basic user interface for a train reservation system. The application provides three buttons for options: Login, Sign Up, and Forgot My Password.
Before running this application, ensure you have the following installed:
- Python (https://www.python.org/downloads/)
- Pygame library (
pip install pygame
)
-
Clone the repository or download the script file (train_reservation.py).
-
Place the required image files, "train.png" and "icon.png," in the same directory as the script.
-
Open a terminal or command prompt and navigate to the directory containing the script.
-
Run the script using the following command:
python train_reservation.py
Features Three buttons for different options: Login, Sign Up, and Forgot My Password. Responsive window that can be resized by the user. A visually appealing user interface with customizable colors and fonts. ##Usage Click on the "Login" button to initiate the login process. Click on the "Sign Up" button to create a new account. Click on the "Forgot My Password" button to recover your password. Customization You can customize the appearance of the buttons and other elements in the script by modifying the color and font variables in the code.
Dependencies Python 3.x Pygame library