javascript game for my final project in a javascript class