/tictactoe-backend-php

API used in the project Tic Tac Toe

Primary LanguagePHPMIT LicenseMIT

tictactoe

This API uses:

CodeIgniter (https://www.codeigniter.com/) CouchDB (http://couchdb.apache.org/) REST library from Chris Kacerguis (https://github.com/chriskacerguis) PHP on Couch from Mickael Bailly (https://github.com/dready92)

Installation:

  1. Install CouchDB (easy install, nothing to change, only press Next->Next) [http://couchdb.apache.org/] 1.1) Access http://localhost:5984/_utils/ 1.2) Click in Create Database 1.3) Enter "tictactoe"
  2. Install any web server (Apache, i.e) [https://www.apache.org/]
  3. Put this project inside your web server application folder

To Do:

  1. Register cell moves
  2. Insert game logic to find if the game ended (win / lose / draw)

I know this to-do steps were the main goals, but I tried to do it alone to test my skills :(