https://github.com/nenuadrian/hacker-rpg-php-browser-based-game
Hacking Simulation Futuristic PHP Browser Based Role Playing Game - Responsive PHP hacker game - Version 4
https://github.com/nenuadrian/hacker-rpg-php-browser-based-game
browser browser-based-games browser-game game game-development mission-designer php php-game rpg rpg-game secret-republic
Last synced: 27 days ago
JSON representation
Hacking Simulation Futuristic PHP Browser Based Role Playing Game - Responsive PHP hacker game - Version 4
- Host: GitHub
- URL: https://github.com/nenuadrian/hacker-rpg-php-browser-based-game
- Owner: nenuadrian
- License: mit
- Created: 2016-11-22T16:56:34.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-03-06T14:23:47.000Z (2 months ago)
- Last Synced: 2025-04-13T21:13:30.376Z (27 days ago)
- Topics: browser, browser-based-games, browser-game, game, game-development, mission-designer, php, php-game, rpg, rpg-game, secret-republic
- Language: PHP
- Homepage:
- Size: 28.7 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Secret Republic - Browser Based PHP Hacker Themed RPG - Alpha V4
[](https://github.com/nenuadrian/hacker-rpg-php-browser-based-game/actions/workflows/php.yml)

# Live Demo
Live demo: http://secretrepublic.nenuadrian.com
Hosted on [DreamHost](https://mbsy.co/dreamhost/92571715)
# Read about the journey
[Read article on Medium](https://adriannenu.medium.com/secret-republic-update-hacker-themed-browser-based-php-game-855299b4cdea)
# Overview
Audio trailer on Youtube: https://www.youtube.com/watch?v=6thfiGb-b7c
A lot of work has gone into this, but it not a fully documented project.
It's been through years of development with this being its 3rd itteration.
The project is not under active development with milestones in-place.
It is built upon the https://fuelphp.com MVC framework.
# Main Features
1. Audio AI (woman, same as trailer) voice speaks when interacting with the game
2. Futuristic minimalistic Bootstrap-based UI, mobile ready, made to feel like an app
3. Point and click based missions with servers of multiple types (file servers, email and database)
4. In-game Mission designer with BBCode like syntax features
5. Upgradable knowledge & skills
6. Rewards system
# Simple Setup
You need a webserver (e.g. MAMP/WAMP/XAMPP) able to run PHP (tested with 7.3) and an MySQL database (LAMP stack).
1. Install `composer` (the PHP dependency management system - `brew install composer` for MacOS) and run `composer install`
2. 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`
3. Visit `http://localhost/public_html` - this may be different if you are using another port or directory structure, e.g. `http://localhost:8888/sr/public_html` and follow the setup process

# Cron jobs
You may want to setup cron tasks to run the following pages once in a while
your-url/cron/rankings
your-url/cron/emails
e.g.
*/2 * * * * wget -O - http://localhost/cron/emails >/dev/null 2>&1
https://en.wikipedia.org/wiki/Cron
# Linting
Checking PHP syntax
```
./fuel/vendor/bin/phplint ./ --exclude=vendor
```# Mobile app
One approach is to use these repositories:
* iOS: https://github.com/nenuadrian/iOS-website-elegant-rendering-swift-app
* Android: https://github.com/nenuadrian/android-website-elegant-rendering# Screenshots


## Skills
## Knowledge base
## Missions (there are email, database and file based servers which can be used to design different puzzles)

## Simple rankings
## Mission designer

## Rewards
## Edit account
# Tests
```
./fuel/vendor/phpunit/phpunit/phpunit tests
```# Travelling through time - V1


# License
Please link and contribute back to this repository if using the code or assets :)
# Secret Republic V3 (OLDER W/ MORE FEATURES)
V3 is much older, less organized and not respecting of any patterns what-so-ever in code, mostly based on a framework written from scratch.
Find version 3 here: https://github.com/nenuadrian/Secret-Republic-Hacking-Browser-Game-V3