lights_out
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
lights_out [2019/03/28 10:53] – frchris | lights_out [2023/11/30 09:21] (current) – frchris | ||
---|---|---|---|
Line 1: | Line 1: | ||
**Lights Out** | **Lights Out** | ||
- | {{https:// | + | {{https:// |
+ | {{https:// | ||
+ | {{https:// | ||
+ | {{https:// | ||
+ | |||
+ | [[https:// | ||
{{https:// | {{https:// | ||
+ | |||
+ | |||
+ | {{ :: | ||
**What to do** | **What to do** | ||
Line 10: | Line 18: | ||
- Once you have that working, change the constructor of the '' | - Once you have that working, change the constructor of the '' | ||
- Notice it always says 0 moves. Look at the code in '' | - Notice it always says 0 moves. Look at the code in '' | ||
- | - Change the dimensions of the puzzle. | + | - Change the dimensions of the puzzle. |
- There is a version where there are no borders, so when you click on one of the lights on the edge, it changes the lights on the other side (Hint: use mod % ) | - There is a version where there are no borders, so when you click on one of the lights on the edge, it changes the lights on the other side (Hint: use mod % ) | ||
- | - not all random situations form a solvable puzzle. | + | - Not all random |
- Optional: Let the player know the minimum number of moves | - Optional: Let the player know the minimum number of moves |
lights_out.txt · Last modified: 2023/11/30 09:21 by frchris