An attempt to replicate Playoff Status behavior, but for Blaseball.
Published at https://mixolyde.github.io/blaseballstatus
- Postseason schedule
- Handle postseason data live
- Schedule pages
- Get a twitter account and button
- Factor future schedule into magic numbers
- Unit test coverage report
- Pull database api code out into a separate library
- Move project to a blaseball-specific account on github
- Reduce API calls during siesta
- v0.0.1
- Wild/Mild league data toggle
- Live pull data on refresh (thanks, cors-proxy!)
- Games behind math
- v0.0.2
- Data loading indicator and data filling as it comes in
- Winning magic numbers
- Party time magic numbers
- Clinch calculations
- v0.0.3
- Auto refresh data in browser
- Save last view
- About and info pages
- v0.0.4
- New playoff birth rules
- Group by division toggle
- Properly calculate games played
- Automate static data updates during the season
- v0.0.5
- Playoff prediction percentages
- v0.0.6
- Postseason content
- Add emoji to team rows
- Show full team name in wide view
- v0.0.7
- Live Postseason chance updates
- Live Postseason schedule updates
- v0.0.8
- Team Schedules
- Get a twitter account and button
- Unit test coverage report
- Move project to a blaseball-specific account on github
You will need Dart installed and on your $PATH to build and test the app.
On Linux
cd ~
wget --quiet https://storage.googleapis.com/dart-archive/channels/stable/release/latest/sdk/dartsdk-linux-x64-release.zip
unzip -q -o dartsdk-linux-x64-release.zip -d ~
export PATH=$PATH:~/dart-sdk/bin:~/.pub-cache/bin
pub global activate peanut
pub get
On Windows, get the Windows Dart SDK zip, unzip it somewhere,
and add that unzip's bin folder to your PATH variable. You also need
to add the Pub Cache bin folder to your PATH, which may be in
c:\Users\<username>\AppData\Roaming\Pub\Cache\bin.
You typically need to call the '.bat' versions of the helper tools in Windows.
pub.bat global activate peanut
pub.bat get
You can run all unit-tests with pub.bat run test or
a specific test with dart test\test-file.dart.
To serve up the app and test in your browser run
webdev.bat serve and go to http://localhost:8080/.
On Windows, there doesn't seem to be a clean way to shutdown
the local webdev server, so you may have to kill the process
from Task Manager, or with taskkill -f -pid ###.
I find the Windows Git Shell from Github that emulates a lot of Linux stuff to be really useful.
alias killdart='tasklist |grep dart |head -1 |awk '\''{print $2}'\'' | xargs taskkill -f -pid '
The Peanut plugin will automatically build your static web content and commit it to the gh-pages branch. Then you can push the gh-pages branch up to github.
peanut.bat
git push origin --set-upstream gh-pages
Your site should eventually get published to
yourusername.github.io/blaseballstatus.
Huge thanks to:
- The Game Band
- The Blaseball Discord community
- The SIBR Discord community
- PlayoffStatus.com
- Dart for being an awesome language!
- Peanut and Git plugins for Dart to auto deploy to gh-pages
- Codeship for continuous integration and automated deployment
Created from templates made available by Stagehand under a BSD-style license.