A Test Driven Development JavaScript program where players fill in a 9 x 9 board with the numbers 1 through 9.
- Each row contains all numbers from 1 to 9 with no repeats.
- Each column contains all numbers from 1 to 9 with no repeats.
- Each of the nine 3 x 3 grids contain all numbers from 1 to 9 with no repeats.
Spec | Input | Output |
---|---|---|
Test 1 - Program checks if a colum has non repeated numbers | if (this.array [row] [col] >= this.array [row] [col+1]) | True |
Test 2 - Program checks if a row has non repeated numbers | if (tempArray [idx] >= tempArray [idx+1]) | True |
Test 3 - Program checks if the full grid has non repeated numbers | if () | True |
- Open Command Line
- cd Desktop
- Git Clone https://github.com/Ugonz86/TicTacToe2.git
- cd TicTacToe
- Open index.html
No bugs at the moment.
- HTML - for UI layout
- CSS - for UI styling
- Bootstrap - for UI layout and styling
- JavaScript - for backend functionality
- jQuery - To help back end code have effects on UI
- Atom - To write and edit the code
- Chrome - To help debug and see progress
MIT License Copyright (c) 2019