Skip to content

Conversation

@mpamposd
Copy link

Add Help Button for Game Instructions

Description

This pull request adds a "Help" button to the game, allowing users to view instructions on how to play and understand the game.

Changes Made

  • Added a JButton labeled "Help" to the Snake class.
  • Created a showHelpDialog method to display game instructions in a JOptionPane.

How to Test

  1. Run the Snake game.
  2. Click the "Help" button at the bottom of the window.
  3. Verify that a dialog appears with instructions.

Add Help Button for Game Instructions
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.

1 participant