- Key Cost: 6
- Keys: 1
- Aember: 0
Opponent may have 1 or 2 keys forged.
// ==UserScript== | |
// @name TCO Tracker Lite | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Track your game states in TCO | |
// @author jtrussell | |
// @match https://thecrucible.online | |
// @match https://thecrucible.online/* | |
// @grant none | |
// ==/UserScript== |
const fs = require('fs') | |
const rawData = fs.readFileSync('./data.txt').toString() | |
const ix = { | |
Dis: 0, | |
Shadows: 1, | |
Logos: 2, | |
Mars: 3, | |
Brobnar: 4, |
class Player extends GameObject { | |
// [... lots o' other stuff ...] | |
shuffleDeck() { | |
this.game.emitEvent( | |
'onDeckShuffled', | |
{ player: this } | |
) | |
this.deck = _.shuffle(this.deck) | |
if ( |
// ==UserScript== | |
// @name TCO Lobby Defaults | |
// @namespace http://tampermonkey.net/ | |
// @version 0.6 | |
// @description Set defaults for things like "Only show new games" | |
// @author jtrussell | |
// @include /https?://(www.)?thecrucible.online(\/.*)?/ | |
// @grant none | |
// ==/UserScript== |
// ==UserScript== | |
// @name TCO UI Beta Tester | |
// @namespace http://tampermonkey.net/ | |
// @version 0.3 | |
// @description Monkeying around with some UI tweaks for TCO | |
// @author jtrussell | |
// @match https://www.thecrucible.online* | |
// @match https://thecrucible.online* | |
// @grant none | |
// ==/UserScript== |
{"lastUpload":"2022-04-28T16:00:13.048Z","extensionVersion":"v3.4.3"} |
name: wingardium-leviosa | |
dependencies: | |
- python=3.7.3 | |
- pandas | |
- requests |
def get_fitness(individual): | |
# Award a baseline score based on total volume | |
percent_volume = get_percent_volume(individual) | |
score = min(percent_volume, 0.75) * max_volume_score | |
if percent_volume >= 0.75: | |
# Award additional points for contiguity if we've met | |
# the volume threshold. | |
num_contiguous_blocks = get_num_contiguous_blocks(individual) | |
contiguous_bonus = get_contiguous_bonus(num_contiguous_blocks) |
#@echo off & python -x %~f0 %* & goto :eof | |
##!/bin/python | |
# Meant to be used as executable, i.e. place this file somewhere in your path | |
# and uncomment the first line as necessary. | |
# | |
# Data file are expected to be formatted as: | |
# | |
# x_0,y1_0,y2_0,...,yN_0 | |
# ... |