Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New game]: Dice-Rolling-Simulator #4754

Closed
1 task done
priyashuu opened this issue Jul 7, 2024 · 3 comments
Closed
1 task done

[New game]: Dice-Rolling-Simulator #4754

priyashuu opened this issue Jul 7, 2024 · 3 comments
Assignees
Labels
gssoc GSSoC24 program label level3 Adding new features New Game 🎮 This is the label that will be used on issues that are raising new game issue

Comments

@priyashuu
Copy link
Contributor

🎮 Game Request

### Description
The dice rolling simulator is a simple application built using Python and the Tkinter library for the graphical user interface (GUI). The simulator mimics the action of rolling a dice, providing a random outcome between 1 and 6 each time the user interacts with the interface. This application is useful for games, educational purposes, or simply for fun.

Game Logic

  • Initialization: When the program starts, it initializes the main window using Tkinter.
  • Dice Roll: A function generates a random number between 1 and 6 using Python's random module.
  • Display: The result of the dice roll is displayed on the GUI, typically as a number or a graphical representation of a dice face.
  • Interaction: The user can roll the dice by clicking a button on the GUI, which triggers the dice roll function.
    Screenshot 2024-07-07 111916

Point down the features

  • Random Dice Roll: Uses the random.randint(1, 6) function to generate a number between 1 and 6.
  • Graphical Interface: A user-friendly interface built with Tkinter, making it easy to interact with the simulator.
  • Roll Button: A button that the user clicks to roll the dice.
  • Display Area: Shows the result of the dice roll, either as a numeric value or a visual representation.

Select program in which you are contributing

GSSoC24

Code of Conduct

@kunjgit kunjgit added level3 Adding new features New Game 🎮 This is the label that will be used on issues that are raising new game issue labels Jul 7, 2024
@kunjgit
Copy link
Owner

kunjgit commented Jul 7, 2024

Hey @priyashuu !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹️

@kunjgit kunjgit added the gssoc GSSoC24 program label label Jul 7, 2024
@priyashuu
Copy link
Contributor Author

/assign

@kunjgit
Copy link
Owner

kunjgit commented Oct 9, 2024

Hey @priyashuu ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc GSSoC24 program label level3 Adding new features New Game 🎮 This is the label that will be used on issues that are raising new game issue
Projects
None yet
Development

No branches or pull requests

2 participants