Prob-AI-Gaming is a versatile application that combines gaming, artificial intelligence chat, and a calculator into a single platform. Users can enjoy playing a Rock-Paper-Scissors game against the computer, engage in conversations with an AI powered by OpenAI's GPT-3, and perform calculations using a feature-rich calculator.
- Player vs. Computer: Play a classic Rock-Paper-Scissors game against the computer.
- Score Tracking: Keep track of scores for both the player and the computer.
- Probability Display: Display the probability of winning for both the player and the computer.
- OpenAI GPT-3 Integration: Engage in conversations with an AI powered by OpenAI's GPT-3.
- Dynamic Responses: Receive dynamic responses from the AI based on the input provided.
- Clear Conversations: Easily clear the conversation history and start new interactions.
- Arithmetic Operations: Perform basic arithmetic operations such as addition, subtraction, multiplication, and division.
- Square Root: Calculate square roots of numbers.
- Percentage Calculation: Compute percentages.
- Factorial: Calculate factorial of a number.
- Combination (nCr) and Permutation (nPr): Compute combinations and permutations.
The project is organized into three main sections:
-
Rock-Paper-Scissors Game: The game is implemented using the tkinter library to create a graphical user interface. Images are used to represent the choices of Rock, Paper, and Scissors.
-
AI Chat Interface: OpenAI's GPT-3 is utilized for natural language processing. Conversations are displayed in a user-friendly interface, and users can interact with the AI by sending messages.
-
Feature-Rich Calculator: The calculator includes a wide range of mathematical functions. The interface allows users to input expressions, and the calculator evaluates and displays the results.
-
Rock-Paper-Scissors Game:
- Click on the "Game" button to launch the game interface.
- Press the "Play" button to start playing Rock-Paper-Scissors.
- Make your choice by clicking on the respective buttons.
- View the game result, score, and probabilities.
-
AI Chat Interface:
- Click on the "AI" button to open the AI chat interface.
- Type messages in the input box and press "Send" to receive AI responses.
- Use the "Clear" button to clear the conversation history.
-
Feature-Rich Calculator:
- Click on the "Calculator" button to access the calculator interface.
- Enter mathematical expressions using the provided buttons.
- Press "=" to evaluate the expression and view the result.
- Use "AC" to clear the workspace.
- Python 3.x
- Tkinter
- Pillow (PIL)
- OpenAI (GPT-3)
- NumPy (for mathematical operations)
This project is Copyrighted by the Govt. of India 📜
Explore the Certificate: Copyright Certificate
🚫 Unauthorized use, reproduction, or distribution is strictly prohibited without permission from the authorities.
Your respect for intellectual property is appreciated! 🙏