cuju-engine 0.3.0__py3-none-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. cuju/__init__.py +217 -0
  2. cuju/__main__.py +262 -0
  3. cuju/_batch/__init__.py +4 -0
  4. cuju/_batch/allocator.py +52 -0
  5. cuju/_batch/assets.py +68 -0
  6. cuju/_batch/environment.py +1890 -0
  7. cuju/_batch/frame_stack.py +114 -0
  8. cuju/_batch/library.py +190 -0
  9. cuju/_batch/log.py +103 -0
  10. cuju/_batch/memory.py +70 -0
  11. cuju/_batch/operators.py +55 -0
  12. cuju/_batch/pinned.py +39 -0
  13. cuju/_batch/pixels.py +207 -0
  14. cuju/_batch/state.py +77 -0
  15. cuju/_checksums.py +60 -0
  16. cuju/_cli_contract.py +244 -0
  17. cuju/_cli_parsers.py +191 -0
  18. cuju/_completion.py +277 -0
  19. cuju/_dump_to_txt.py +66 -0
  20. cuju/_grf_config.py +331 -0
  21. cuju/_library_path.py +141 -0
  22. cuju/_media.py +113 -0
  23. cuju/_pixels.py +276 -0
  24. cuju/_plugins.py +106 -0
  25. cuju/_python_players.py +224 -0
  26. cuju/_replay_command.py +109 -0
  27. cuju/_replay_player.py +42 -0
  28. cuju/_replays.py +414 -0
  29. cuju/_script_helpers.py +109 -0
  30. cuju/_version.py +6 -0
  31. cuju/action_log.py +371 -0
  32. cuju/check.py +596 -0
  33. cuju/cuju_cpu.dll +0 -0
  34. cuju/cuju_cuda.dll +0 -0
  35. cuju/cuju_render.dll +0 -0
  36. cuju/data/SHA256SUMS +20 -0
  37. cuju/data/animations.bin +0 -0
  38. cuju/data/assets/11_vs_11_competition_l0_r0.cjb +0 -0
  39. cuju/data/assets/11_vs_11_easy_stochastic_l0_r0.cjb +0 -0
  40. cuju/data/assets/11_vs_11_hard_stochastic_l0_r0.cjb +0 -0
  41. cuju/data/assets/11_vs_11_kaggle_l0_r0.cjb +0 -0
  42. cuju/data/assets/11_vs_11_stochastic_l0_r0.cjb +0 -0
  43. cuju/data/assets/1_vs_1_easy_l0_r0.cjb +0 -0
  44. cuju/data/assets/5_vs_5_l0_r0.cjb +0 -0
  45. cuju/data/assets/academy_3_vs_1_with_keeper_l0_r0.cjb +0 -0
  46. cuju/data/assets/academy_corner_l0_r0.cjb +0 -0
  47. cuju/data/assets/academy_counterattack_easy_l0_r0.cjb +0 -0
  48. cuju/data/assets/academy_counterattack_hard_l0_r0.cjb +0 -0
  49. cuju/data/assets/academy_empty_goal_close_l0_r0.cjb +0 -0
  50. cuju/data/assets/academy_empty_goal_l0_r0.cjb +0 -0
  51. cuju/data/assets/academy_pass_and_shoot_with_keeper_l0_r0.cjb +0 -0
  52. cuju/data/assets/academy_run_pass_and_shoot_with_keeper_l0_r0.cjb +0 -0
  53. cuju/data/assets/academy_run_to_score_l0_r0.cjb +0 -0
  54. cuju/data/assets/academy_run_to_score_with_keeper_l0_r0.cjb +0 -0
  55. cuju/data/assets/academy_single_goal_versus_lazy_l0_r0.cjb +0 -0
  56. cuju/data/assets/test_example_multiagent_l0_r0.cjb +0 -0
  57. cuju/data/digests.json +186 -0
  58. cuju/data/render_digests.json.z +0 -0
  59. cuju/data/scenarios/11_vs_11_competition.py +45 -0
  60. cuju/data/scenarios/11_vs_11_easy_stochastic.py +44 -0
  61. cuju/data/scenarios/11_vs_11_hard_stochastic.py +44 -0
  62. cuju/data/scenarios/11_vs_11_kaggle.py +46 -0
  63. cuju/data/scenarios/11_vs_11_stochastic.py +44 -0
  64. cuju/data/scenarios/1_vs_1_easy.py +25 -0
  65. cuju/data/scenarios/5_vs_5.py +33 -0
  66. cuju/data/scenarios/academy_3_vs_1_with_keeper.py +28 -0
  67. cuju/data/scenarios/academy_corner.py +45 -0
  68. cuju/data/scenarios/academy_counterattack_easy.py +45 -0
  69. cuju/data/scenarios/academy_counterattack_hard.py +45 -0
  70. cuju/data/scenarios/academy_empty_goal.py +25 -0
  71. cuju/data/scenarios/academy_empty_goal_close.py +25 -0
  72. cuju/data/scenarios/academy_pass_and_shoot_with_keeper.py +27 -0
  73. cuju/data/scenarios/academy_run_pass_and_shoot_with_keeper.py +27 -0
  74. cuju/data/scenarios/academy_run_to_score.py +30 -0
  75. cuju/data/scenarios/academy_run_to_score_with_keeper.py +30 -0
  76. cuju/data/scenarios/academy_single_goal_versus_lazy.py +49 -0
  77. cuju/data/scenarios/test_example_multiagent.py +28 -0
  78. cuju/dumps.py +942 -0
  79. cuju/engine_status.py +106 -0
  80. cuju/env.py +1168 -0
  81. cuju/errors.py +108 -0
  82. cuju/gfootball/GRF_SOURCES +86 -0
  83. cuju/gfootball/__init__.py +60 -0
  84. cuju/gfootball/_cv2.py +43 -0
  85. cuju/gfootball/_gym/__init__.py +88 -0
  86. cuju/gfootball/_gym/_vendored/GYM_SOURCES +22 -0
  87. cuju/gfootball/_gym/_vendored/__init__.py +43 -0
  88. cuju/gfootball/_gym/_vendored/core.py +361 -0
  89. cuju/gfootball/_gym/_vendored/envs/__init__.py +19 -0
  90. cuju/gfootball/_gym/_vendored/envs/registration.py +284 -0
  91. cuju/gfootball/_gym/_vendored/error.py +230 -0
  92. cuju/gfootball/_gym/_vendored/logger.py +56 -0
  93. cuju/gfootball/_gym/_vendored/spaces/__init__.py +30 -0
  94. cuju/gfootball/_gym/_vendored/spaces/box.py +171 -0
  95. cuju/gfootball/_gym/_vendored/spaces/dict.py +162 -0
  96. cuju/gfootball/_gym/_vendored/spaces/discrete.py +41 -0
  97. cuju/gfootball/_gym/_vendored/spaces/multi_binary.py +61 -0
  98. cuju/gfootball/_gym/_vendored/spaces/multi_discrete.py +77 -0
  99. cuju/gfootball/_gym/_vendored/spaces/space.py +94 -0
  100. cuju/gfootball/_gym/_vendored/spaces/tuple.py +96 -0
  101. cuju/gfootball/_gym/_vendored/spaces/utils.py +228 -0
  102. cuju/gfootball/_gym/_vendored/utils/__init__.py +13 -0
  103. cuju/gfootball/_gym/_vendored/utils/closer.py +72 -0
  104. cuju/gfootball/_gym/_vendored/utils/colorize.py +36 -0
  105. cuju/gfootball/_gym/_vendored/utils/ezpickle.py +37 -0
  106. cuju/gfootball/_gym/_vendored/utils/json_utils.py +27 -0
  107. cuju/gfootball/_gym/_vendored/utils/seeding.py +101 -0
  108. cuju/gfootball/_gym/_vendored/version.py +5 -0
  109. cuju/gfootball/_gym/_vendored/wrappers/__init__.py +8 -0
  110. cuju/gfootball/_gym/_vendored/wrappers/order_enforcing.py +20 -0
  111. cuju/gfootball/_gym/_vendored/wrappers/time_limit.py +31 -0
  112. cuju/gfootball/dump_to_txt.py +49 -0
  113. cuju/gfootball/dump_to_video.py +33 -0
  114. cuju/gfootball/env/__init__.py +271 -0
  115. cuju/gfootball/env/config.py +163 -0
  116. cuju/gfootball/env/constants.py +33 -0
  117. cuju/gfootball/env/controller_base.py +114 -0
  118. cuju/gfootball/env/event_queue.py +54 -0
  119. cuju/gfootball/env/football_action_set.py +220 -0
  120. cuju/gfootball/env/football_action_set_test.py +76 -0
  121. cuju/gfootball/env/football_env.py +225 -0
  122. cuju/gfootball/env/football_env_core.py +447 -0
  123. cuju/gfootball/env/football_env_test.py +692 -0
  124. cuju/gfootball/env/gym_test.py +47 -0
  125. cuju/gfootball/env/observation_preprocessing.py +94 -0
  126. cuju/gfootball/env/observation_processor.py +526 -0
  127. cuju/gfootball/env/observation_rotation.py +163 -0
  128. cuju/gfootball/env/observation_rotation_test.py +84 -0
  129. cuju/gfootball/env/player_base.py +46 -0
  130. cuju/gfootball/env/players/__init__.py +16 -0
  131. cuju/gfootball/env/players/agent.py +39 -0
  132. cuju/gfootball/env/players/bot.py +217 -0
  133. cuju/gfootball/env/players/gamepad.py +81 -0
  134. cuju/gfootball/env/players/keyboard.py +72 -0
  135. cuju/gfootball/env/players/lazy.py +31 -0
  136. cuju/gfootball/env/players/ppo2_cnn.py +119 -0
  137. cuju/gfootball/env/players/replay.py +40 -0
  138. cuju/gfootball/env/remote_football_env.py +189 -0
  139. cuju/gfootball/env/scenario_builder.py +125 -0
  140. cuju/gfootball/env/script_helpers.py +130 -0
  141. cuju/gfootball/env/script_helpers_test.py +107 -0
  142. cuju/gfootball/env/wrappers.py +440 -0
  143. cuju/gfootball/env/wrappers_test.py +150 -0
  144. cuju/gfootball/eval_server/__init__.py +17 -0
  145. cuju/gfootball/eval_server/config.py +30 -0
  146. cuju/gfootball/eval_server/example_client.py +107 -0
  147. cuju/gfootball/eval_server/proto/game_server.proto +62 -0
  148. cuju/gfootball/eval_server/proto/game_server_pb2.py +501 -0
  149. cuju/gfootball/eval_server/proto/game_server_pb2_grpc.py +113 -0
  150. cuju/gfootball/eval_server/proto/master.proto +25 -0
  151. cuju/gfootball/eval_server/proto/master_pb2.py +184 -0
  152. cuju/gfootball/eval_server/proto/master_pb2_grpc.py +62 -0
  153. cuju/gfootball/eval_server/utils.py +52 -0
  154. cuju/gfootball/examples/__init__.py +16 -0
  155. cuju/gfootball/examples/models.py +66 -0
  156. cuju/gfootball/examples/run_multiagent_rllib.py +140 -0
  157. cuju/gfootball/examples/run_ppo2.py +123 -0
  158. cuju/gfootball/play_game.py +73 -0
  159. cuju/gfootball/replay.py +43 -0
  160. cuju/gfootball/scenarios/11_vs_11_competition.py +59 -0
  161. cuju/gfootball/scenarios/11_vs_11_easy_stochastic.py +57 -0
  162. cuju/gfootball/scenarios/11_vs_11_hard_stochastic.py +57 -0
  163. cuju/gfootball/scenarios/11_vs_11_kaggle.py +60 -0
  164. cuju/gfootball/scenarios/11_vs_11_stochastic.py +57 -0
  165. cuju/gfootball/scenarios/1_vs_1_easy.py +39 -0
  166. cuju/gfootball/scenarios/5_vs_5.py +46 -0
  167. cuju/gfootball/scenarios/__init__.py +31 -0
  168. cuju/gfootball/scenarios/academy_3_vs_1_with_keeper.py +42 -0
  169. cuju/gfootball/scenarios/academy_corner.py +59 -0
  170. cuju/gfootball/scenarios/academy_counterattack_easy.py +59 -0
  171. cuju/gfootball/scenarios/academy_counterattack_hard.py +59 -0
  172. cuju/gfootball/scenarios/academy_empty_goal.py +39 -0
  173. cuju/gfootball/scenarios/academy_empty_goal_close.py +39 -0
  174. cuju/gfootball/scenarios/academy_pass_and_shoot_with_keeper.py +41 -0
  175. cuju/gfootball/scenarios/academy_run_pass_and_shoot_with_keeper.py +41 -0
  176. cuju/gfootball/scenarios/academy_run_to_score.py +44 -0
  177. cuju/gfootball/scenarios/academy_run_to_score_with_keeper.py +44 -0
  178. cuju/gfootball/scenarios/academy_single_goal_versus_lazy.py +63 -0
  179. cuju/gfootball/scenarios/test_example_multiagent.py +42 -0
  180. cuju/gfootball/scenarios/tests/11_vs_11_deterministic.py +58 -0
  181. cuju/gfootball/scenarios/tests/11_vs_11_easy_deterministic.py +58 -0
  182. cuju/gfootball/scenarios/tests/11_vs_11_hard_deterministic.py +58 -0
  183. cuju/gfootball/scenarios/tests/11_vs_11_single_goal_deterministic.py +58 -0
  184. cuju/gfootball/scenarios/tests/11_vs_11_single_goal_stochastic.py +58 -0
  185. cuju/gfootball/scenarios/tests/11_vs_4_offence_deterministic.py +47 -0
  186. cuju/gfootball/scenarios/tests/11_vs_4_offence_stochastic.py +47 -0
  187. cuju/gfootball/scenarios/tests/__init__.py +31 -0
  188. cuju/gfootball/scenarios/tests/corner_test.py +38 -0
  189. cuju/gfootball/scenarios/tests/goal_test.py +35 -0
  190. cuju/gfootball/scenarios/tests/keeper_test.py +38 -0
  191. cuju/gfootball/scenarios/tests/kickoff_for_goal_loosing_team_test.py +34 -0
  192. cuju/gfootball/scenarios/tests/multiagent_wrapper.py +60 -0
  193. cuju/gfootball/scenarios/tests/offside_test.py +39 -0
  194. cuju/gfootball/scenarios/tests/penalty.py +34 -0
  195. cuju/gfootball/scenarios/tests/second_half.py +33 -0
  196. cuju/gfootball/scenarios/tests/symmetric.py +53 -0
  197. cuju/gfootball_engine/__init__.py +31 -0
  198. cuju/gfootball_engine/_gameplayfootball.py +1624 -0
  199. cuju/gfootball_engine/_native.py +193 -0
  200. cuju/gfootball_engine/_pickle_names.py +114 -0
  201. cuju/gfootball_engine/_render_hooks.py +156 -0
  202. cuju/kaggle.py +425 -0
  203. cuju/multi_device.py +401 -0
  204. cuju/players.py +260 -0
  205. cuju/raw.py +93 -0
  206. cuju/scenarios.py +661 -0
  207. cuju/state.py +211 -0
  208. cuju/wrappers.py +325 -0
  209. cuju_engine-0.3.0.dist-info/METADATA +325 -0
  210. cuju_engine-0.3.0.dist-info/RECORD +222 -0
  211. cuju_engine-0.3.0.dist-info/WHEEL +5 -0
  212. cuju_engine-0.3.0.dist-info/entry_points.txt +4 -0
  213. cuju_engine-0.3.0.dist-info/licenses/LICENSE +202 -0
  214. cuju_engine-0.3.0.dist-info/licenses/LICENSES/BSD-3-Clause.txt +31 -0
  215. cuju_engine-0.3.0.dist-info/licenses/LICENSES/BSL-1.0.txt +23 -0
  216. cuju_engine-0.3.0.dist-info/licenses/LICENSES/LGPL-2.1-or-later.txt +502 -0
  217. cuju_engine-0.3.0.dist-info/licenses/LICENSES/MIT-Mesa.txt +26 -0
  218. cuju_engine-0.3.0.dist-info/licenses/LICENSES/MIT-gym.txt +23 -0
  219. cuju_engine-0.3.0.dist-info/licenses/LICENSES/MIT.txt +23 -0
  220. cuju_engine-0.3.0.dist-info/licenses/LICENSES/SunPro.txt +8 -0
  221. cuju_engine-0.3.0.dist-info/licenses/LICENSES/Zlib.txt +20 -0
  222. cuju_engine-0.3.0.dist-info/licenses/NOTICE +56 -0
