{"id":18410658,"url":"https://github.com/vfk/tic-tac-toe-online","last_synced_at":"2025-04-12T22:46:55.431Z","repository":{"id":15065794,"uuid":"17792050","full_name":"VFK/tic-tac-toe-online","owner":"VFK","description":"Open source MMO tic-tac-toe game","archived":false,"fork":false,"pushed_at":"2014-03-24T10:15:05.000Z","size":176,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T22:46:33.652Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/VFK.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":"2014-03-16T04:27:22.000Z","updated_at":"2020-10-13T06:42:51.000Z","dependencies_parsed_at":"2022-07-16T16:47:07.394Z","dependency_job_id":null,"html_url":"https://github.com/VFK/tic-tac-toe-online","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/VFK%2Ftic-tac-toe-online","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VFK%2Ftic-tac-toe-online/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VFK%2Ftic-tac-toe-online/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VFK%2Ftic-tac-toe-online/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VFK","download_url":"https://codeload.github.com/VFK/tic-tac-toe-online/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248643047,"owners_count":21138353,"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":[],"created_at":"2024-11-06T03:33:14.072Z","updated_at":"2025-04-12T22:46:55.391Z","avatar_url":"https://github.com/VFK.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tic-Tac-Toe Online [![Build Status](https://travis-ci.org/VFK/tic-tac-toe-online.png?branch=master)](https://travis-ci.org/VFK/tic-tac-toe-online)\n\nOpen source massive multiplayer online tic-tac-toe game.\n\n## Overview\nWorld of Warcraft has finally met a worthy competitor :)\nThis project uses some nifty tools like Browserify for modular code and Gulp for building purposes.\nThis project intended to be modern. Server side was tested on Node.js 0.9+.\nClient side does not use any dirty hacks or polyfills for ancient pre-browser era,\nso it should work in IE10+ and all browsers.\n\n## Configuration\nAs of now the game doesn't have any centralized way to manage configuration options.\nIt should be added later on.\n\n#### Server side\n* Port. In `server/index.js`, find\n\n```javascript\nvar server = new WebSocketServer({port: 8080});\n```\n\n#### Client side\n* Url for websockets connection. In `client/index.js` find\n\n```javascript\nvar ws = new WS('ws://127.0.0.1:8080');\n```\n\n* Tracking code. In `client/inc` edit **analytics** file. Delete if not needed.\n* Advertisement code. In `client/inc` edit **adsense** file. Delete if not needed.\n\n\n## Building\nThe client side leverages [Browserify](http://browserify.org/) so it must be built before using.\n\nInstall dependencies using npm:\n```\nnpm install\n```\nAs a build tool we use [Gulp](http://gulpjs.com/), so it needs to be installed globally:\n```\nnpm install -g gulp\n```\nNow you can build your own game:\n```javascript\n// Build development version\ngulp dev\n\n// Or build the production version\ngulp prod\n```\nBuild task will create a new folder called `build`with client-side files.\n\n## Usage\nRun **index.js** in **server** folder through node:\n```\nnode server/index.js\n```\nOpen **index.html** from **build** folder in the browser. Enjoy.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvfk%2Ftic-tac-toe-online","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvfk%2Ftic-tac-toe-online","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvfk%2Ftic-tac-toe-online/lists"}