NOT ACTIVELY MAINTAINED - PLEASE SUBMIT PULL REQUESTS IF YOU ARE ABLE TO ADD ANY FIXES/DOCS/FEATURES
Live demo: https://secretrepublic-v3.nenuadrian.com
Hosted on DreamHost
Audio trailer: https://www.youtube.com/watch?v=6thfiGb-b7c
A lot of work has gone into this but it (and more in its previous version) is not a documented (as of yet) project.
It's been through years of development with this being its 3rd full do-over.
However, the project on stand-by so I've decided to make the source available of nothing else
-
Audio AI (woman, same as trailer) voice speaks when interacting with the game
-
Futuristic bootstrap based UI, mostly mobile ready
-
UNIX like terminal/command line based missions
-
In-game Mission designer with BBCode like syntax features (see attached Guides and screens)
-
Community features: forums, organizations (guilds), organization forums, blogs, friends, messaging system, automatic mission based tournamens (hackdown), organization specific mission, the grid
-
The grid: every players gets a node to start with and can initialize or conquer other nodes from other players. The world is split in multiple zones, which are split into clusters with a final node granularity. Damage and spy attacks can be triggered between nodes. There's an attempt at a simulator for attacks
-
Abilities & skills which semi-influence command execution time in missions
-
Servers with upgradable hardware (motherboard, ram, hdd, power source, software)
-
Tutorial system
-
Rewards system
V4 is newer, more responsive made with mobile-first in mind, but way less featured.
https://github.com/nenuadrian/Secret-Republic-Hacker-Game-ORPBG-Alpha
You need a webserver (e.g. MAMP/WAMP/XAMPP) able to run PHP (tested with 7.3) and an MySQL database (LAMP stack).
-
Install
composer
(the PHP dependency management system -brew install composer
for MacOS) and runcomposer install
-
You will need to create an empty Database in MySQL - it's name is not relevant but you will need it in the next step. For MAMP, you would go to
http://localhost:8888/phpMyAdmin5
-
Visit
http://localhost/public_html/setup
- this may be different if you are using another port or directory structure, e.g.http://localhost:8888/sr/public_html/setup
and follow the setup process
Set these up to run periodically as the parameters suggest. The resources one should run maybe every minute
localhost/cron/key1/MDMwN2Q3OGRiYmM4Y2RkOWZjNTBmMzA4MzViZDZiNjQ=/attacks/true
localhost/cron/key1/MDMwN2Q3OGRiYmM4Y2RkOWZjNTBmMzA4MzViZDZiNjQ=/hourly/true
localhost/cron/key1/MDMwN2Q3OGRiYmM4Y2RkOWZjNTBmMzA4MzViZDZiNjQ=/daily/true
localhost/cron/key1/MDMwN2Q3OGRiYmM4Y2RkOWZjNTBmMzA4MzViZDZiNjQ=/hackdown/true
localhost/cron/key1/MDMwN2Q3OGRiYmM4Y2RkOWZjNTBmMzA4MzViZDZiNjQ/rankings/true
localhost/cron/key1/MDMwN2Q3OGRiYmM4Y2RkOWZjNTBmMzA4MzViZDZiNjQ=/attacks/true
e.g.
*/2 * * * * wget -O - http://localhost/cron/key1/MDMwN2Q3OGRiYmM4Y2RkOWZjNTBmMzA4MzViZDZiNjQ=/attacks/true >/dev/null 2>&1
https://en.wikipedia.org/wiki/Cron
This initial version was created by [Adrian Nenu] (https://github.com/nenuadrian)
Please link and contribute back to this repository if using the code or assets :)