Skip to content

Add a board function #4

@ClaytonSiby

Description

@ClaytonSiby

Implement the board function that displays the board with the correct numbers representing possible moves for each player 1 - 9.

  • Create a Board class that encapsulates the logic for the game
  • the game logic should include the following ( board, win_or_draw, prompt_name, out_of_bound )
  • the board function/method should display the board with numbers 1 to 9
  • win_or_draw function should include logic that announces the winner or a draw
  • the prompt_name, includes logic to prompt players for their names
  • out_of_bound, pops an error message if the number provided is out of the range 1..9.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions