You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Go to file
reflexrecon 1b70cda21e
Merge pull request 'fix deut thing 2' (#552) from fixxtoomuchdeutselected2 into development
2 days ago
.config Fix cache exclusion in phpcs, add ddev, vendor and libs folder to excludes 11 months ago
.ddev Set ddev PHP version to 8.1 5 months ago
cache first commit 1 year ago
includes Removes resources, ships, defence and shipyard build list from inactive vacation players during automatic vacation termination 1 week ago
install Fixed recycler speedTech in install.sql 1 month ago
language Fixes en register button label 1 week ago
licenses first commit 1 year ago
logs removed log file 1 year ago
scripts fix deut thing 2 2 days ago
stats provide top scores as JSON 11 months ago
styles fix deut thing 2 2 days ago
tests Replace 2moons by pr0game 1 year ago
.drone.yml Add editorconfig-checker to Drone CI config 1 year ago
.editorconfig Add sh, sql, tpl and yaml/yml to the editorconfig 1 year ago
.gitignore feat: Add php-cs-fixer 1 month ago
.gitlab-ci.yml Add stages to GitLab CI jobs 9 months ago
.htaccess Fixes and code style updates for multiple universes 5 months ago
.php-cs-fixer.php feat: force short array syntax 1 month ago
CHANGES.md refactor: Remove packaged libraries 2 months ago
CombatReport.php feat: require autoloader before anything else 2 months ago
LICENSE first commit 1 year ago
README.md feat: Add php-cs-fixer 1 month ago
admin.php feat: refactor based on php-cs-fixer defaults 1 month ago
composer.json feat: Add php-cs-fixer 1 month ago
composer.lock feat: Add php-cs-fixer 1 month ago
cronjob.php feat: require autoloader before anything else 2 months ago
docker-compose.yml first commit 1 year ago
favicon.ico first commit 1 year ago
game.php feat: require autoloader before anything else 2 months ago
index.html first commit 1 year ago
index.php feat: require autoloader before anything else 2 months ago
nginx.md Remove folder 1 year ago
robots.txt first commit 1 year ago
userpic.php feat: require autoloader before anything else 2 months ago

README.md

pr0game.com

An open source space strategy game

Development

You need Git to work with the repository.

git clone https://codeberg.org/pr0game/pr0game.git

ddev

ddev is a local development environment system based on Docker and docker-compose.

Prerequisites

Usage

To start the project for development purposes, you just need one command:

ddev start

To install the project for development purposes, you just need one command:

ddev composer install

Before committing you should run PHP-CS-Fixer:

ddev composer exec php-cs-fixer fix

The project will be available at: https://pr0game.ddev.site

To enable the installtool you can use the custom function:

# Enable
ddev installtool
# or
ddev installtool enable

# Disable
ddev installtool disable