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

Maya's tic-tac-toe w4 completed (parens) #29

Open
wants to merge 36 commits into
base: master
Choose a base branch
from

Conversation

mayawang
Copy link

@mayawang mayawang commented Dec 25, 2016

Wave1-Wave4 completed:

  • game logic, views & connect to api completed.
  • score updated on each game.
  • show saved game history on left side bar.
  • update game history after each game.
  • delete each game by delete button.
  • model tests are for wave1 only.

Happy holidays!


Wave 1 pair progrramming (Commit Dec12-19): Alyssa & Maya

Trello Board: https://trello.com/b/j5XOx7cU/alyssa-maya-tic-tac-toe

Critical Design Decisions:

  1. Three Objects: Game, Player and Board;
  2. A Game has two players, multiple rounds and a new board for each round;
  3. A round has multiple moves;
  4. A new round automatically starts when there is a winner or a tied game;
  5. Round starter switches in turns for each round;
  6. Score is an attribute of Player, and increments in Game.move;
  7. Winner's score increments by 2, loser's score increments by 0, tied game both players' scores increments by 1.

Used TDD. All testing completed with full coverage.

WE ROCK!!! YAY!

Maya Wang and others added 30 commits December 12, 2016 16:13
…Game. Improved description on testing on check winner or tie
… board from arr of arr to array. changing access to tile from row & col to direct index
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