forked from sail-sg/envpool
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to load a fixed number of levels sequentially (#1)
* add option to load sokoban sequentially * fix issues with original tests * add test case * fix seg fault * add safe_uniform_int function * use pytest and fix error * fix BUILD * Add pytest to requirements-dev.txt * fix lint * fix link and docker image * add pytest to release and fix lint * fix lint * revert image * fix clang-tidy lint
- Loading branch information
1 parent
4a6e768
commit 89fff4c
Showing
11 changed files
with
215 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,5 @@ | |
gymnasium_cls="SokobanGymnasiumEnvPool", | ||
max_episode_steps=60, | ||
reward_step=-0.1, | ||
max_num_players=1, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
; 0 | ||
########## | ||
########## | ||
########## | ||
##### # ## | ||
##### # | ||
##### $ # | ||
# . ..# | ||
# $$$ # # | ||
#@ . # | ||
########## | ||
|
||
; 1 | ||
########## | ||
########## | ||
#### # | ||
# $ . # | ||
# # # | ||
#@### .$ # | ||
###### $ # | ||
### $. # | ||
### .# | ||
########## | ||
|
||
; 2 | ||
########## | ||
##### @# | ||
#### ## | ||
####. ## | ||
#. . $ # | ||
# $ $. # | ||
# ### # | ||
# $ ###### | ||
# ###### | ||
########## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.