This project is a fun application that calculates the relationship between two names using the FLAMES game logic. It features a graphical user interface (GUI) built with Python's tkinter
library.
- Run the program.
- Enter two names in the input fields.
- Click the "Calculate FLAMES" button to see the result, which will be one of the following:
Friends
,Lovers
,Affection
,Marriage
,Enemies
, orSibling
.
Note: This game is just for fun and entertainment purposes!
- Python Programming: The entire project is implemented in Python.
- tkinter Library: Used to create the graphical user interface (GUI).
- messagebox Module: Used to display the FLAMES result in a popup window.
- Dictionary Comprehension: Used to count character occurrences in the
flames_count
function. - Set Operations: Used to find common characters between two names.
- Modulus Operator: Used to calculate the FLAMES result index.
- Functions: Modularized logic into reusable functions like
flames_count
andflames_result
.
- Make sure you have Python installed on your system.
- Clone this repository or download the ZIP file.
- Navigate to the project directory and run the following command in your terminal:
python "Flames with GUI.py"