Skip to content

This project demonstrates the use of Python's GUI capabilities to create an interactive and entertaining application. It combines basic string manipulation, mathematical logic, and GUI design to deliver a simple yet engaging user experience.

Notifications You must be signed in to change notification settings

Phani-LP/Flames-Game-with-GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FLAMES Game with GUI

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.

How to Play

  1. Run the program.
  2. Enter two names in the input fields.
  3. Click the "Calculate FLAMES" button to see the result, which will be one of the following: Friends, Lovers, Affection, Marriage, Enemies, or Sibling.

Note: This game is just for fun and entertainment purposes!

Concepts Used

  • 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 and flames_result.

How to Run

  1. Make sure you have Python installed on your system.
  2. Clone this repository or download the ZIP file.
  3. Navigate to the project directory and run the following command in your terminal:
    python "Flames with GUI.py"

Output:
output_of_flames

About

This project demonstrates the use of Python's GUI capabilities to create an interactive and entertaining application. It combines basic string manipulation, mathematical logic, and GUI design to deliver a simple yet engaging user experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages