{"id":18535780,"url":"https://github.com/santosh2702/tic-toc-toe","last_synced_at":"2025-05-15T00:30:45.061Z","repository":{"id":200786642,"uuid":"128499958","full_name":"santosh2702/Tic-Toc-Toe","owner":"santosh2702","description":"game","archived":false,"fork":false,"pushed_at":"2018-08-03T18:23:19.000Z","size":167,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-17T07:32:38.268Z","etag":null,"topics":["python2"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/santosh2702.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":"2018-04-07T05:39:13.000Z","updated_at":"2018-08-03T18:23:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf03bf54-ffb0-4ce5-874e-7724889cd002","html_url":"https://github.com/santosh2702/Tic-Toc-Toe","commit_stats":null,"previous_names":["santosh2702/tic-toc-toe"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santosh2702%2FTic-Toc-Toe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santosh2702%2FTic-Toc-Toe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santosh2702%2FTic-Toc-Toe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santosh2702%2FTic-Toc-Toe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santosh2702","download_url":"https://codeload.github.com/santosh2702/Tic-Toc-Toe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254250835,"owners_count":22039282,"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":["python2"],"created_at":"2024-11-06T19:27:23.846Z","updated_at":"2025-05-15T00:30:44.851Z","avatar_url":"https://github.com/santosh2702.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tic-Toc-Toe:\n![photo](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSd0kMyTFgmAudk1BkoUtp3TX0HGK9k_lBc6rbIOYlSgH_8znRUNw)\n\n## About:\nGame using python Basics Tuples,Dictionary,Lists and etc.\n![photo](https://i.ytimg.com/vi/V3LhwtmjlOY/maxresdefault.jpg)\nUsing jupyter notebook tictoctoe game\n# Possible Cases:\n![photo](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTkFBkYkQdhR5nYFLhIJEbRIdrH3Wuw7fxgO3AL6ZGm0aDr5_WQGw)\nMany more!\n# Codes:\n## Use of while loops and the functions you've made to run the game!\n\n while game_on:\n \n        if turn == 'Player 1':\n        \n            display_board(theBoard)\n            position = player_choice(theBoard)\n            place_marker(theBoard, player1_marker, position)\n            if win_check(theBoard, player1_marker):\n                display_board(theBoard)\n                print('Congratulations! You have won the game!')\n                game_on = False\n            else:\n                if full_board_check(theBoard):\n                    display_board(theBoard)\n                    print('The game is a draw!')\n                    break\n                else:\n                    turn = 'Player 2'\n        else: \n        \n            display_board(theBoard)\n            position = player_choice(theBoard)\n            place_marker(theBoard, player2_marker, position)\n            if win_check(theBoard, player2_marker):\n                display_board(theBoard)\n                print('Player 2 has won!')\n                game_on = False\n            else:\n            \n                if full_board_check(theBoard):\n                    display_board(theBoard)\n                    print('The game is a tie!')\n                    break\n                else:\n                    turn = 'Player 1'\n                    \n    if not replay():\n        break\n\n\n![screenshot 72](https://user-images.githubusercontent.com/34129569/40606487-22bcb1cc-6283-11e8-89bb-ea51d0e8462f.png)\n\n![screenshot 71](https://user-images.githubusercontent.com/34129569/40606529-486d15d8-6283-11e8-9e84-edec2d6c8d0f.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantosh2702%2Ftic-toc-toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantosh2702%2Ftic-toc-toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantosh2702%2Ftic-toc-toe/lists"}