@@ -0,0 +1,73 @@
1
+ # coding=utf-8
2
+ # Copyright 2019 Google LLC
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ # Modified by the cuju Authors in 2026, in the import lines that ci/port_gfootball.py lists.
15
+ # SPDX-License-Identifier: Apache-2.0
16
+
17
+
18
+ """Script allowing to play the game by multiple players."""
19
+
20
+ from __future__ import absolute_import
21
+ from __future__ import division
22
+ from __future__ import print_function
23
+
24
+ from absl import app
25
+ from absl import flags
26
+ from absl import logging
27
+
28
+
29
+ from cuju.gfootball.env import config
30
+ from cuju.gfootball.env import football_env
31
+
32
+ FLAGS = flags.FLAGS
33
+
34
+ flags.DEFINE_string('players', 'keyboard:left_players=1',
35
+ 'Semicolon separated list of players, single keyboard '
36
+ 'player on the left by default')
37
+ flags.DEFINE_string('level', '', 'Level to play')
38
+ flags.DEFINE_enum('action_set', 'default', ['default', 'full'], 'Action set')
39
+ flags.DEFINE_bool('real_time', True,
40
+ 'If true, environment will slow down so humans can play.')
41
+ flags.DEFINE_bool('render', True, 'Whether to do game rendering.')
42
+
43
+
44
+ def main(_):
45
+ players = FLAGS.players.split(';') if FLAGS.players else ''
46
+ assert not (any(['agent' in player for player in players])
47
+ ), ('Player type \'agent\' can not be used with play_game.')
48
+ cfg_values = {
49
+ 'action_set': FLAGS.action_set,
50
+ 'dump_full_episodes': True,
51
+ 'players': players,
52
+ 'real_time': FLAGS.real_time,
53
+ }
54
+ if FLAGS.level:
55
+ cfg_values['level'] = FLAGS.level
56
+ cfg = config.Config(cfg_values)
57
+ env = football_env.FootballEnv(cfg)
58
+ if FLAGS.render:
59
+ env.render()
60
+ env.reset()
61
+ try:
62
+ while True:
63
+ _, _, done, _ = env.step([])
64
+ if done:
65
+ env.reset()
66
+ except KeyboardInterrupt:
67
+ logging.warning('Game stopped, writing dump...')
68
+ env.write_dump('shutdown')
69
+ exit(1)
70
+
71
+
72
+ if __name__ == '__main__':
73
+ app.run(main)
@@ -0,0 +1,43 @@
1
+ # coding=utf-8
2
+ # Copyright 2019 Google LLC
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ # Modified by the cuju Authors in 2026, in the import lines that ci/port_gfootball.py lists.
15
+ # SPDX-License-Identifier: Apache-2.0
16
+
17
+
18
+ """Script allowing to replay a given trace file.
19
+ Example usage:
20
+ python replay.py --trace_file=/tmp/dumps/shutdown_20190521-165136974075.dump
21
+
22
+ """
23
+
24
+ from __future__ import absolute_import
25
+ from __future__ import division
26
+ from __future__ import print_function
27
+
28
+ from cuju.gfootball.env import script_helpers
29
+
30
+ from absl import app
31
+ from absl import flags
32
+
33
+ FLAGS = flags.FLAGS
34
+
35
+ flags.DEFINE_string('trace_file', None, 'Trace file to replay')
36
+ flags.DEFINE_integer('fps', 10, 'How many frames per second to render')
37
+ flags.mark_flag_as_required('trace_file')
38
+
39
+ def main(_):
40
+ script_helpers.ScriptHelpers().replay(FLAGS.trace_file, FLAGS.fps)
41
+
42
+ if __name__ == '__main__':
43
+ app.run(main)
@@ -0,0 +1,59 @@
1
+ # coding=utf-8
2
+ # Copyright 2019 Google LLC
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ # Modified by the cuju Authors in 2026, in the import lines that ci/port_gfootball.py lists.
15
+ # SPDX-License-Identifier: Apache-2.0
16
+
17
+
18
+
19
+
20
+
21
+
22
+ from . import *
23
+
24
+
25
+ def build_scenario(builder):
26
+ builder.config().game_duration = 3000
27
+ builder.config().right_team_difficulty = 1.0
28
+ builder.config().left_team_difficulty = 1.0
29
+ builder.config().deterministic = False
30
+ if builder.EpisodeNumber() % 2 == 0:
31
+ first_team = Team.e_Left
32
+ second_team = Team.e_Right
33
+ else:
34
+ first_team = Team.e_Right
35
+ second_team = Team.e_Left
36
+ builder.SetTeam(first_team)
37
+ builder.AddPlayer(-1.000000, 0.000000, e_PlayerRole_GK)
38
+ builder.AddPlayer(0.000000, 0.020000, e_PlayerRole_RM)
39
+ builder.AddPlayer(0.000000, -0.020000, e_PlayerRole_CF)
40
+ builder.AddPlayer(-0.422000, -0.19576, e_PlayerRole_LB)
41
+ builder.AddPlayer(-0.500000, -0.06356, e_PlayerRole_CB)
42
+ builder.AddPlayer(-0.500000, 0.063559, e_PlayerRole_CB)
43
+ builder.AddPlayer(-0.422000, 0.195760, e_PlayerRole_RB)
44
+ builder.AddPlayer(-0.184212, -0.10568, e_PlayerRole_CM)
45
+ builder.AddPlayer(-0.267574, 0.000000, e_PlayerRole_CM)
46
+ builder.AddPlayer(-0.184212, 0.105680, e_PlayerRole_CM)
47
+ builder.AddPlayer(-0.010000, -0.21610, e_PlayerRole_LM)
48
+ builder.SetTeam(second_team)
49
+ builder.AddPlayer(-1.000000, 0.000000, e_PlayerRole_GK)
50
+ builder.AddPlayer(-0.050000, 0.000000, e_PlayerRole_RM)
51
+ builder.AddPlayer(-0.010000, 0.216102, e_PlayerRole_CF)
52
+ builder.AddPlayer(-0.422000, -0.19576, e_PlayerRole_LB)
53
+ builder.AddPlayer(-0.500000, -0.06356, e_PlayerRole_CB)
54
+ builder.AddPlayer(-0.500000, 0.063559, e_PlayerRole_CB)
55
+ builder.AddPlayer(-0.422000, 0.195760, e_PlayerRole_RB)
56
+ builder.AddPlayer(-0.184212, -0.10568, e_PlayerRole_CM)
57
+ builder.AddPlayer(-0.267574, 0.000000, e_PlayerRole_CM)
58
+ builder.AddPlayer(-0.184212, 0.105680, e_PlayerRole_CM)
59
+ builder.AddPlayer(-0.010000, -0.21610, e_PlayerRole_LM)
@@ -0,0 +1,57 @@
1
+ # coding=utf-8
2
+ # Copyright 2019 Google LLC
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ # Modified by the cuju Authors in 2026, in the import lines that ci/port_gfootball.py lists.
15
+ # SPDX-License-Identifier: Apache-2.0
16
+
17
+
18
+
19
+
20
+
21
+
22
+ from . import *
23
+
24
+ def build_scenario(builder):
25
+ builder.config().game_duration = 3000
26
+ builder.config().right_team_difficulty = 0.05
27
+ builder.config().deterministic = False
28
+ if builder.EpisodeNumber() % 2 == 0:
29
+ first_team = Team.e_Left
30
+ second_team = Team.e_Right
31
+ else:
32
+ first_team = Team.e_Right
33
+ second_team = Team.e_Left
34
+ builder.SetTeam(first_team)
35
+ builder.AddPlayer(-1.000000, 0.000000, e_PlayerRole_GK)
36
+ builder.AddPlayer(0.000000, 0.020000, e_PlayerRole_RM)
37
+ builder.AddPlayer(0.000000, -0.020000, e_PlayerRole_CF)
38
+ builder.AddPlayer(-0.422000, -0.19576, e_PlayerRole_LB)
39
+ builder.AddPlayer(-0.500000, -0.06356, e_PlayerRole_CB)
40
+ builder.AddPlayer(-0.500000, 0.063559, e_PlayerRole_CB)
41
+ builder.AddPlayer(-0.422000, 0.195760, e_PlayerRole_RB)
42
+ builder.AddPlayer(-0.184212, -0.10568, e_PlayerRole_CM)
43
+ builder.AddPlayer(-0.267574, 0.000000, e_PlayerRole_CM)
44
+ builder.AddPlayer(-0.184212, 0.105680, e_PlayerRole_CM)
45
+ builder.AddPlayer(-0.010000, -0.21610, e_PlayerRole_LM)
46
+ builder.SetTeam(second_team)
47
+ builder.AddPlayer(-1.000000, 0.000000, e_PlayerRole_GK)
48
+ builder.AddPlayer(-0.050000, 0.000000, e_PlayerRole_RM)
49
+ builder.AddPlayer(-0.010000, 0.216102, e_PlayerRole_CF)
50
+ builder.AddPlayer(-0.422000, -0.19576, e_PlayerRole_LB)
51
+ builder.AddPlayer(-0.500000, -0.06356, e_PlayerRole_CB)
52
+ builder.AddPlayer(-0.500000, 0.063559, e_PlayerRole_CB)
53
+ builder.AddPlayer(-0.422000, 0.195760, e_PlayerRole_RB)
54
+ builder.AddPlayer(-0.184212, -0.10568, e_PlayerRole_CM)
55
+ builder.AddPlayer(-0.267574, 0.000000, e_PlayerRole_CM)
56
+ builder.AddPlayer(-0.184212, 0.105680, e_PlayerRole_CM)
57
+ builder.AddPlayer(-0.010000, -0.21610, e_PlayerRole_LM)
@@ -0,0 +1,57 @@
1
+ # coding=utf-8
2
+ # Copyright 2019 Google LLC
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ # Modified by the cuju Authors in 2026, in the import lines that ci/port_gfootball.py lists.
15
+ # SPDX-License-Identifier: Apache-2.0
16
+
17
+
18
+
19
+
20
+
21
+
22
+ from . import *
23
+
24
+ def build_scenario(builder):
25
+ builder.config().game_duration = 3000
26
+ builder.config().right_team_difficulty = 0.95
27
+ builder.config().deterministic = False
28
+ if builder.EpisodeNumber() % 2 == 0:
29
+ first_team = Team.e_Left
30
+ second_team = Team.e_Right
31
+ else:
32
+ first_team = Team.e_Right
33
+ second_team = Team.e_Left
34
+ builder.SetTeam(first_team)
35
+ builder.AddPlayer(-1.000000, 0.000000, e_PlayerRole_GK)
36
+ builder.AddPlayer(0.000000, 0.020000, e_PlayerRole_RM)
37
+ builder.AddPlayer(0.000000, -0.020000, e_PlayerRole_CF)
38
+ builder.AddPlayer(-0.422000, -0.19576, e_PlayerRole_LB)
39
+ builder.AddPlayer(-0.500000, -0.06356, e_PlayerRole_CB)
40
+ builder.AddPlayer(-0.500000, 0.063559, e_PlayerRole_CB)
41
+ builder.AddPlayer(-0.422000, 0.195760, e_PlayerRole_RB)
42
+ builder.AddPlayer(-0.184212, -0.10568, e_PlayerRole_CM)
43
+ builder.AddPlayer(-0.267574, 0.000000, e_PlayerRole_CM)
44
+ builder.AddPlayer(-0.184212, 0.105680, e_PlayerRole_CM)
45
+ builder.AddPlayer(-0.010000, -0.21610, e_PlayerRole_LM)
46
+ builder.SetTeam(second_team)
47
+ builder.AddPlayer(-1.000000, 0.000000, e_PlayerRole_GK)
48
+ builder.AddPlayer(-0.050000, 0.000000, e_PlayerRole_RM)
49
+ builder.AddPlayer(-0.010000, 0.216102, e_PlayerRole_CF)
50
+ builder.AddPlayer(-0.422000, -0.19576, e_PlayerRole_LB)
51
+ builder.AddPlayer(-0.500000, -0.06356, e_PlayerRole_CB)
52
+ builder.AddPlayer(-0.500000, 0.063559, e_PlayerRole_CB)
53
+ builder.AddPlayer(-0.422000, 0.195760, e_PlayerRole_RB)
54
+ builder.AddPlayer(-0.184212, -0.10568, e_PlayerRole_CM)
55
+ builder.AddPlayer(-0.267574, 0.000000, e_PlayerRole_CM)
56
+ builder.AddPlayer(-0.184212, 0.105680, e_PlayerRole_CM)
57
+ builder.AddPlayer(-0.010000, -0.21610, e_PlayerRole_LM)
@@ -0,0 +1,60 @@
1
+ # coding=utf-8
2
+ # Copyright 2019 Google LLC
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ # Modified by the cuju Authors in 2026, in the import lines that ci/port_gfootball.py lists.
15
+ # SPDX-License-Identifier: Apache-2.0
16
+
17
+
18
+
19
+
20
+
21
+
22
+ from . import *
23
+
24
+
25
+ def build_scenario(builder):
26
+ builder.config().game_duration = 3000
27
+ builder.config().second_half = 1500
28
+ builder.config().right_team_difficulty = 1.0
29
+ builder.config().left_team_difficulty = 1.0
30
+ builder.config().deterministic = False
31
+ if builder.EpisodeNumber() % 2 == 0:
32
+ first_team = Team.e_Left
33
+ second_team = Team.e_Right
34
+ else:
35
+ first_team = Team.e_Right
36
+ second_team = Team.e_Left
37
+ builder.SetTeam(first_team)
38
+ builder.AddPlayer(-1.000000, 0.000000, e_PlayerRole_GK)
39
+ builder.AddPlayer(-0.422000, -0.19576, e_PlayerRole_LB)
40
+ builder.AddPlayer(-0.500000, -0.06356, e_PlayerRole_CB)
41
+ builder.AddPlayer(-0.500000, 0.063559, e_PlayerRole_CB)
42
+ builder.AddPlayer(-0.422000, 0.195760, e_PlayerRole_RB)
43
+ builder.AddPlayer(-0.184212, -0.105680, e_PlayerRole_CM)
44
+ builder.AddPlayer(-0.267574, 0.000000, e_PlayerRole_CM)
45
+ builder.AddPlayer(-0.184212, 0.10568, e_PlayerRole_CM)
46
+ builder.AddPlayer(-0.010000, -0.21610, e_PlayerRole_LM)
47
+ builder.AddPlayer(0.000000, 0.020000, e_PlayerRole_CF)
48
+ builder.AddPlayer(0.000000, -0.020000, e_PlayerRole_RM)
49
+ builder.SetTeam(second_team)
50
+ builder.AddPlayer(-1.000000, 0.000000, e_PlayerRole_GK)
51
+ builder.AddPlayer(-0.422000, -0.19576, e_PlayerRole_LB)
52
+ builder.AddPlayer(-0.500000, -0.06356, e_PlayerRole_CB)
53
+ builder.AddPlayer(-0.500000, 0.063559, e_PlayerRole_CB)
54
+ builder.AddPlayer(-0.422000, 0.195760, e_PlayerRole_RB)
55
+ builder.AddPlayer(-0.184212, -0.105680, e_PlayerRole_CM)
56
+ builder.AddPlayer(-0.267574, 0.000000, e_PlayerRole_CM)
57
+ builder.AddPlayer(-0.184212, 0.10568, e_PlayerRole_CM)
58
+ builder.AddPlayer(-0.010000, -0.21610, e_PlayerRole_LM)
59
+ builder.AddPlayer(-0.050000, 0.000000, e_PlayerRole_CF)
60
+ builder.AddPlayer(-0.010000, 0.216102, e_PlayerRole_RM)
@@ -0,0 +1,57 @@
1
+ # coding=utf-8
2
+ # Copyright 2019 Google LLC
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ # Modified by the cuju Authors in 2026, in the import lines that ci/port_gfootball.py lists.
15
+ # SPDX-License-Identifier: Apache-2.0
16
+
17
+
18
+
19
+
20
+
21
+
22
+ from . import *
23
+
24
+ def build_scenario(builder):
25
+ builder.config().game_duration = 3000
26
+ builder.config().right_team_difficulty = 0.6
27
+ builder.config().deterministic = False
28
+ if builder.EpisodeNumber() % 2 == 0:
29
+ first_team = Team.e_Left
30
+ second_team = Team.e_Right
31
+ else:
32
+ first_team = Team.e_Right
33
+ second_team = Team.e_Left
34
+ builder.SetTeam(first_team)
35
+ builder.AddPlayer(-1.000000, 0.000000, e_PlayerRole_GK)
36
+ builder.AddPlayer(0.000000, 0.020000, e_PlayerRole_RM)
37
+ builder.AddPlayer(0.000000, -0.020000, e_PlayerRole_CF)
38
+ builder.AddPlayer(-0.422000, -0.19576, e_PlayerRole_LB)
39
+ builder.AddPlayer(-0.500000, -0.06356, e_PlayerRole_CB)
40
+ builder.AddPlayer(-0.500000, 0.063559, e_PlayerRole_CB)
41
+ builder.AddPlayer(-0.422000, 0.195760, e_PlayerRole_RB)
42
+ builder.AddPlayer(-0.184212, -0.10568, e_PlayerRole_CM)
43
+ builder.AddPlayer(-0.267574, 0.000000, e_PlayerRole_CM)
44
+ builder.AddPlayer(-0.184212, 0.105680, e_PlayerRole_CM)
45
+ builder.AddPlayer(-0.010000, -0.21610, e_PlayerRole_LM)
46
+ builder.SetTeam(second_team)
47
+ builder.AddPlayer(-1.000000, 0.000000, e_PlayerRole_GK)
48
+ builder.AddPlayer(-0.050000, 0.000000, e_PlayerRole_RM)
49
+ builder.AddPlayer(-0.010000, 0.216102, e_PlayerRole_CF)
50
+ builder.AddPlayer(-0.422000, -0.19576, e_PlayerRole_LB)
51
+ builder.AddPlayer(-0.500000, -0.06356, e_PlayerRole_CB)
52
+ builder.AddPlayer(-0.500000, 0.063559, e_PlayerRole_CB)
53
+ builder.AddPlayer(-0.422000, 0.195760, e_PlayerRole_RB)
54
+ builder.AddPlayer(-0.184212, -0.10568, e_PlayerRole_CM)
55
+ builder.AddPlayer(-0.267574, 0.000000, e_PlayerRole_CM)
56
+ builder.AddPlayer(-0.184212, 0.105680, e_PlayerRole_CM)
57
+ builder.AddPlayer(-0.010000, -0.21610, e_PlayerRole_LM)
@@ -0,0 +1,39 @@
1
+ # coding=utf-8
2
+ # Copyright 2019 Google LLC
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ # Modified by the cuju Authors in 2026, in the import lines that ci/port_gfootball.py lists.
15
+ # SPDX-License-Identifier: Apache-2.0
16
+
17
+
18
+
19
+
20
+
21
+
22
+ from . import *
23
+
24
+
25
+ def build_scenario(builder):
26
+ builder.config().game_duration = 500
27
+ builder.config().right_team_difficulty = 0.0
28
+ builder.config().left_team_difficulty = 0.0
29
+ builder.config().deterministic = False
30
+ if builder.EpisodeNumber() % 2 == 0:
31
+ first_team = Team.e_Left
32
+ second_team = Team.e_Right
33
+ else:
34
+ first_team = Team.e_Right
35
+ second_team = Team.e_Left
36
+ builder.SetTeam(first_team)
37
+ builder.AddPlayer(-1.000000, 0.000000, e_PlayerRole_GK)
38
+ builder.SetTeam(second_team)
39
+ builder.AddPlayer(-1.000000, 0.000000, e_PlayerRole_GK)
@@ -0,0 +1,46 @@
1
+ # coding=utf-8
2
+ # Copyright 2019 Google LLC
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ # Modified by the cuju Authors in 2026, in the import lines that ci/port_gfootball.py lists.
15
+ # SPDX-License-Identifier: Apache-2.0
16
+
17
+
18
+
19
+
20
+
21
+
22
+ from . import *
23
+
24
+ def build_scenario(builder):
25
+ builder.config().game_duration = 3000
26
+ builder.config().right_team_difficulty = 0.05
27
+ builder.config().left_team_difficulty = 0.05
28
+ builder.config().deterministic = False
29
+ if builder.EpisodeNumber() % 2 == 0:
30
+ first_team = Team.e_Left
31
+ second_team = Team.e_Right
32
+ else:
33
+ first_team = Team.e_Right
34
+ second_team = Team.e_Left
35
+ builder.SetTeam(first_team)
36
+ builder.AddPlayer(-1.000000, 0.000000, e_PlayerRole_GK, controllable=False)
37
+ builder.AddPlayer(0.000000, 0.020000, e_PlayerRole_RM)
38
+ builder.AddPlayer(0.000000, -0.020000, e_PlayerRole_CF)
39
+ builder.AddPlayer(-0.1, -0.1, e_PlayerRole_LB)
40
+ builder.AddPlayer(-0.1, 0.1, e_PlayerRole_CB)
41
+ builder.SetTeam(second_team)
42
+ builder.AddPlayer(-1.000000, 0.000000, e_PlayerRole_GK, controllable=False)
43
+ builder.AddPlayer(-0.04, 0.040000, e_PlayerRole_RM)
44
+ builder.AddPlayer(-0.04, -0.040000, e_PlayerRole_CF)
45
+ builder.AddPlayer(-0.1, -0.1, e_PlayerRole_LB)
46
+ builder.AddPlayer(-0.1, 0.1, e_PlayerRole_CB)
@@ -0,0 +1,31 @@
1
+ # coding=utf-8
2
+ # Copyright 2019 Google LLC
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ # Modified by the cuju Authors in 2026, in the import lines that ci/port_gfootball.py lists.
15
+ # SPDX-License-Identifier: Apache-2.0
16
+
17
+
18
+
19
+
20
+ from cuju import gfootball_engine as libgame
21
+ e_PlayerRole_GK = libgame.e_PlayerRole.e_PlayerRole_GK
22
+ e_PlayerRole_CB = libgame.e_PlayerRole.e_PlayerRole_CB
23
+ e_PlayerRole_LB = libgame.e_PlayerRole.e_PlayerRole_LB
24
+ e_PlayerRole_RB = libgame.e_PlayerRole.e_PlayerRole_RB
25
+ e_PlayerRole_DM = libgame.e_PlayerRole.e_PlayerRole_DM
26
+ e_PlayerRole_CM = libgame.e_PlayerRole.e_PlayerRole_CM
27
+ e_PlayerRole_LM = libgame.e_PlayerRole.e_PlayerRole_LM
28
+ e_PlayerRole_RM = libgame.e_PlayerRole.e_PlayerRole_RM
29
+ e_PlayerRole_AM = libgame.e_PlayerRole.e_PlayerRole_AM
30
+ e_PlayerRole_CF = libgame.e_PlayerRole.e_PlayerRole_CF
31
+ Team = libgame.e_Team
@@ -0,0 +1,42 @@
1
+ # coding=utf-8
2
+ # Copyright 2019 Google LLC
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ # Modified by the cuju Authors in 2026, in the import lines that ci/port_gfootball.py lists.
15
+ # SPDX-License-Identifier: Apache-2.0
16
+
17
+
18
+
19
+
20
+
21
+
22
+ from . import *
23
+
24
+
25
+ def build_scenario(builder):
26
+ builder.config().game_duration = 400
27
+ builder.config().deterministic = False
28
+ builder.config().offsides = False
29
+ builder.config().end_episode_on_score = True
30
+ builder.config().end_episode_on_out_of_play = True
31
+ builder.config().end_episode_on_possession_change = True
32
+ builder.SetBallPosition(0.62, 0.0)
33
+
34
+ builder.SetTeam(Team.e_Left)
35
+ builder.AddPlayer(-1.0, 0.0, e_PlayerRole_GK)
36
+ builder.AddPlayer(0.6, 0.0, e_PlayerRole_CM)
37
+ builder.AddPlayer(0.7, 0.2, e_PlayerRole_CM)
38
+ builder.AddPlayer(0.7, -0.2, e_PlayerRole_CM)
39
+
40
+ builder.SetTeam(Team.e_Right)
41
+ builder.AddPlayer(-1.0, 0.0, e_PlayerRole_GK)
42
+ builder.AddPlayer(-0.75, 0.0, e_PlayerRole_CB)
@@ -0,0 +1,59 @@
1
+ # coding=utf-8
2
+ # Copyright 2019 Google LLC
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ # Modified by the cuju Authors in 2026, in the import lines that ci/port_gfootball.py lists.
15
+ # SPDX-License-Identifier: Apache-2.0
16
+
17
+
18
+
19
+
20
+
21
+
22
+ from . import *
23
+
24
+
25
+ def build_scenario(builder):
26
+ builder.config().game_duration = 400
27
+ builder.config().deterministic = False
28
+ builder.config().offsides = False
29
+ builder.config().end_episode_on_score = True
30
+ builder.config().end_episode_on_out_of_play = True
31
+ builder.config().end_episode_on_possession_change = False
32
+
33
+ builder.SetBallPosition(0.99, 0.41)
34
+
35
+ builder.SetTeam(Team.e_Left)
36
+ builder.AddPlayer(-1.0, 0.0, e_PlayerRole_GK)
37
+ builder.AddPlayer(1.0, 0.42, e_PlayerRole_LB)
38
+ builder.AddPlayer(0.7, 0.15, e_PlayerRole_CB)
39
+ builder.AddPlayer(0.7, 0.05, e_PlayerRole_CB)
40
+ builder.AddPlayer(0.7, -0.05, e_PlayerRole_RB)
41
+ builder.AddPlayer(0.0, 0.0, e_PlayerRole_CM)
42
+ builder.AddPlayer(0.6, 0.35, e_PlayerRole_CM)
43
+ builder.AddPlayer(0.8, 0.07, e_PlayerRole_CM)
44
+ builder.AddPlayer(0.8, -0.03, e_PlayerRole_LM)
45
+ builder.AddPlayer(0.8, -0.13, e_PlayerRole_RM)
46
+ builder.AddPlayer(0.7, -0.3, e_PlayerRole_CF)
47
+
48
+ builder.SetTeam(Team.e_Right)
49
+ builder.AddPlayer(-1.0, 0.0, e_PlayerRole_GK)
50
+ builder.AddPlayer(-0.75, -0.18, e_PlayerRole_LB)
51
+ builder.AddPlayer(-0.75, -0.08, e_PlayerRole_CB)
52
+ builder.AddPlayer(-0.75, 0.02, e_PlayerRole_CB)
53
+ builder.AddPlayer(-1.0, -0.1, e_PlayerRole_RB)
54
+ builder.AddPlayer(-0.8, -0.25, e_PlayerRole_CM)
55
+ builder.AddPlayer(-0.88, -0.07, e_PlayerRole_CM)
56
+ builder.AddPlayer(-0.88, 0.03, e_PlayerRole_CM)
57
+ builder.AddPlayer(-0.88, 0.13, e_PlayerRole_LM)
58
+ builder.AddPlayer(-0.75, 0.25, e_PlayerRole_RM)
59
+ builder.AddPlayer(-0.2, 0.0, e_PlayerRole_CF)