attempt at making a working game