Skip to content

Commit

Permalink
feat: increase players amount and modify initial positions in merliot
Browse files Browse the repository at this point in the history
  • Loading branch information
tvillegas98 committed Nov 14, 2024
1 parent b600aba commit 6a02009
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 32 deletions.
3 changes: 2 additions & 1 deletion apps/arena/lib/arena/matchmaking/game_launcher.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ defmodule Arena.Matchmaking.GameLauncher do
"Bob",
"El javo",
"Alberso",
"Thomas"
"Thomas",
"Timmy"
]

# API
Expand Down
3 changes: 2 additions & 1 deletion apps/arena/lib/arena/matchmaking/pair_mode.ex
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ defmodule Arena.Matchmaking.PairMode do
"Bob",
"El javo",
"Alberso",
"Thomas"
"Thomas",
"Timmy"
]

# API
Expand Down
3 changes: 2 additions & 1 deletion apps/arena/lib/arena/matchmaking/quick_game_mode.ex
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ defmodule Arena.Matchmaking.QuickGameMode do
"Bob",
"El javo",
"Alberso",
"Thomas"
"Thomas",
"Timmy"
]

# API
Expand Down
2 changes: 1 addition & 1 deletion config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ config :arena, ArenaWeb.Endpoint,
config :arena, Arena.Mailer, adapter: Swoosh.Adapters.Local

# Amount of clients needed to start a game
config :arena, :players_needed_in_match, 7
config :arena, :players_needed_in_match, 12
config :arena, :spawn_bots, false

################################
Expand Down
40 changes: 12 additions & 28 deletions priv/repo/seeds.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3673,34 +3673,18 @@ merliot_map_config = %{
radius: 15000.0,
active: true,
initial_positions: [
%{
x: 5360.0,
y: -540.0
},
%{
x: -5130.0,
y: -920.0
},
%{
x: 555.0,
y: 4314.0
},
%{
x: 2750.0,
y: -4200.0
},
%{
x: -3700.0,
y: 2700.0
},
%{
x: 4250.0,
y: 3000.0
},
%{
x: -1842.0,
y: -4505.0
}
%{x: -5757, y: 4683},
%{x: -2417, y: 5103},
%{x: 952, y: 5603},
%{x: 4782, y: 5583},
%{x: 5632, y: 2753},
%{x: 5242, y: -316},
%{x: 5602, y: -4806},
%{x: 2442, y: -5476},
%{x: -897, y: -5296},
%{x: -4337, y: -5506},
%{x: -4897, y: -2416},
%{x: -5047, y: 853}
],
obstacles: [
%{
Expand Down

0 comments on commit 6a02009

Please sign in to comment.