SyedImtiyaz-1 / GetTechProjects

Make your first Pull Request on this Repo. Don't forget to spread love and give us a ⭐️
https://preciousitservices.vercel.app
189 stars 200 forks source link

chore: Adding dice game #574

Open kashnx opened 1 month ago

kashnx commented 1 month ago

Description: Create a simple dice game where two players roll dice on page reload. The game should determine the winner (Player 1, Player 2, or a draw) and display the result. This involves setting up an HTML structure, implementing the game logic in JavaScript, and styling the page using CSS. If Player 1’s roll is higher, display “Player 1 wins!”. If Player 2’s roll is higher, display “Player 2 wins!”. If both rolls are the same, display “It’s a draw!”.

SadafKausar2025 commented 1 month ago

Screenshot (1888)

hello @SyedImtiyaz-1 can you please assign me this issue

kashnx commented 1 month ago

Description: Create a simple dice game where two players roll dice on page reload. The game should determine the winner (Player 1, Player 2, or a draw) and display the result. This involves setting up an HTML structure, implementing the game logic in JavaScript, and styling the page using CSS. If Player 1’s roll is higher, display “Player 1 wins!”. If Player 2’s roll is higher, display “Player 2 wins!”. If both rolls are the same, display “It’s a draw!”.

I'd like to work on this issue, as I created the issue first. Please assign this issue to me.