Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.2.0 #36

Merged
merged 67 commits into from
Oct 8, 2022
Merged
Changes from 1 commit
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
184f643
0.2.0
May 26, 2022
f5e2897
add owner for spore
May 26, 2022
58bbfac
Merge pull request #37 from opendilab/spore-owner-dev
mingzhang96 May 26, 2022
d1ad5f1
add density in cfg
May 27, 2022
d1abc09
Merge pull request #38 from opendilab/add-density-dev
mingzhang96 May 27, 2022
9fb109d
allow ball to touch border with center
May 31, 2022
b03dc53
allow vision over border
May 31, 2022
a363f9d
allow vision over border
May 31, 2022
297bb44
Merge pull request #39 from opendilab/rectangle-dev
mingzhang96 May 31, 2022
6aad431
use save_video=False in demo_bot
Jun 20, 2022
4df9482
update engine
Jun 24, 2022
dbd68ba
add numexpr
Jun 24, 2022
acd1a53
update quick_start
Jun 24, 2022
294e13f
add seperate action server
Jul 1, 2022
50a15b1
update doc
Jul 1, 2022
6af3a1d
update doc
Jul 1, 2022
afecd26
update obs
Jul 13, 2022
8528cbf
Merge pull request #43 from jayyoung0802/engine-dev-yzj2
mingzhang96 Jul 16, 2022
97e6ec8
update score instead of size, update moving param
Jul 17, 2022
fc78289
fix bug: food radius
Jul 17, 2022
8681fa4
delete score in config
Jul 17, 2022
770943f
update doc
Jul 17, 2022
eb2cd08
add "eats" in info
Jul 18, 2022
805e050
remove next_x & next_y in obs
Jul 18, 2022
b986087
add score on food,spore,thorn and vel on thorn
Jul 18, 2022
4d8070a
Merge branch 'engine-dev' into engine-dev-yzj2
mingzhang96 Jul 18, 2022
80647ce
Merge pull request #44 from jayyoung0802/engine-dev-yzj2
mingzhang96 Jul 18, 2022
d0de734
remove print
Jul 20, 2022
19867b0
Merge branch 'engine-dev' of github.com:opendilab/GoBigger into engin…
Jul 20, 2022
4ff6a67
add vel in spore obs
Jul 20, 2022
99df54d
use makedirs instead of mkdir
Jul 21, 2022
0e671c4
use makedirs instead of mkdir
Jul 21, 2022
17a1118
add import
Jul 21, 2022
251fa4d
fix bug: add food_score init
Jul 22, 2022
0487fd4
feature: cooldown time will be flushed after eatting clone-self
Jul 25, 2022
66fbc26
delelte step_mul in config
Jul 25, 2022
b05f34e
update config to fit basic setting
Jul 26, 2022
04748ec
update vel_init for split & on_thorns
Jul 27, 2022
5a81ff7
bug fix: add return in create_env_custom
Jul 27, 2022
8e11263
update doc
Jul 29, 2022
b2d797d
update doc
Jul 29, 2022
3ceaf11
update doc
Jul 29, 2022
2be0b16
update doc
Jul 29, 2022
5813403
fix bug: thorns num
Jul 29, 2022
5309603
Merge pull request #41 from opendilab/engine-dev
mingzhang96 Jul 29, 2022
d0bd1ae
update demo
Aug 3, 2022
0b22fb8
add st_t2p2
Aug 4, 2022
e727501
add st_t2p2
Aug 4, 2022
b682057
Merge pull request #45 from opendilab/cfg-dev
mingzhang96 Aug 4, 2022
358b277
add arrow in env_ender
Aug 7, 2022
a6d68ba
Merge branch 'v0.2.0' into playback-dev
mingzhang96 Aug 7, 2022
c644046
Merge pull request #46 from opendilab/playback-dev
mingzhang96 Aug 7, 2022
bc47035
add replayer
Aug 13, 2022
6192e09
use 3.1.10 for python3.6
Aug 13, 2022
fe5419b
Merge pull request #47 from opendilab/pb-dev
mingzhang96 Aug 13, 2022
314115e
add doc
Aug 13, 2022
21878ab
fix bug in server
Aug 14, 2022
9a4c55c
move env.init_server in __init__
Aug 15, 2022
7b606bc
fix bug: add if save in playback
Aug 15, 2022
28286df
add doc
Aug 19, 2022
9c54104
add doc
Sep 6, 2022
b5b5daa
Merge pull request #48 from opendilab/clean-dev
mingzhang96 Sep 6, 2022
433cafa
update st_t3p2 setting
Sep 13, 2022
b79f053
Merge pull request #49 from opendilab/t3p2-dev
mingzhang96 Sep 13, 2022
cce99ad
update st_t3p2 setting
Sep 15, 2022
407c862
update doc and config
Oct 8, 2022
f335178
Merge pull request #51 from opendilab/config-dev
mingzhang96 Oct 8, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix bug in server
  • Loading branch information
zhangming committed Aug 14, 2022
commit 21878ab7dd84119b9bd1a4498bdf77dac07d67ab
2 changes: 1 addition & 1 deletion gobigger/server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def step_one_frame(self, actions=None):
if tmp_spore_ball:
self.spore_manager.add_balls(tmp_spore_ball)
if self.save_frame:
self.diff_balls_modify[2][tmp_spore_ball.id] = tmp_spore_ball.save()
self.diff_balls_modify[2][tmp_spore_ball.ball_id] = tmp_spore_ball.save()
elif action_type == 2: # split
self.player_manager.add_balls(player.split(direction=direction))
player.move(direction=direction, duration=self.frame_duration)
Expand Down