Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oliverkocsis/xando-ionic
https://github.com/oliverkocsis/xando-ionic
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/oliverkocsis/xando-ionic
- Owner: oliverkocsis
- License: mit
- Created: 2021-10-02T19:38:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-09T12:25:07.000Z (about 3 years ago)
- Last Synced: 2023-03-07T03:50:48.714Z (almost 2 years ago)
- Language: TypeScript
- Size: 742 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# X & O
Xs and Os (Irish English), tic-tac-toe (American English) or noughts and crosses (Commonwealth English) is a paper-and-pencil game for two players who take turns marking the spaces in a three-by-three grid with X or O. The player who succeeds in placing three of their marks in a horizontal, vertical, or diagonal row is the winner. [^1]
The game is implemented using React and Ionic Framework.
# Getting Started
## Install the Ionic CLI
Before proceeding, make sure your computer has [Node.js](https://nodejs.org/) installed. Install the Ionic CLI with npm:npm install -g @ionic/cli
## Clone the repository
Clone a repository from GitHub to your local computer.git clone [email protected]:oliverkocsis/xando-ionic.git
## Run the App
The majority of Ionic app development can be spent right in the browser using the ionic serve command:cd xando-ionic
ionic serve## Run the Tests
When you run `npm test`, Jest will launch in watch mode*. Every time you save a file, it will re-run the tests
## Deploying to Android
Complete a fresh build of the Ionic project, fixing any errors that it reports:
ionic build
Every time you perform a build (e.g. `ionic build`) that updates your web directory (default: `build`), you'll need to copy those changes into your native projects:
ionic cap copy
## Deploy to a Firebase
To deploy to a Firebase project, run the following command from your project directory:
firebase deploy
# References
[^1]: Tic-tac-toe From Wikipedia, the free encyclopedia https://en.wikipedia.org/wiki/Tic-tac-toe