make this MPLd
add ht to Package-Requires
make aliases for dashes
Sand-mode is an unrealistic physics simulator where you can play with low-fidelity falling sand, rocks, antimatter, and more.
As you can see, sand falls down. Let's look at a more complex example of what sand.el can do.
M-x sand/play
. This will create a board with items in it.Here are all the items in the game.
These items fall down each timestep, until they land on something else.
o
: sand@
: rock - falls through sanda
: glass - crushed by rock*
: antimatter - explodes what it touches.&
: bomb -- explodes when it stops movingThese items float up each timestep.
Q
: balloonThese items are fixed and don't move.
_
: ledge - holds a single item on top of it./
: angle left - bounces items left.\
: angle right - bounces items right.#
: source - sometimes spawns an item (see sand//chance-of-source-dropping).X
: sink - absorbs what falls into itB
: blank the board.C
: clear loose items.space
or backspace
: clear the item under pointP
: toggle whether the board is playing.R
: restart -- wipe the board, and put a bunch of items back in it.r
: add a random element somewhere in the board.h
: add a random element at point.t
Move forward a single tick in time.You can also press the character that represents an item to place that item. So press o
to place sand, @
to place a rock, _
to place a ledge, and so forth.