{"id":24716867,"url":"https://github.com/samyam81/tictactoe","last_synced_at":"2025-09-05T13:48:34.939Z","repository":{"id":220930922,"uuid":"752965211","full_name":"samyam81/TicTacToe","owner":"samyam81","description":" This repository hosts Java implementations of Tic-Tac-Toe: a graphical version using Swing and a console version.","archived":false,"fork":false,"pushed_at":"2024-05-21T07:07:02.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-22T09:24:49.742Z","etag":null,"topics":["console","console-game","java","swing"],"latest_commit_sha":null,"homepage":"","language":"Java","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/samyam81.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":"2024-02-05T07:49:25.000Z","updated_at":"2024-06-23T12:07:54.000Z","dependencies_parsed_at":"2024-02-05T09:01:37.738Z","dependency_job_id":"a342f09a-a4a8-4134-9157-51a87271179d","html_url":"https://github.com/samyam81/TicTacToe","commit_stats":null,"previous_names":["samyam81/tictactoe"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samyam81/TicTacToe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samyam81%2FTicTacToe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samyam81%2FTicTacToe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samyam81%2FTicTacToe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samyam81%2FTicTacToe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samyam81","download_url":"https://codeload.github.com/samyam81/TicTacToe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samyam81%2FTicTacToe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273767690,"owners_count":25164462,"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","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["console","console-game","java","swing"],"created_at":"2025-01-27T09:14:29.786Z","updated_at":"2025-09-05T13:48:34.928Z","avatar_url":"https://github.com/samyam81.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TicTacToe\n\nThis repository contains two implementations of the classic game Tic-Tac-Toe: one implemented using Java Swing for a graphical user interface (GUI), and the other implemented as a console-based application.\n\n## GUI Version\n\n### Files\n- **MainGUI.java**: Contains the code for the GUI version of Tic-Tac-Toe implemented using Java Swing.\n\n### How to Play\n1. Run the `MainGUI.java` file.\n2. A window will open displaying the Tic-Tac-Toe board.\n3. Click on any square to make a move.\n4. The game alternates between 'X' and 'O' players.\n5. The game will announce the winner or declare a draw.\n\n## Console Version\n\n### Files\n- **mainApp.java**: Contains the code for the console version of Tic-Tac-Toe.\n\n### How to Play\n1. Run the `mainApp.java` file.\n2. The game will prompt you to enter the row and column numbers where you want to make a move.\n3. Enter the row and column numbers when prompted.\n4. The game will announce the winner or declare a draw.\n\nEnjoy playing Tic-Tac-Toe!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamyam81%2Ftictactoe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamyam81%2Ftictactoe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamyam81%2Ftictactoe/lists"}