Skip to content

Commit 8b018cb

Browse files
authored
Merge pull request #234 from Lux-AI-Challenge/v3.0.0-release
v3.0.0 neurips edition
2 parents a96161a + d8c2c16 commit 8b018cb

File tree

7 files changed

+35
-33
lines changed

7 files changed

+35
-33
lines changed

README.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,33 @@
22

33
[![PyPI version](https://badge.fury.io/py/luxai_s2.svg)](https://badge.fury.io/py/luxai_s2)
44

5-
Welcome to the Lux AI Challenge Season 2!
5+
Welcome to the Lux AI Challenge Season 2! (Now at NeurIPS 2023)
66

7-
The Lux AI Challenge is a competition where competitors design agents to tackle a multi-variable optimization, resource gathering, and allocation problem in a 1v1 scenario against other competitors. In addition to optimization, successful agents must be capable of analyzing their opponents and developing appropriate policies to get the upper hand.
7+
The Lux AI Challenge is a competition where competitors design agents to tackle a multi-variable optimization, resource gathering, and allocation problem in a 1v1 scenario against other competitors. In addition to optimization, successful agents must be capable of analyzing their opponents and developing appropriate policies to get the upper hand. The goal of the NeurIPS 2023 edition of the competition is to focus on scaling up solutions to maps and game settings larger than the previous competition.
88

99
Key features this season!
1010
- GPU/TPU optimized environment via Jax
1111
- Asymmetric maps and novel mechanics (action efficiency and planning)
12-
- $55,000 Prize Pool
12+
- High quality dataset of past episodes of game play from hundreds of human-written agents including the strongest humans have been able to come up with thus far.
1313

14-
Go to our [Getting Started](#getting-started) section to get started programming a bot. The official competition runs until April 24th and submissions are due at 11:59PM UTC on the competition page: https://www.kaggle.com/competitions/lux-ai-season-2. There is a **$55,000** prize pool this year thanks to contributions from Kaggle, and our sponsors [QuantCo](https://quantco.com/), [Regression Games](https://www.regression.gg/), and [TSVC](https://tsvcap.com)
14+
Go to our [Getting Started](#getting-started) section to get started programming a bot. The official NeurIPS 2023 competition runs until November 17th and submissions are due at 11:59PM UTC on the competition page: https://www.kaggle.com/competitions/lux-ai-season-2-neurips-stage-2.
1515

1616
Make sure to join our community discord at https://discord.gg/aWJt3UAcgn to chat, strategize, and learn with other competitors! We will be posting announcements on the Kaggle Forums and on the discord.
1717

18-
Season 2 specifications can be found here: https://lux-ai.org/specs-s2. These detail how the game works and what rules your agent must abide by.
18+
Environment specifications can be found here: https://lux-ai.org/specs-s2. These detail how the game works and what rules your agent must abide by.
1919

2020
Interested in Season 1? Check out [last year's repository](https://github.com/Lux-AI-Challenge/Lux-Design-2021) where we received 22,000+ submissions from 1,100+ teams around the world ranging from scripted agents to Deep Reinforcement Learning.
2121

22-
If you use the Lux AI Season 2 environment in your work, please cite this repository as so
22+
23+
If you use the Lux AI Season 2 competition/environment in your work, please cite as so
2324

2425
```
25-
@software{Lux_AI_Challenge_S1,
26-
author = {Tao, Stone and Doerschuk-Tiberi, Bovard},
27-
doi = {https://doi.org/10.5281/zenodo.7988163},
28-
month = {10},
29-
title = {{Lux AI Challenge Season 2}},
30-
url = {https://github.com/Lux-AI-Challenge/Lux-Design-S2},
31-
version = {1.0.0},
32-
year = {2023}
26+
@inproceedings{luxais2_neurips_23,
27+
title = {Lux AI Challenge Season 2, NeurIPS Edition},
28+
author = {Stone Tao and Qimai Li and Yuhao Jiang and Jiaxin Chen and Xiaolong Zhu and Bovard Doerschuk-Tiberi and Isabelle Pan and Addison Howard},
29+
booktitle = {Thirty-seventh Conference on Neural Information Processing Systems: Competition Track},
30+
url = {https://github.com/Lux-AI-Challenge/Lux-Design-S2},
31+
year = {2023}
3332
}
3433
```
3534

@@ -52,6 +51,9 @@ pip install --upgrade luxai-s2
5251
```
5352

5453

54+
This will install the latest version of the Lux AI Season 2 environment. In particular, the latest versions default game configurations are for the NeurIPS 2023 competition. For those looking for the [competition prior to NeurIPS 2023](https://www.kaggle.com/c/lux-ai-season-2/) (smaller mapsizes and scale), see this [commit](https://github.com/Lux-AI-Challenge/Lux-Design-S2/tree/a96161ad51aaf6ae430b12c14bf81c37ff09dbd7) for code or do `pip install luxai_s2==2.2.0`.
55+
56+
5557
To verify your installation, you can run the CLI tool by replacing `path/to/bot/main.py` with a path to a bot (e.g. the starter kit in `kits/python/main.py`) and run
5658

5759
```

kits/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -89,12 +89,12 @@ The general observation given to your bot in the kits will look like below. `Arr
8989
}
9090
},
9191
"board": {
92-
"rubble": Array(48, 48),
93-
"ice": Array(48, 48),
94-
"ore": Array(48, 48),
95-
"lichen": Array(48, 48),
96-
"lichen_strains": Array(48, 48),
97-
"valid_spawns_mask": Array(48, 48),
92+
"rubble": Array(64, 64),
93+
"ice": Array(64, 64),
94+
"ore": Array(64, 64),
95+
"lichen": Array(64, 64),
96+
"lichen_strains": Array(64, 64),
97+
"valid_spawns_mask": Array(64, 64),
9898
"factories_per_team": int
9999
},
100100
"teams": {

kits/python/lux/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class EnvConfig:
3636

3737
### Variable parameters that don't affect game logic much ###
3838
max_episode_length: int = 1000
39-
map_size: int = 48
39+
map_size: int = 64
4040
verbose: int = 1
4141

4242
# this can be disabled to improve env FPS but assume your actions are well formatted
@@ -46,8 +46,8 @@ class EnvConfig:
4646
### Constants ###
4747
# you can only ever transfer in/out 1000 as this is the max cargo space.
4848
max_transfer_amount: int = 10000
49-
MIN_FACTORIES: int = 2
50-
MAX_FACTORIES: int = 5
49+
MIN_FACTORIES: int = 4
50+
MAX_FACTORIES: int = 10
5151
CYCLE_LENGTH: int = 50
5252
DAY_LENGTH: int = 30
5353
UNIT_ACTION_QUEUE_SIZE: int = 20 # when set to 1, then no action queue is used

kits/rl/sb3/lux/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class EnvConfig:
3636

3737
### Variable parameters that don't affect game logic much ###
3838
max_episode_length: int = 1000
39-
map_size: int = 48
39+
map_size: int = 64
4040
verbose: int = 1
4141

4242
# this can be disabled to improve env FPS but assume your actions are well formatted
@@ -46,8 +46,8 @@ class EnvConfig:
4646
### Constants ###
4747
# you can only ever transfer in/out 1000 as this is the max cargo space.
4848
max_transfer_amount: int = 10000
49-
MIN_FACTORIES: int = 2
50-
MAX_FACTORIES: int = 5
49+
MIN_FACTORIES: int = 4
50+
MAX_FACTORIES: int = 10
5151
CYCLE_LENGTH: int = 50
5252
DAY_LENGTH: int = 30
5353
UNIT_ACTION_QUEUE_SIZE: int = 20 # when set to 1, then no action queue is used

kits/sample_env_cfg.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"max_episode_length": 1000,
3-
"map_size": 48,
3+
"map_size": 64,
44
"verbose": 1,
55
"validate_action_space": true,
66
"max_transfer_amount": 3000,
7-
"MIN_FACTORIES": 2,
8-
"MAX_FACTORIES": 5,
7+
"MIN_FACTORIES": 4,
8+
"MAX_FACTORIES": 10,
99
"CYCLE_LENGTH": 50,
1010
"DAY_LENGTH": 30,
1111
"UNIT_ACTION_QUEUE_SIZE": 20,

luxai_s2/luxai_s2/config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class EnvConfig:
3636

3737
### Variable parameters that don't affect game logic much ###
3838
max_episode_length: int = 1000
39-
map_size: int = 48
39+
map_size: int = 64
4040
verbose: int = 1
4141

4242
# this can be disabled to improve env FPS but assume your actions are well formatted
@@ -46,8 +46,8 @@ class EnvConfig:
4646
### Constants ###
4747
# you can only ever transfer in/out 3000 as this is the max cargo/power space.
4848
max_transfer_amount: int = 3000
49-
MIN_FACTORIES: int = 2
50-
MAX_FACTORIES: int = 5
49+
MIN_FACTORIES: int = 4
50+
MAX_FACTORIES: int = 10
5151
CYCLE_LENGTH: int = 50
5252
DAY_LENGTH: int = 30
5353
UNIT_ACTION_QUEUE_SIZE: int = 20 # when set to 1, then no action queue is used

luxai_s2/luxai_s2/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.2.0"
1+
__version__ = "3.0.0"

0 commit comments

Comments
 (0)