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

Feat : Add Tug of war game #1099

Merged
merged 4 commits into from
Aug 9, 2024
Merged

Feat : Add Tug of war game #1099

merged 4 commits into from
Aug 9, 2024

Conversation

Meetjain1
Copy link
Contributor

Description

PR Description

Added Tug of War Game

This PR introduces a fully functional and interactive two-player Tug of War game. Below are the key features and updates included:

  • Game Mechanics:

    • Player 1 uses the "A" key, and Player 2 uses the "L" key to play.
    • The marker moves towards the player who presses their key more rapidly.
    • The first player to reach the winning score of 10 wins the game.
  • User Interface:

    • Clean and responsive design using HTML, CSS, and JavaScript.
    • Scoreboard displaying the current scores of both players.
    • Visual representation of the game with a rope and a marker indicating the players' progress.
  • Game Controls:

    • Start Game: Initiates a 5-second countdown before the game begins.
    • Reset Game: Refreshes the page, resetting the game to its initial state with the marker at the center and scores set to 0.
  • Additional Features:

    • Countdown timer displayed before the game starts.
    • Congratulatory message displayed for the winning player.

This game enhances user interaction and provides an engaging way to compete. The responsive design ensures compatibility across various devices.

Screenshot Section

t1
t2

Demo Video Section*

Checklist

  • I have added image into screensort in "SinglePlayer - Games/Banner - image" in this section*
  • I have added game into "additionalpage/game.html"*
  • I have added Update main README.md file*

Task

Enter you User Id's:

LinkedIn:

GitHub:

YouTube:

Discord:

If you Follow us in both social medias we provide 'level2'
*Only First time

@Meetjain1
Copy link
Contributor Author

@Durgesh4993 please review this pr . Thanks

Copy link
Member

@Durgesh4993 Durgesh4993 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolve Conflicting files

@Meetjain1
Copy link
Contributor Author

@Durgesh4993 Resolved

Resolve Conflicting files

@Durgesh4993 Resolved

@Meetjain1
Copy link
Contributor Author

@Durgesh4993 Resolved

Resolve Conflicting files

@Durgesh4993 Resolved

@Durgesh4993 have a look

@Meetjain1
Copy link
Contributor Author

@Durgesh4993 please review this pr . Conflicts solved

@Meetjain1
Copy link
Contributor Author

@Durgesh4993 please review this pr . Conflicts solved

@Durgesh4993

@Meetjain1
Copy link
Contributor Author

@Durgesh4993 please review this pr . Thanks

@Meetjain1
Copy link
Contributor Author

@Durgesh4993 conflicts resolved please check

@Meetjain1
Copy link
Contributor Author

@Durgesh4993 please review this pr . Thanks

@Meetjain1
Copy link
Contributor Author

@Durgesh4993 conflicts resolved again , please review this pf first so that conflicts will not arise again . Thanks

@Durgesh4993 Durgesh4993 merged commit 86ff516 into ChromeGaming:main Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants