This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "config_name": "Preset", | |
| "priority_stat": [ | |
| "spd", | |
| "sta", | |
| "pwr", | |
| "wit", | |
| "guts" | |
| ], | |
| "priority_weights": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| UUID | Player Name | |
|---|---|---|
| d0d7b8fe-bad8-481f-978e-cb659304ed49 | Adalberto Tosser | |
| f4a5d734-0ade-4410-abb6-c0cd5a7a1c26 | Agan Harrison | |
| f2468055-e880-40bf-8ac6-a0763d846eb2 | Alaynabella Hollywood | |
| efafe75e-2f00-4418-914c-9b6675d39264 | Aldon Cashmoney | |
| f741dc01-2bae-4459-bfc0-f97536193eea | Alejandro Leaf | |
| c9e4a49e-e35a-4034-a4c7-293896b40c58 | Alexander Horne | |
| e111a46d-5ada-4311-ac4f-175cca3357da | Alexandria Rosales | |
| 1068f44b-34a0-42d8-a92e-2be748681a6f | Allison Abbott | |
| 611d18e0-b972-4cdd-afc2-793c56bfe5a9 | Alston Cerveza |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from blaseball_mike.models import Game,Team,Player,Base #DIY baybe | |
| import pywikibot as pwb | |
| import wikitextparser as wtp | |
| import re | |
| import requests | |
| NAME_URL = 'https://api.blaseball-reference.com/v1/playerInfo?all=true&name=' | |
| ID_URL = 'https://api.blaseball-reference.com/v1/playerInfo?all=true&playerId=' | |
| game_record = {'season': 1, 'day': 1} | |
| name_re = '\w[\w\'\-é ]+' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Blaseball to Wiki... and More? | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.2 | |
| // @description Connect the dots! | |
| // @author You | |
| // @match https://www.blaseball.com/* | |
| // @grant none | |
| // @require https://raw.githubusercontent.com/CoeJoder/waitForKeyElements.js/master/waitForKeyElements.js | |
| // ==/UserScript== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from blaseball_mike.models import Team, Player | |
| import click | |
| import pywikibot as pwb | |
| from pywikibot.bot_choice import QuitKeyboardInterrupt | |
| from pywikibot.tools.formatter import color_format | |
| import wikitextparser as wtp | |
| import math | |
| import difflib | |
| import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {"info":{"description":"The SIBR public statistics API.","title":"Datablase","version":"1.0.0"},"host":"api.blaseball-reference.com","basePath":"/v1","produces":["application/json"],"schemes":["https"],"swagger":"2.0","paths":{"/data/events":{"get":{"parameters":[],"description":"Download all of the game events, base runners, and player events. Child data (base runners, player events) are \nprovided as their own lists and are not mapped into their parents, and thus must be matched by `game_event_id`.","tags":["Raw Data"],"responses":{"200":{"description":"A JSON file with the raw event data."}},"summary":"Download all raw event data."}},"/events":{"get":{"parameters":[{"name":"playerId","in":"query","description":"The ID of a player that must be the batter or the pitcher in each event.","required":false,"type":"string"},{"name":"gameId","in":"query","description":"The ID of the game by which to filter results.","required":false,"type":"string"},{"name":"pitcherId","in":"query","description":"The ID of the pit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (this.webpackJsonpsite=this.webpackJsonpsite||[]).push([[0],{124:function(e,t){},128:function(e,t,a){},129:function(e,t,a){},135:function(e,t,a){},136:function(e,t,a){},137:function(e,t,a){},138:function(e,t,a){},139:function(e,t,a){},140:function(e,t,a){},141:function(e,t,a){},142:function(e,t,a){},143:function(e,t,a){},144:function(e,t,a){},145:function(e,t,a){},146:function(e,t,a){},147:function(e,t,a){},148:function(e,t,a){},149:function(e,t,a){},150:function(e,t,a){},151:function(e,t,a){},152:function(e,t,a){},153:function(e,t,a){},154:function(e,t,a){},155:function(e,t,a){},156:function(e,t,a){},157:function(e,t,a){},158:function(e,t,a){},159:function(e,t,a){"use strict";a.r(t);var n=a(1),r=a.n(n),o=a(17),i=a.n(o),l=(a(89),a(6)),s=a(11),c=(a(40),a(90),a(14)),m=function(e){var t=e.path,a=e.className,n=e.background;return r.a.createElement(c.b,{to:{pathname:t,state:{background:n}},className:a},e.children)},u=a(24),d=a(77),h=a.n(d)()("https://web.archive.org/web/20200728175540/https://blaseball.com",{trans |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'imdb' | |
| require 'tempfile' | |
| require 'fileutils' | |
| temp_file = Tempfile.new('movies') | |
| begin | |
| temp_file.puts '<html><head> | |
| <title>Movies</title><style type="text/css"> | |
| body { background: #333; color: #eee; line-height: 110%; font-family: Helvetica; width: 780px; margin: 40px auto; text-align: center; } | |
| .movie { width: 23%; margin: 1% 0; float: left; height: 450px; overflow: hidden; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Player | |
| def initialize | |
| @max_health = 20 | |
| @retreat_point = @max_health / 2 | |
| @recovery_point = @max_health * 3 / 4 | |
| @last_health = @max_health | |
| end | |
| def continue(warrior) | |
| space = warrior.feel |