{"id":27443494,"url":"https://github.com/helenanevesdeveloper/tic-tac-toe-game","last_synced_at":"2026-04-09T17:03:49.693Z","repository":{"id":178462539,"uuid":"624427757","full_name":"helenanevesdeveloper/tic-tac-toe-game","owner":"helenanevesdeveloper","description":"Tic tac toe game against an Artificial Inteligence. I've used React and Node for front-end and Flask for back-end.","archived":false,"fork":false,"pushed_at":"2024-11-24T23:26:34.000Z","size":43519,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T01:27:28.138Z","etag":null,"topics":["api","flask","javascript","mocha","nodejs","pytest","python","react","tic-tac-toe","unit-testing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/helenanevesdeveloper.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-06T12:53:37.000Z","updated_at":"2024-11-24T23:26:37.000Z","dependencies_parsed_at":"2025-02-16T12:47:33.717Z","dependency_job_id":"79464bbe-30e6-42b7-a505-6e326a726b79","html_url":"https://github.com/helenanevesdeveloper/tic-tac-toe-game","commit_stats":null,"previous_names":["helenanevesbr/tic-tac-toe-game","helenanevesdeveloper/tic-tac-toe-game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helenanevesdeveloper%2Ftic-tac-toe-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helenanevesdeveloper%2Ftic-tac-toe-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helenanevesdeveloper%2Ftic-tac-toe-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helenanevesdeveloper%2Ftic-tac-toe-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helenanevesdeveloper","download_url":"https://codeload.github.com/helenanevesdeveloper/tic-tac-toe-game/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248997080,"owners_count":21195786,"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":["api","flask","javascript","mocha","nodejs","pytest","python","react","tic-tac-toe","unit-testing"],"created_at":"2025-04-15T02:43:20.774Z","updated_at":"2025-12-30T19:51:09.589Z","avatar_url":"https://github.com/helenanevesdeveloper.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Jogo da Velha\n\nEste é um simples jogo da velha construído usando Node.js e React no front-end e Flask (Python) no back-end.\nEle é jogado entre um humano e uma inteligência artificial (AI).\n\n### Instalando Dependências\n\nBaixe e instale Docker Desktop:\nhttps://www.docker.com/products/docker-desktop/\n\nInicie os containers com o back e front usando o seguinte comando no diretório raiz do projeto:\n```bash\ndocker-compose up --build\n```\n\n### Como Jogar\n\n- O tabuleiro do jogo é exibido na tela. Clique em qualquer um dos quadrados vazios para fazer uma jogada.\n\n- O jogador da AI fará sua jogada. O jogo continuará até que um dos jogadores vença ou o jogo termine em um empate.\n\n- Para reiniciar o jogo, clique no botão \"Reset\".\n\n### Testes\n\nO aplicativo inclui dois testes de unidade:\n- Um teste para o método que verifica se o jogo tem um vencedor\n- Outro teste para os muitos movimentos que a AI pode executar\n\nOs testes foram inicialmente criados usando Mocha e Chai.\\\nPorém, a criação da API tornou necessária a refatoração dos testes para PyTest.\nAmbas as versões podem ser encontradas no repositório.\n\n### Executando Testes\n\nPara executar os testes em Mocha, use o seguinte comando:\n```bash\ncd .\\front\nnpm test\n```\nPara executar os testes em PyTest, use os seguintes comandos:\n```bash\ncd .\\api\npytest\n```\n### Créditos\n\nEste aplicativo foi desenvolvido por Helena Neves. Se você tiver alguma dúvida ou feedback, entre em contato comigo em helenaneves.br@gmail.com.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelenanevesdeveloper%2Ftic-tac-toe-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelenanevesdeveloper%2Ftic-tac-toe-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelenanevesdeveloper%2Ftic-tac-toe-game/lists"}