Skip to content

Unnecessary Synchronization in Tic Tac Toe #110

@Shubham663

Description

@Shubham663

In Tic Tac Toe design, the Board class uses a synchronized make move method. Since a new board and therefore a new grid is created for each game, therefore no concurrency issues can be introduced there. Also if judging from user actions, the users proceed one by one and there are no concurrent operations there. Based on these things, synchronized keyword is not required.

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