{"id":26397593,"url":"https://github.com/datajango/ng-tic-tac-toe","last_synced_at":"2025-03-17T12:18:20.044Z","repository":{"id":39523443,"uuid":"190262363","full_name":"datajango/ng-tic-tac-toe","owner":"datajango","description":"An Angular 7+ tic-tac-toe game","archived":false,"fork":false,"pushed_at":"2023-01-07T06:05:49.000Z","size":2771,"stargazers_count":0,"open_issues_count":26,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-07T08:22:18.157Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datajango.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-04T18:59:30.000Z","updated_at":"2020-09-07T19:13:44.000Z","dependencies_parsed_at":"2023-02-06T13:31:55.601Z","dependency_job_id":null,"html_url":"https://github.com/datajango/ng-tic-tac-toe","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datajango%2Fng-tic-tac-toe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datajango%2Fng-tic-tac-toe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datajango%2Fng-tic-tac-toe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datajango%2Fng-tic-tac-toe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datajango","download_url":"https://codeload.github.com/datajango/ng-tic-tac-toe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244031121,"owners_count":20386534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-17T12:18:19.442Z","updated_at":"2025-03-17T12:18:20.029Z","avatar_url":"https://github.com/datajango.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NgTicTacToe\n\n- by Anthony L. Leotta\n\n\n![Screen Caoture of Game](./ttt.png)\n\n## Generating the project\n\n1. This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.3.9.\n\n1. First do a dry-run.\n\n  ```\n  ng new ngtictactoe --routing=true --skipGit=true --style=scss --directory=.\t--dryRun=true\n  ```\n\n1. Next actually create the Application \n\n  ```\n  ng new ngtictactoe --routing=true --skipGit=true --style=scss --directory=.\t--dryRun=true\n  ```\n\n## Design \n\n1. Player Model\n1. Board Component\n1. Moves Component\n1. Move Item Component\n1. Game Control Component\n  1. Reset Game\n  1. Take back last move\n  1. Hint\n1. Scores Component\n1. Score Item Component\n\n## Creation Steps\n\n1. First create the game board itself.\n\n  ```\n  ng generate component game-board --style=scss\n  ```\n\n1. Next create the the playing spaces\n\n  ```\n  ng generate component game-space --style=scss\n  ```\n\n1. Control the game with a service\n\n  ```\n  ng generate service game\n  ```\n\n1. Create a Player Class\n\n  ```\n  ng generate class player\n  ```\n\n1. Create a control panel\n\n  Allow user to reset the game.  Display victory and score.\n  ```\n  ng generate component game-controls --style=scss\n  ```\n\n\n## Development server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\n## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n## Build\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.\n\n## Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n## Running end-to-end tests\n\nRun `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).\n\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatajango%2Fng-tic-tac-toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatajango%2Fng-tic-tac-toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatajango%2Fng-tic-tac-toe/lists"}