Coder Social home page Coder Social logo

tictactoe's Introduction

Tic Tac Toe

Alt text

Coding Kata for BNP.

Requirements

Cocoapods : https://cocoapods.org/

Setup

  • Clone repository
  • Cd into directory
  • Run pod install
  • Open TicTacToe.xcworkspace
  • Run code in simulator
  • CMD + U to run tests

About this Kata

This short and simple Kata should be performed using Test Driven Development (TDD).

Rules

The rules are described below :

  • X always goes first.
  • Players cannot play on a played position.
  • Players alternate placing X’s and O’s on the board until either:
    • One player has three in a row, horizontally, vertically or diagonally
    • All nine squares are filled.
  • If a player is able to draw three X’s or three O’s in a row, that player wins.
  • If all nine squares are filled and neither player has three in a row, the game is a draw.

Useful link

The complete description can be found here : https://github.com/WeSquad/tic-tac-toe-react

IMPORTANT: Implement the requirements focusing on writing the best code you can produce.

tictactoe's People

Contributors

tim-leytens 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.