prototype for a Vectrex game in Scala