ScratchData LogoScratchData
Back to gregatku's profile

Nim (Set Up)

GRgregatku•Created December 27, 2016
Nim (Set Up)
2
2
17 views
View on Scratch

Instructions

NIM (Set Up) Click the Green Flag to start. A turn constitutes removing as many coins you like, but only from one Group. The winner is the player who takes the last coin. Code for creating a Random Game is deliberately missing, because it is a student exercise to write it. There are also 2 missing lines for students to write in code to scramble & unscramble the coins.

Description

© Copyright Kids Unlimited 2016 Created by @gregatku for use in Coding Classes for Kids Unlimited, for whom I work as a Coding teacher. Greatly improved using advice from @DiegoOld, who taught me to "ask" less/no questions, how to identify Clones so their id can be used later to trigger their deletion, and showing me how to make sliders appear to take on alpha values. There are comments inside to attempt to explain the perfect strategy.

Project Details

Project ID138004489
CreatedDecember 27, 2016
Last ModifiedAugust 11, 2017
SharedDecember 30, 2016
Visibilityvisible
CommentsAllowed