Akki-jaiswal / Akki-jaiswal/pong-game

# [Bug] Scoreboard not visible on game board after starting game

Open
#194 2 comments 1 reaction 2 assignees Claimed by @Priyakatariya View on GitHub
gssoc25 Level-2 UI/UX
Dominant language
JavaScript
Stars
22
Forks
116
PR merge metrics
No merged PRs in 30d

Description

## Issue Description
The scoreboard (showing Player and AI scores) is only visible on the main welcome page but disappears when the actual Pong game board is displayed. This prevents players from seeing their current score during gameplay.

## Screenshots
- Welcome screen: Scoreboard visible ✅
- Game board: Scoreboard missing ❌

Image

## Steps to Reproduce
1. Open the Pong game website
2. Notice the scoreboard is visible on the welcome screen showing "Player: 0 | AI: 0"
3. Click "Play Game" button
4. The welcome screen disappears and the game canvas appears
5. Bug: The scoreboard is no longer visible during gameplay

## Expected Behavior
The scoreboard should remain visible above the game canvas during gameplay, allowing players to track their score in real-time.

## Current Behavior
The scoreboard disappears when transitioning from the welcome screen to the game board, making it impossible for players to see their current score during the game.

## Technical Details
- **Files affected**: `index.html`, possibly `style.css`
- **Scoreboard elements**: `

` containing player and AI score spans
- **Issue**: Scoreboard visibility/positioning when game state changes

## Environment
- **Browser**: All browsers
- **OS**: All operating systems
- **Game state**: Active gameplay

---

## Labels
- `bug`
- `gssooc25`
- `good first issue`
- `help wanted`
- `scoreboard`

## Priority
Medium (affects core gameplay functionality)

---

**Please assign me this task under the proper GSSoC 25 label.**

**Mentors **:
@Rohith0750 @Priyakatariya @shreesriv12

**Contributor**: @kunalsanga

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.