Coder Social home page Coder Social logo

kata-tictactoe-java's Introduction

Tic Tac Toe Kata

We've practiced this kata at the office, pairing.

We've marked the successful sprints as "Success" and failed ones as "Failure".

Some statistics:

  • 6 failed ones
  • 10 successful ones

Kata description - Tic Tac Toe Kata

Rules

  • A game has nine fields in a 3x3 grid
  • A player can take a field if not already taken
  • A game is over when all fields in a row are taken by a player
  • A game is over when all fields in a diagonal are taken by a player
  • A game is over when all fields in a column are taken by a player
  • A game is over when all fields are taken
  • Players take turns taking fields until the game is over
  • There are two players in the game (X and O)

Credits

Inspired by Diego Lemos

Baby Steps Constraint

Steps

  • 1 Setup a git repository
  • 2 Setup a timer for 2 minutes interval when you start
  • 3 Write exactly one test
    • If the timer rings and the test is red then revert and start over.
    • If the test is green before timer rings then commit.
  • 4 Restart timer (no discussions in between timers)
  • 5 Go to 3

Credits

Inspired by Adrian Bolboaca

kata-tictactoe-java's People

Contributors

alvarogarcia7 avatar victorandevert avatar zhafi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.