Skip to content

Commit 15b8583

Browse files
authored
[AnimalShogi] Update version (#1221)
1 parent 4bae0d5 commit 15b8583

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Use `pgx.available_envs() -> Tuple[EnvId]` to see the list of currently availabl
113113
| Game/EnvId | Visualization | Version | Five-word description by [ChatGPT](https://chat.openai.com/) |
114114
|:---:|:---:|:---:|:---:|
115115
|<a href="https://en.wikipedia.org/wiki/2048_(video_game)">2048</a> <br> `"2048"` |<img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/2048_dark.gif" width="60px"><img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/2048_light.gif" width="60px">| `v2` | *Merge tiles to create 2048.* |
116-
|<a href="https://en.wikipedia.org/wiki/D%C5%8Dbutsu_sh%C5%8Dgi">Animal Shogi</a><br>`"animal_shogi"` |<img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/animal_shogi_dark.gif" width="60px"><img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/animal_shogi_light.gif" width="60px">| `v1` | *Animal-themed child-friendly shogi.* |
116+
|<a href="https://en.wikipedia.org/wiki/D%C5%8Dbutsu_sh%C5%8Dgi">Animal Shogi</a><br>`"animal_shogi"` |<img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/animal_shogi_dark.gif" width="60px"><img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/animal_shogi_light.gif" width="60px">| `v2` | *Animal-themed child-friendly shogi.* |
117117
|<a href="https://en.wikipedia.org/wiki/Backgammon">Backgammon</a><br>`"backgammon"` |<img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/backgammon_dark.gif" width="60px"><img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/backgammon_light.gif" width="60px">| `v2` | *Luck aids bearing off checkers.* |
118118
|<a href="https://en.wikipedia.org/wiki/Contract_bridge">Bridge bidding</a><br>`"bridge_bidding"` |<img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/bridge_bidding_dark.gif" width="60px"><img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/bridge_bidding_light.gif" width="60px">| `v1` | *Partners exchange information via bids.* |
119119
|<a href="https://en.wikipedia.org/wiki/Chess">Chess</a><br>`"chess"` |<img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/chess_dark.gif" width="60px"><img src="https://raw.githubusercontent.com/sotetsuk/pgx/main/docs/assets/chess_light.gif" width="60px">| `v2` | *Checkmate opponent's king to win.* |

docs/animal_shogi.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ See also [Wikipedia](https://en.wikipedia.org/wiki/D%C5%8Dbutsu_sh%C5%8Dgi)
3939

4040
| Name | Value |
4141
|:---|:----:|
42-
| Version | `v1` |
42+
| Version | `v2` |
4343
| Number of players | `2` |
4444
| Number of actions | `132` |
4545
| Observation shape | `(4, 3, 194)` |
@@ -92,6 +92,7 @@ In cases 3 and 4, the game is declared a draw.
9292

9393
## Version History
9494

95+
- `v2` : Fixed a bug in Pawn drop [#1218](https://github.com/sotetsuk/pgx/pull/1218) by [@KazukiOhta](https://github.com/KazukiOhta) (v2.3.0)
9596
- `v1` : Fixed visualization [#1208](https://github.com/sotetsuk/pgx/pull/1208) and bug in Gold's move [#1209](https://github.com/sotetsuk/pgx/pull/1209) by [@KazukiOhta](https://github.com/KazukiOhta) (v2.2.0)
9697
- `v0` : Initial release (v1.0.0)
9798

pgx/animal_shogi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def id(self) -> core.EnvId:
146146

147147
@property
148148
def version(self) -> str:
149-
return "v1"
149+
return "v2"
150150

151151
@property
152152
def num_players(self) -> int:

0 commit comments

Comments
 (0)