Skip to content

πŸ› [Bug]: Reverse Hangman project broken in web app β€” missing function call parentheses in projects.jsΒ #1311

Description

@vipul674

Summary

The Reverse Hangman project in the web app (web-app/js/projects.js line 29) is broken due to missing function call parentheses. The entry returns a function reference instead of calling the function and returning HTML content.

Evidence

In web-app/js/projects.js:29:

"reverse-hangman": () => getReverseHangmanHTML,

Compare with working entries like line 25:

"matrix-calculator": () => getMatrixCalculatorHTML(),

The getReverseHangmanHTML is missing the () invocation, so the arrow function returns the function object itself instead of calling it and returning the HTML string.

Affected Files

  • web-app/js/projects.js (line 29)

Reproduction Steps

  1. Open the web app in a browser
  2. Click on the "Reverse Hangman" project in the project list
  3. Observe that the project content does not load β€” it shows a function reference or "Project Coming Soon" instead of the actual game

Expected Behavior

Clicking "Reverse Hangman" should display the full Reverse Hangman game HTML content.

Actual Behavior

Clicking "Reverse Hangman" shows either [Function: getReverseHangmanHTML] as text or falls back to <h2>Project Coming Soon!</h2>.

Impact

The Reverse Hangman project is completely inaccessible in the web app. Users cannot play the game through the web interface.

Suggested Fix

Change line 29 from:

"reverse-hangman": () => getReverseHangmanHTML,

To:

"reverse-hangman": () => getReverseHangmanHTML(),

Candidate Validation

  • Bug is reproducible
  • Fix is a one-character change (adding ())
  • No duplicate issues found in open or closed issues

GSSoC 2026

This is a valid bug fix suitable for GSSoC 2026 contributors. The fix is minimal, low-risk, and resolves a broken feature in the web app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions