Skip to content

Commit a21f208

Browse files
committed
full python game is running
1 parent ba6e167 commit a21f208

29 files changed

Lines changed: 713 additions & 300 deletions

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ task headless(type: JavaExec, dependsOn: [':engine:build', ':example-bots:build'
7878
'-Dbc.engine.show-indicators=' + (project.findProperty('showIndicators') ?: 'true'),
7979
'-Dbc.game.team-a=' + project.property('teamA'),
8080
'-Dbc.game.team-b=' + project.property('teamB'),
81+
'-Dbc.game.team-a.language=' + (project.findProperty('languageA') ?: 'java'),
82+
'-Dbc.game.team-b.language=' + (project.findProperty('languageB') ?: 'java'),
8183
'-Dbc.game.team-a.url=' + (project.findProperty('classLocationA') ?: defaultClassLocation),
8284
'-Dbc.game.team-b.url=' + (project.findProperty('classLocationB') ?: defaultClassLocation),
8385
'-Dbc.game.team-a.package=' + (project.findProperty('packageNameA') ?: project.property('teamA')),

crossplay_python/crossplay.py

Lines changed: 0 additions & 145 deletions
This file was deleted.

crossplay_python/stubs.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

crossplay_python/types.py

Lines changed: 0 additions & 12 deletions
This file was deleted.

crossplay_python/wrappers.py

Lines changed: 0 additions & 22 deletions
This file was deleted.

engine/src/battlecode.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import sys as _sys
2+
_sys.path.append("engine/src")
3+
4+
from crossplay_python.wrappers import *

0 commit comments

Comments
 (0)