Please enable JavaScript to use CodeHS

Introduction to Computer Science in C++

Project: Game of Nim

In this module, students will create two different versions of the game of Nim. Nim is a mathematical strategy game where two players remove items from a stack in turn. In their versions, students will create a game to play against the computer.

Lessons

6.1 The Game of Nim

  • Basic Game of Nim
  • Challenge: Multiple Stacks

Courses that include this module