Giter VIP home page Giter VIP logo

tictactoe_angular's Introduction

TicTacToe with Angular

Introduction

About the game

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:

alt text

In-game screenshot 2:

alt text

Used technology

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:

alt text

iPad:

alt text

iPhone:

alt text

Getting started

Requirements

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

Development Environment Setup

To clone this repository simply run:

$ git clone https://github.com/RonnyFalconeri/ticTacToe_Angular.git

Install all necessary dependecies with:

$ npm install

Run the development server

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 unit tests

Run ng test to execute the unit tests. Navigate to http://localhost:9876/ to see the test results.

Code Analysis

Use ESLint to find problems in your code which you may have not seen before. Run ESLint with ng lint.

Releases

v1.0

  • Base application ready and playable
  • Unit tests for scoring system
  • Responsive Design

Further development

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 ;)

tictactoe_angular's People

Contributors

ronnyfalconeri 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.