ScratchData LogoScratchData
Back to gregatku's profile

Nim (You vs Me or 2 Player)

GRgregatku•Created December 23, 2016
Nim (You vs Me or 2 Player)
5
4
309 views
View on Scratch

Instructions

NIM (You vs Me or 2 Player) Click Green Flag to start. A turn consists of removing as many coins you like, but only from one Group. The winner is the player who takes the last coin. Avery plays the perfect game, but because you get to choose who goes first if you choose wisely (& play perfectly) you can always win. For a fun variation, hit the X-key when it's your turn. (S-key resets it).

Description

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.

Project Details

Project ID137829165
CreatedDecember 23, 2016
Last ModifiedJuly 23, 2021
SharedDecember 25, 2016
Visibilityvisible
CommentsAllowed