Skip to content

Implement Tic-Tac-Toe game logic with Servlets and JSP#36

Open
zinchuknadia wants to merge 1 commit intovasylmalik:masterfrom
zinchuknadia:jsp-and-servlet
Open

Implement Tic-Tac-Toe game logic with Servlets and JSP#36
zinchuknadia wants to merge 1 commit intovasylmalik:masterfrom
zinchuknadia:jsp-and-servlet

Conversation

@zinchuknadia
Copy link

Summury

This PR introduces game logic and user interface for a Tic-Tac-Toe web application.

Key changes:

  • InitServlet: initializes the game by creating a session.

  • LogicServlet: handles core game logic and turn processing.

  • RestartServlet: invalidates the current session and redirects back to InitServlet for a fresh start.

  • JSP update:

    • Added a game board table for a user-friendly interface.
    • Integrated taglibs to display game status messages (e.g., when a player wins).
    • Added a restart button with jQuery support for quick reset.

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.

2 participants