Skip to content

Conversation

@AbdullahRFA
Copy link

Pull Request: Enhance Snap Game with UI, Gameplay, and Sound Features

🔧 Summary

This PR introduces multiple enhancements to the Snap card game project as part of the Software Engineering Lab Task 2.1. The changes span across UI improvements, gameplay logic, and user interaction features, implemented collaboratively by a three-member team.


Changes Implemented

UI Enhancements (UI Coder)

  • Added ChunkFive font for score and card text display.
  • Integrated background image and updated card positioning for better visual alignment.
  • Merged add-drawcard-images branch to include improved card graphics.

Gameplay Improvements (Game Developer)

  • Implemented automatic card flipping using a game timer.
  • Refactored Snap.cs to include timer logic and updated Update() method.
  • Modified HandleUserInput() to start the game on spacebar press.

Player Interaction Features (Team Leader)

  • Enabled Left Shift and Right Shift keys for player hits.
  • Added logic to decrease score on incorrect hits.
  • Integrated sound effects for player actions and simultaneous hits.

Branches Merged

  • change-text-font
  • add-automatic-card-flip
  • add-player-hit
  • add-drawcard-images

Testing & Verification

  • Compiled and ran the game using ./build.sh and ./run.sh.
  • Verified:
    • Font and background rendering
    • Automatic card flipping
    • Player hit detection and scoring
    • Sound effects playback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants