About

The Gravulator is a gravity simulator that takes textual input and simulates gravity on 2 dimensional plane. The rules are pretty simple:

  • A "." is a rock, and falls as far down in the column as possible
  • Falling rocks that land on another single rock, form a stack ":"
  • Falling rocks that land on a stack stop above it
  • "T" represents a table that stops falling rocks above it and is immovable