Tic-Tac-Toe originally is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3x3 grid. The goal: one player succeeds in placing three of their marks in a diagonal, horizontal, or vertical row. The game results in a draw if every field is marked without having reached the goal by both players.
In-game screenshot 1:
In-game screenshot 2:
The game is developed with Angular and generated with Angular CLI version 12.1.1.
To ensure functional stability, different unit tests were written with Karma.
The application was styled using SCSS/SASS. Additionally, the user interface is also responsive:
PC:
iPad:
iPhone:
Before you can run the application you need to have installed:
- Node.js & npm (v12 or v14)
- Angular Packages
Install Angular with: $ npm install -g @angular/cli
To clone this repository simply run:
$ git clone https://github.com/RonnyFalconeri/ticTacToe_Angular.git
Install all necessary dependecies with:
$ npm install
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng test
to execute the unit tests. Navigate to http://localhost:9876/
to see the test results.
Use ESLint to find problems in your code which you may have not seen before. Run ESLint with ng lint
.
- Base application ready and playable
- Unit tests for scoring system
- Responsive Design
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.
Have fun with the project and don't hesitate to improve it ;)