Pipe Beer is a pipe working game where you must create a run of pipes…