Giter Site home page Giter Site logo

fluorine's Introduction

Fluorine ๐Ÿข

"I got it yesterday, and it's already changed my life." โ€” teccles

Fluorine Screenshot

This is a replay viewer for Halite 3.

Installation

If you have npm and Electron installed globally (npm install electron -g) you can enter the Fluorine directory and do:

npm install
electron .

If you only have npm, and don't want to install Electron globally, I'm told the following works instead:

npm install
npm install electron --save-dev --save-exact
./node_modules/.bin/electron .

Finally, for those who use Docker, lpenz supplies a Dockerfile.

Building

Once the dependencies are installed (npm install), it should be possible to build a standalone application with npm run pack but for Windows there's also a pre-built application in the Releases section of this repo.

Other dependencies

Usage

Open a file from the menu, or via command line with electron . filename.hlt. Drag-and-dropping a file onto the window may also work. Once a file is opened, navigate with left and right arrow keys.

Thanks

Thanks to Snaar, Shummie, Ewirkerman, and Lidavidm for helpful discussions. Fluorine was developed during the beta phase of Halite 3 despite me not actually being in the beta, so I relied on them for information. Thanks to DomNomNom for the "monitor folder" feature. Thanks to DanielVF for an OS X bugfix. Thanks for Billiam for coloured logs and other enhancements.

fluorine's People

Contributors

billiam avatar danielvf avatar domnomnom avatar ewirkerman avatar fohristiwhirl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fluorine's Issues

Failing to start on Ubuntu 16.04

I have a report of Fluorine totally failing to start on Ubuntu 16.04...

in the terminal I'm cd'ing to the root of my clone of the fluorine repo, then running "electron .". But the command just finishes after half a second with no effect. I'm guessing a window should pop up, or something?

Anyone else experiencing this, or not?

Suggestion: halite plots

Seeing halite graphs near player stats similar like in the official web replay would be nice.

Besides that, fluorine is great, thanks! It seems like it's the only reasonable option for Linux users now (the official web replay is lagging for me and eats 100% CPU :o).

Uncaught ReferenceError: require is not defined

When opening Fluorine, in 'dev tools' I'm consistently receiving

Uncaught ReferenceError: require is not defined
at fluorine.renderer.js: 3

npm -v -> 6.4.1
node -v -> v10.15.3
Ubuntu -> 18.04

Possibly related
Obviously this is low priority without an on-going competition, but this is just a heads-up.

Screenshot from 2019-05-10 16-57-28

Alternative formats for f-logs

Writing an f-log as json is hard, since it can't be appended to.

Since bots don't know when the game has ended, writing it can't just be deferred until the last second.

A format like csv (๐Ÿ˜ข ) might be a better fit, since new lines could be added as the game plays out.

Halite 1.1.6 breaks Fluorine

When a newly generated ship collides with a pre-existing ship in 1.1.6, things go wrong because as of 1.1.6, the ship is given an ID, breaking some assumptions.

I am aware, will maybe fix tomorrow...

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.