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
{ | |
"type": "excalidraw", | |
"version": 2, | |
"source": "https://excalidraw.com", | |
"elements": [ | |
{ | |
"id": "6epLBtPWpajrmXVOPAgjr", | |
"type": "text", | |
"x": 102.5, | |
"y": -44, |
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
// given a graph represented as a map of nodes and their children {node_1: [node_2, node_3]}, and two nodes a and b, write a function that returns a boolean indicating if node a is a descendant of node b | |
// isDescendant(graph, a, b) => returns true if a is a descendant of b | |
// Example | |
// g = {1: [2, 3], 2:[], 3:[4], 4:[5]} | |
// isDescendant(g, 5, 1) => true | |
// isDescendant(g, 2, 4) => false | |
// 1 |
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
[preset.0] | |
name="HTML5" | |
platform="HTML5" | |
runnable=true | |
custom_features="" | |
export_filter="all_resources" | |
include_filter="" | |
exclude_filter="" | |
export_path="./build/web/index.html" |
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
# Adapted from https://raw.githubusercontent.com/RudyMis/Bubbles/master/.github/workflows/godot-ci.yml | |
name: godot-ci | |
on: | |
push: | |
branches: [ main ] | |
env: | |
EXPORT_NAME: farmhand-go |
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
# Adapted from https://raw.githubusercontent.com/RudyMis/Bubbles/master/.github/workflows/godot-ci.yml | |
name: godot-ci | |
on: | |
push: | |
branches: [ main ] | |
env: | |
EXPORT_NAME: NAME-OF-YOUR-GAME |
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
farmhand.localforage.setItem('state', JSON.parse("{\"completedAchievements\":{\"plant-crop\":true,\"water-crop\":true,\"harvest-crop\":true,\"unlock-crop-price-guide\":true,\"daily-profit-1\":true,\"purchase-cow-pen\":true,\"daily-profit-2\":true,\"daily-profit-3\":true,\"purchase-all-cow-colors\":true,\"profit-average-1\":true,\"profit-average-2\":true,\"i-am-rich-1\":true,\"i-am-rich-2\":true},\"cowBreedingPen\":{\"cowId1\":\"d97f2117-6918-4181-8284-3f8dc6a0058e\",\"cowId2\":\"9044dd6e-23e7-4bb1-819d-eeb62dc8e90d\",\"daysUntilBirth\":-426},\"cowColorsPurchased\":{\"BROWN\":3,\"GREEN\":2,\"YELLOW\":2,\"ORANGE\":2,\"WHITE\":2,\"PURPLE\":1,\"BLUE\":1},\"cowForSale\":{\"baseWeight\":1983,\"color\":\"WHITE\",\"colorsInBloodline\":{\"WHITE\":true},\"daysOld\":1,\"daysSinceMilking\":0,\"daysSinceProducingFertilizer\":0,\"gender\":\"FEMALE\",\"happiness\":0,\"happinessBoostsToday\":0,\"id\":\"05fe1e3f-dc4f-4f86-bd16-d9afb718cc73\",\"isBred\":false,\"isUsingHuggingMachine\":false,\"name\":\"Crabapple\",\"weightMulti |
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
{ | |
"completedAchievements": { | |
"plant-crop": true, | |
"water-crop": true, | |
"harvest-crop": true, | |
"purchase-cow-pen": true, | |
"purchase-all-cow-colors": true | |
}, | |
"cowBreedingPen": { | |
"cowId1": null, |
This file has been truncated, but you can view the full file.
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
diff --git a/package-lock.json b/package-lock.json | |
index 1cbc6ab..47f4072 100644 | |
--- a/package-lock.json | |
+++ b/package-lock.json | |
@@ -6,7 +6,7 @@ | |
"packages": { | |
"": { | |
"name": "@jeremyckahn/farmhand", | |
- "version": "1.7.7", | |
+ "version": "1.10.17", |
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
{ | |
"completedAchievements": { | |
"plant-crop": true, | |
"water-crop": true, | |
"harvest-crop": true | |
}, | |
"cowBreedingPen": { | |
"cowId1": null, | |
"cowId2": null, | |
"daysUntilBirth": -1 |