more work
finished up basic rules and rendering