Game is mostly working. This was suprisingly easy to rewrite