Skip to content

Instantly share code, notes, and snippets.

View mrnebbi's full-sized avatar
🔥

Ian Nebbiolo mrnebbi

🔥
View GitHub Profile
@mrnebbi
mrnebbi / Nuke Salad
Last active August 29, 2015 14:17
Nuke Salad
Once upon a time there was a three legged deer. Every day the deer drank from the burn beside the tower.
Every morning without fail as he lapped at the refreshing water, arrows would fly past his ears.
The east bank rabbits and the west bank hares had been battling for centuries.
They both sought the same carrots in between the two banks. It was known as The Battle for Middle Orange Things.
A faction of hares were selectively breeding for short ears and fluffy tails - hoping to eventually infiltrate the rabbits.

Text adventure game overview

World is described in a text file, or multiple text files. A global area for usable actions is described in the file, how a an action affects your characters health, movements, etc. e.g. drink drinks, eat food, etc.

If user types eat and there is no food in their bag, or current room then “no food is available” can be displayed.

Contents of the room, other people, usable items, directions you can go are all described in the file for each room you enter.

e.g.

@mrnebbi
mrnebbi / synergy-reset.sh
Created May 4, 2018 08:19
Quick Synergy reset
#!/bin/bash
echo "Attempting to reset your Synergy services"
printf "Unloading Synergy service... "
launchctl unload /Library/LaunchAgents/com.symless.synergy.synergy-service.plist
echo "done!"
printf "Killing core... "
sudo killall synergy-core
echo "done!"
printf "Restarting Synergy... "
launchctl load /Library/LaunchAgents/com.symless.synergy.synergy-service.plist
tap "adoptopenjdk/openjdk"
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/core"
tap "stripe/stripe-cli"
brew "gradle"
brew "imagemagick"
brew "mas"
brew "node"
brew "php@7.3"