1 in the game racko players receive a sequence of

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: tructure game-player from Assignment 01: (define-struct game-player (name scores)) ;; A game-player is a structure (make-game-player n s), where ;; n is a nonempty string (name of the player), and ;; s is a nonempty list of natural numbers (corresponding to scores in ;; different categories). 1. In the game Racko®, players receive a sequence of cards numbered 1 ­60, and can exchange these cards with cards from a deck. The aim of the game is to build a strictly increasing sequence of cards (in which a number is less than the number that comes after it). At the end of the game, five points ar...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online