{"id":20600890,"url":"https://github.com/yann-p/serverfight","last_synced_at":"2025-10-03T15:11:02.155Z","repository":{"id":69008464,"uuid":"146196222","full_name":"Yann-P/ServerFight","owner":"Yann-P","description":"Browser game made in 2011","archived":false,"fork":false,"pushed_at":"2018-12-19T20:11:27.000Z","size":1202,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T15:51:51.806Z","etag":null,"topics":["game","multiplayer","php","real-time","simulation-game"],"latest_commit_sha":null,"homepage":"https://sf.yann-p.fr","language":"PHP","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/Yann-P.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-08-26T16:15:45.000Z","updated_at":"2023-03-23T22:29:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"4c73b782-c355-42a1-8b05-69bf74eca7bc","html_url":"https://github.com/Yann-P/ServerFight","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Yann-P/ServerFight","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yann-P%2FServerFight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yann-P%2FServerFight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yann-P%2FServerFight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yann-P%2FServerFight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yann-P","download_url":"https://codeload.github.com/Yann-P/ServerFight/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yann-P%2FServerFight/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271764442,"owners_count":24817151,"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-08-23T02:00:09.327Z","response_time":69,"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":["game","multiplayer","php","real-time","simulation-game"],"created_at":"2024-11-16T08:39:44.025Z","updated_at":"2025-10-03T15:11:02.058Z","avatar_url":"https://github.com/Yann-P.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serverfight\n### 2011 personal project\n\n## Presentation\n\nServerfight is a web game that you can play in your browser. It's about maintaining your own server farm, hacking other people's servers and playing various minigame in a \"Web OS\"-like environment featuring a fake console with various commands.\n\nHere is a video kindly made by MaitreChocobo\n to introduce the game https://www.youtube.com/watch?v=t9mTkb-BbLI (french)\n\n\n![Screenshot](presentation.png)\n\n**It's still live, try it out: http://sf.yann-p.fr/**\n\n## Disclaimers\n- **This is code written when I was in high school.** I did not know OOP, software or database principles. I am aware that untested, undocumented and unmaiainable. Also a reason it was not further developed.\n- This is a ugly soup of PHP, MySQL, HTML, CSS and Javascript.\n- The passwords aren't stored very safely (SHA1, private salt common to all accounts). Change it in `socle.php`\n\n## Installation\n\n* Setup linux crons (files in `cron/`), one that runs each hour and another one at midnight every day.\n* Database setup: edit `socle.php` and apply `structure.sql` to your MySQL database.\n* Insert a user named 'Admin' with id 1 and grade 3\n\n## Features\n\n* Homepage with a real-time peek of the activity of the game\n* Web UI with hints, top bar with your in-game characteristics, desktop with icons corresponding to the applications listed below, window management (maximize/minimize/close/move etc.)\n* Terminal with commands and history\n    * connect to a server\n    * add aliases to commands\n    * buy resources for your servers\n    * improve security of your servers\n    * change password of a server\n    * get random servers of your level\n    * destroy a server\n    * ping\n    * trade work time for in-game money\n    * hack and gain command of other players' servers.\n* Mini-games\n    * Flash-matrice: win in-game money by being the first to copy an animated string of characters\n    * Decryptlab: multi-player real-time challenges with bets\n* Servermanager, an gui to list and give info about your servers\n* Fake browser\n    * Create, edit, deletes sites in BBCode\n    * Site ranking by links that point to it\n* Ranking of players\n* In-game guide\n* Communication between players\n    * Real time chat-room with private message functionality\n    * In-game email app\n* Change password/email address\n* Extensive moderation tools (delete activity, block IP, etc.)\n* Extensive administration tools (logs, connect as player, etc.)\n\n## Tech used\n\n- PHP 5\n- Jquery + Jquery UI (for the webos) with intensive use of AJAX\n- MySQL\n\n## Licence \nGPLv3","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyann-p%2Fserverfight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyann-p%2Fserverfight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyann-p%2Fserverfight/lists"}