Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 493 Bytes

PureFunctionsOnly.md

File metadata and controls

14 lines (8 loc) · 493 Bytes

Pure Functions Only

Summary:

Your functions only affect your code through their return values. They have no side-effects.

Details:

A pure function is a function where the return value is only determined by its input values, without observable side effects. For this constraint, you must solve the problem only with pure functions.

Instructions:

  1. No values stored between turns. The game accepts a board as input and returns a board.
  2. All methods or functions are static