Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation Comments for startGame #32

Open
EmilyYoung1 opened this issue Nov 7, 2024 · 1 comment
Open

Implementation Comments for startGame #32

EmilyYoung1 opened this issue Nov 7, 2024 · 1 comment

Comments

@EmilyYoung1
Copy link
Contributor

EmilyYoung1 commented Nov 7, 2024

   private void startGame() {
        presenter.displayMessage("Game is starting...");
        // User input for grid size
        Grid grid = new Grid(5, 5); // Temporary grid
        presenter.displayGrid(grid);
        // Place ships (user and AI)
        // User Shoots then AI shoots
    }
@EmilyYoung1
Copy link
Contributor Author

EmilyYoung1 commented Nov 7, 2024

private void allSunk() {
if the ships in the ship list are all gone, win
else keep shooting :)
}

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

No branches or pull requests

1 participant