https://github.com/dvdagames/hackmud-tools
Random assortment of tools and scripts for hackmud
https://github.com/dvdagames/hackmud-tools
codegolf hackmud
Last synced: about 2 months ago
JSON representation
Random assortment of tools and scripts for hackmud
- Host: GitHub
- URL: https://github.com/dvdagames/hackmud-tools
- Owner: DVDAGames
- License: mit
- Created: 2016-12-12T05:52:54.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-07-14T03:02:35.000Z (over 5 years ago)
- Last Synced: 2025-01-17T22:29:01.420Z (about 1 year ago)
- Topics: codegolf, hackmud
- Language: JavaScript
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# hackmud-tools
Random assortment of tools and scripts for hackmud with comments.
## What's up with the syntax?
Hackmud has a mechanic that limits the size of scripts you can upload by character count.
This means you'll often have to Code Golf your scripts to a very intense degree. To that
end, you'll notice I forego semi-colons and any braces I can get away with leaving out.
Several of these scripts were written when I was working with 500-1100 character limits.
On a related note, I've included the character count (as reported by Hackmud's `#up` method)
and `security_level` for each script.
**NOTE**: While whitespace and single-line comments (`//`) don't count against the limits
block comments (`/* */`) do, so you will want to remove the JSDoc comments prior to uploading.
These comments are designed to make it easier to work with the code.
### Resources
- [Useful Lock Info](https://steamcommunity.com/sharedfiles/filedetails/?id=779579222)
- [Basic Script Editing](http://ethankaminski.com/fanstuff/hackmud/coding-info.html)
- [Sample Hackmud Scripts](https://github.com/ethankaminski/hackmud_sample_scripts)
- [Scripting Tutorial](https://docs.google.com/document/d/1cNms-T_KSFy0F5j1xHXrUZEGd7AM49QEork3KlpGqkc/edit)