{"id":19235365,"url":"https://github.com/usmanbashir/tic-tac-chase-toe","last_synced_at":"2026-03-06T01:35:50.584Z","repository":{"id":149183220,"uuid":"196638836","full_name":"usmanbashir/tic-tac-chase-toe","owner":"usmanbashir","description":"Tic Tac Chase Toe","archived":false,"fork":false,"pushed_at":"2019-09-19T14:40:44.000Z","size":693,"stargazers_count":0,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-22T01:00:28.381Z","etag":null,"topics":["game","html5","javascript"],"latest_commit_sha":null,"homepage":"http://tic-tac-chase-toe.surge.sh/","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/usmanbashir.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,"zenodo":null}},"created_at":"2019-07-12T20:04:46.000Z","updated_at":"2019-09-19T14:42:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"d76d3e99-c105-45c3-8a1e-612e3790254f","html_url":"https://github.com/usmanbashir/tic-tac-chase-toe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/usmanbashir/tic-tac-chase-toe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usmanbashir%2Ftic-tac-chase-toe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usmanbashir%2Ftic-tac-chase-toe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usmanbashir%2Ftic-tac-chase-toe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usmanbashir%2Ftic-tac-chase-toe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usmanbashir","download_url":"https://codeload.github.com/usmanbashir/tic-tac-chase-toe/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usmanbashir%2Ftic-tac-chase-toe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30157846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T22:39:40.138Z","status":"ssl_error","status_checked_at":"2026-03-05T22:39:24.771Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["game","html5","javascript"],"created_at":"2024-11-09T16:16:42.661Z","updated_at":"2026-03-06T01:35:50.569Z","avatar_url":"https://github.com/usmanbashir.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tic Tac Chase Toe\r\n\r\nA turn-based board game in JavaScript\r\n\r\n- [Play Online](https://tic-tac-chase-toe.surge.sh/)\r\n- [Read Documentation](https://tic-tac-chase-toe.surge.sh/docs/)\r\n\r\n----\r\n\r\nAn online game written in vanilla JavaScript, in which 2 players play each turn to compete. \r\n\r\nThe game starts by randomly generating the game map. Where each box can be either empty or blocked. With a limited number of weapons (up to 4) placed randomly and can be collected by players who pass through. While starting each player with a basic default weapon.\r\n\r\nFor each turn, a player can move from one to three boxes (horizontally or vertically) before ending their turn. They obviously can not pass through obstacles directly.\r\n\r\nIf a player passes over a box containing a weapon, they leave their current weapon on-site and replace it with the new one.\r\n\r\nIf players cross over adjacent squares (horizontally or vertically), a battle begins.\r\n\r\nDuring combat, the game works as follows:\r\n\r\n- Each player attacks in turn\r\n- The damage depends on the player's weapon\r\n- The player can choose to attack or defend against the next shot\r\n- If the player chooses to defend themselves, they sustain 50% less damage than normal\r\n- As soon as the HP/life points of a player (initially 100) fall to 0, they lose. A message appears and the game is over.\r\n\r\nThis game was an experiment to see what could be achieved using modern vanilla JavaScript using Object-Oriented Programming. It was also an exercise to see how good comments can also help produce good documentation.\r\n\r\nAlthough there was a lot more I wanted to do with this project in terms of features and design. But I had to stop somewhere and version 1 was more than good enough for that.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusmanbashir%2Ftic-tac-chase-toe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusmanbashir%2Ftic-tac-chase-toe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusmanbashir%2Ftic-tac-chase-toe/lists"}