just trying to program a simple browser game