school project: a simple game