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

Tic-Tac-Toe #251

Closed
pete-murphy opened this issue Dec 7, 2020 · 2 comments · Fixed by #254
Closed

Tic-Tac-Toe #251

pete-murphy opened this issue Dec 7, 2020 · 2 comments · Fixed by #254
Assignees
Labels
recipe-request Requests for someone to build a recipe for their problem

Comments

@pete-murphy
Copy link
Collaborator

Recipe Name

TicTacToeReactHooks

Recipe Description

Should be a functioning tic-tac-toe game that:

  • Indicates when a player has won the game,
  • Stores a game’s history as a game progresses,
  • Allows players to review a game’s history and see previous versions of a game’s board.

The idea is to recreate this example from the official React docs.

@pete-murphy pete-murphy added the recipe-request Requests for someone to build a recipe for their problem label Dec 7, 2020
@pete-murphy
Copy link
Collaborator Author

pete-murphy commented Dec 7, 2020

I was planning on working on this anyway and wanted to see if this would be a welcome addition to the cookbook. I think it might be valuable for the following reasons:

  • it's a small enough example to be manageable in a single file, while being complicated enough to involve multiple nested components (something not exemplified in the existing ReactHooks recipes)
  • as the main tutorial used by reactjs.org, it might be familiar with new users of PureScript coming from React in JavaScript/TypeScript

I don't seem to have the option to assign myself to the issue

@JordanMartinez
Copy link
Owner

I've assigned you to this issue. Sounds like a good recipe to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
recipe-request Requests for someone to build a recipe for their problem
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants