minimicro-sysdisk
Farmtronics
minimicro-sysdisk | Farmtronics | |
---|---|---|
11 | 5 | |
22 | 48 | |
- | - | |
6.6 | 7.5 | |
about 2 months ago | about 2 months ago | |
MAXScript | C# | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
minimicro-sysdisk
-
The Making of Solitaire for Mini Micro
Mini Micro comes with a bunch of built-in playing card images which come from Kenney's Boardgame Pack. I love these card images, and when I started the project my goal was to demonstrate a game made using only these built-in assets.
-
Make a digital clock in Mini Micro
Among the built-in images in Mini Micro is /sys/pics/digits.png. It looks like this:
-
Shell Scripting with MiniScript
Here we're using shellArgs[1:] to get the list of files passed to the script, and then file.info to get some details about each one. This script skips directories (of course it could be expanded to handle those too), and then collects all the other files more than 30 days old, with the help of the dateTime module.
-
Version Checking in MiniScript
You can use this to make your code do different things depending on where it's running. For example, the Acey-Deucey game included with Mini Micro at /sys/lib/acey-deucey.ms is designed to work on command-line MiniScript, too. But the latter doesn't have the Sound class, so we "mock" that class at the start of the program, so the rest of the code doesn't need to worry about it.
-
MiniScript Ports
He's currently divided his work into two projects on GitHub: MiniScript.TS is the language core, while MiniScript-NodeJS adds Node.js support and a script-runner. The latter includes support for print and input, the import command, and a subset of the Mini Micro /sys disk.
-
Announcing MiniBASIC
This might be of interest if you already know BASIC, and want to quickly bang out a game or utility. MiniBASIC provides a good set of high-resolution drawing commands, suitable for making plots, graphs, and diagrams. It also has access to all the data on the built-in /sys disk, including stock images, sounds, and a complete English word list! And, being completely cross-platform, Mini Micro (and so MiniBASIC) runs identically on any desktop computer (and soon mobile devices, too). So if BASIC is already in your wheelhouse, MiniBASIC offers a great way to take advantage of these Mini Micro features.
-
Make a `rerun` command for Mini Micro
This uses a couple of tricks which you could glean from the startup.ms file on the system disk (/sys/startup.ms):
-
Advent of Code (in MiniScript), Day 13
So as usual, I come away with a realization for something that really ought to exist in MiniScript: an efficient sort algorithm that takes a comparison function as an argument. I'll code this up soon, and who knows, it might even find its way into a future version of /sys/lib/listUtil.
-
Advent of Code (in MiniScript), Day 12
One lesson learned is that I should always validate my function inputs. Had my findPath function simply checked that it was being passed two 2-element lists, I would have caught my error right away and fared much better. Grabbing code from somewhere else is no excuse; the first thing I should have done is examined the parameters, and added a quick qa.assert to me sure I call it correctly.
-
Advent of Code (in MiniScript), Day 8
Once again, my starter program did me no good; nor did I need any of the stuff I've been gathering in my custom aoc module, or even the standard /sys/lib modules. The solution was plain, unadorned MiniScript. ❤️
Farmtronics
-
Daily MiniScript mini-challenges
These are a collection of small challenges you can do in MiniScript. Some of them need the free Mini Micro environment, because they make use of graphics or sound; some can also be done in Stardew Valley using the Farmtronics mod, while still others can be done in any MiniScript environment.
-
Announcing Mini Micro 1.2.1
an update to the Farmtronics mod for Stardew Valley, to be more compatible with the latest version of the game
-
Getting Started With Farmtronics
We have gone over how to install both the Mod API for Stardew Valley and the Farmtonics Mod itself. But what about once you load the game for the first time?
-
Advent of Code (in MiniScript), Day 12
So this is a classic path-finding problem, for which A* (also known as best-first search) is the standard solution. I know I've written that a few times in the past, but I didn't have a standard library for it just sitting around. I searched my hard drive for file names containing "path" and ".ms", expecting to find a path-finding module I seem to recall writing for Farmtronics. But instead I found this script from a half-written space trader game called Starfarer.
-
How Do I ContentPatch a Mod's Assets?
Specifically, any file I please in Farmtronic's assets, with particular interest in the graphics assets and /sys/startup.ms
What are some alternatives?
minimicro-editor-themes - Custom colors (themes) for the built-in code editor in Mini Micro
Stardrop - Stardrop is an open-source, cross-platform mod manager for the game Stardew Valley.
minibasic - BASIC interpreter for Mini Micro
stardew-access - An accessibility mod for Stardew Valley with screen reader and keyboard only support!
Starfarer
miniscript-kt - Kotlin version of MiniScript (http://miniscript.org)
stardew-valley-daily-screenshot-mod - :honeybee: A Stardew Valley mod that automatically takes a screenshot of your entire farm at the start of each day
miniscript.org
AoC-2022 - MiniScript code for the Advent of Code 2022 challenges
stardew-valley-stardrop-pool-minigame - Fully functioning 8-Ball Pool Minigame within Stardew Valley. Play with multiplayer friends, or against NPCs!