lux-viewer-2021

3.1.0 • Public • Published

Lux AI Challenge: Season 1 Visualizer

This is the codebase for the Season 1 competition visualizer. The latest version is hosted on https://2021vis.lux-ai.org/. To download a local or past version, check out the releases

To run the visualizer locally, first unzip the release and it should create a folder called dist. Then install the serve package via

npm i -g serve

Then run

serve dist

And you should be able to navigate to http://localhost:5000 to use the visualizer, upload replays, and watch them, and begin to analyze matches!

If you would like to view replays in higher quality, add "?scale=2" to the end of the visualizer url. For lower quality you can set as low as "?scale=1". Scale ranges from 1 to 3 with the default being 1.5.

e.g. http://localhost:5000/?scale=2 or https://2021vis.lux-ai.org/?scale=2

Features

  • Click and drag or press the WASD keys to pan around the map
  • Zoom in or out of the map as necessary
  • Play back the movement of units smoothly
  • See statistics and graphs on your bots
  • See match warnings live turn by turn
  • Toggle a debug mode that lets you visualize annotations your bot writes within the match

Development

Run npm run dev to start server and go to http://localhost:3000/dist

You will also need to copy the assets/ folder to dist/

Make sure whenever a change is made, the versioning is changed in configs.json.

Whenever the game engine has a breaking change, update the major version number.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
3.1.02,077latest

Version History

VersionDownloads (Last 7 Days)Published
3.1.02,077
3.0.11
3.0.01
2.2.01
2.1.11
2.1.01
2.0.141
2.0.131
2.0.121
2.0.111
2.0.101
2.0.91
2.0.81
2.0.71
2.0.61
2.0.51
2.0.41
2.0.31
2.0.21
2.0.11
2.0.01
1.2.61
1.2.51
1.2.41
1.2.31
1.2.11
1.2.01
0.0.21

Package Sidebar

Install

npm i lux-viewer-2021

Weekly Downloads

2,104

Version

3.1.0

License

MIT

Unpacked Size

2.64 MB

Total Files

119

Last publish

Collaborators

  • stonet2000