Skip to content

Commit

Permalink
Merge pull request #27 from Arthur1/release/2.0.5
Browse files Browse the repository at this point in the history
Release 2.0.5
  • Loading branch information
Arthur1 authored Aug 25, 2021
2 parents c644ded + 0c54e6a commit e578ff3
Show file tree
Hide file tree
Showing 8 changed files with 1,989 additions and 1,069 deletions.
26 changes: 9 additions & 17 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
ps:
cd laradock; docker-compose ps
SAIL := ./vendor/bin/sail

restart:
make stop
make start
up:
$(SAIL) up -d

start:
cd laradock; docker-compose up -d workspace nginx mysql php-worker
down:
$(SAIL) down

stop:
cd laradock; docker-compose down
migrate:
$(SAIL) artisan migrate

build:
cd laradock; docker-compose build workspace nginx mysql php-worker

exec:
cd laradock; docker-compose exec --user 1000 workspace bash

exec_mysql:
cd laradock; docker-compose exec mysql bash
mysql:
$(SAIL) mysql
2 changes: 1 addition & 1 deletion app/Game/HandCards/HandCard23.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ final class HandCard23 extends HandCardBase implements HandCard

public function build()
{
$this->increaseMaxHandCardsNumber(2);
$this->increaseMaxHandCardsNumber(4);
parent::build();
}
}
2 changes: 1 addition & 1 deletion app/Http/Controllers/GamePlayController.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@ public function sell(Request $request, $id)

private function createNextLog(Game $game)
{
$game->refresh();
$next_player = $game->next_player;
if ($next_player) {
GameLog::createUseBuildingLog($game, $next_player);
return;
}

$game->refresh();
$game->load(['discardLogs', 'wageLogs']);
$game->append(['wage', 'players_sorted_from_sp', 'discard_in_round_logs', 'wage_in_round_logs']);
$sorted_players = $game->players_sorted_from_sp;
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"require-dev": {
"facade/ignition": "^2.3.6",
"fzaninotto/faker": "^1.9.1",
"laravel/sail": "^1.10",
"laravel/telescope": "^4.1",
"mockery/mockery": "^1.3.1",
"nunomaduro/collision": "^5.0",
Expand Down
Loading

0 comments on commit e578ff3

Please sign in to comment.