Giter VIP home page Giter VIP logo

lux-viewer-2021's Introduction

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.

lux-viewer-2021's People

Contributors

stonet2000 avatar p-isa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.