# Mathy Msg - Angular 13

# Project summary

A simple mathematics game using Angular 13.

Best viewed on mobile phones.

How to play:

  • You have 10 seconds to answer each question (timer is on the top left)
  • Click the alphabet that corresponds to the correct number
  • If an answer is wrong or 10 seconds is up, you lose and need to restart from the beginning

# 🌐 Page

🌐 mathy-msg
https://aliciacyy.github.io/mathy-msg/

# Github repository

🚀 mathy-msg
https://github.com/aliciacyy/mathy-msg

# Setup guide

The setup and deploy guide is up to date with version 13.0.4

  1. Install Angular:
npm install -g @angular/cli
  1. Initialization:
ng new mathy-msg --directory ./

The --directory ./ flag is to initialize the Angular project in the current directory.

  1. Run Angular:
ng serve

# Deploy to Github Pages

# Prerequisites

  1. Go to Github Pages at https://github.com/<github_user>/<repo>/settings/pages.
  2. Select gh-pages branch with /(root) and save.
  3. Install angular-cli-pages
npm i angular-cli-ghpages --save-dev

# Deployment

Run these commands:

ng build --prod --base-href https://<github_user>.github.io/<repo>/
npx angular-cli-ghpages --dir=dist/<repo>

# Official guides