{"id":21216906,"url":"https://github.com/lablnet/tictactoe","last_synced_at":"2026-05-17T21:03:13.817Z","repository":{"id":40698532,"uuid":"367896207","full_name":"lablnet/TicTacToe","owner":"lablnet","description":"A Tic Tac Toe game using Minimax algorithm","archived":false,"fork":false,"pushed_at":"2023-01-07T07:32:36.000Z","size":303,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-21T16:45:13.025Z","etag":null,"topics":["javascript","minimax-algorithm","mit-license","tic-tac-toe","webpack"],"latest_commit_sha":null,"homepage":"https://lablnet.github.io/TicTacToe/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lablnet.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-16T14:00:41.000Z","updated_at":"2021-12-25T07:19:17.000Z","dependencies_parsed_at":"2023-02-06T14:45:52.815Z","dependency_job_id":null,"html_url":"https://github.com/lablnet/TicTacToe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lablnet%2FTicTacToe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lablnet%2FTicTacToe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lablnet%2FTicTacToe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lablnet%2FTicTacToe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lablnet","download_url":"https://codeload.github.com/lablnet/TicTacToe/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243667967,"owners_count":20328036,"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":["javascript","minimax-algorithm","mit-license","tic-tac-toe","webpack"],"created_at":"2024-11-20T21:56:19.276Z","updated_at":"2026-05-17T21:03:08.776Z","avatar_url":"https://github.com/lablnet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\nA Tic Tac Toe game using Minimax algorithm\n\n## Purpose\n To understand how things works underneath the hood.\n\n## Todo\n  - [x] initialize the project.\n  - [x]  Add `js` and `scss` using webpack.\n  - [x] Game win, lose and tie state.\n  - [x] Add `minimax` algorithm.\n  - [ ] Splash screen\n  - [ ] Support for n*n board\n  - [ ] Multiplayer support\n  - [ ] Different levels\n  - [ ] Add sound/beeps\n\n## Install\n- First clone the repo  `git clone https://github.com/Lablnet/TicTacToe`  \n- Now run `npm install` to install dependencies\n- Now build  `npm run build` or watch if you making changes `npm run watch`\n\n## File Structure\n- `src/js/`\n\t- `Board.js` Contain code to generate dynamic board.\n\t- `Screen.js` Code for screens like splash, game board and game over.\n\t- `Play.js` Code to play game detect user clicks mark on board, logic for game over and who win.\n\t- `AI.js` Computer turn move using minmax.\n\t- `App.js` Usage of above classes and import SCSS Style-sheet.\n- `src/scss/`\n\t- `App.scss` Style-sheet file\n- `index.html` Base HTML file.\n- `public/build.js`JavaScript build file\n\n## Contributions  \nThere is still a lot of work to do, so feel free to contribute to open `PR`  \n\n## License  \nMIT  \n\n## Support  \nDonate coffee?  \nhere is the bitcoin address  \n[![Balance](https://img.balancebadge.io/btc/37x6PA4qtPu2fQnYdW5U7jztYhbchASpBV.svg)](https://img.balancebadge.io/btc/37x6PA4qtPu2fQnYdW5U7jztYhbchASpBV.svg)\n\n   ```37x6PA4qtPu2fQnYdW5U7jztYhbchASpBV```  \n\nThanks you so much.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flablnet%2Ftictactoe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flablnet%2Ftictactoe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flablnet%2Ftictactoe/lists"}