Talk:15 puzzle game: Difference between revisions
Content added Content deleted
(created a talk page (with two queries, more or less).) |
|||
Line 14: | Line 14: | ||
Should the initial (random) puzzle position be a winnable puzzle? -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 07:30, 10 April 2016 (UTC) |
Should the initial (random) puzzle position be a winnable puzzle? -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 07:30, 10 April 2016 (UTC) |
||
: Yes. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 12:46, 10 April 2016 (UTC) |
Revision as of 12:46, 10 April 2016
task clarification
I assume the task is to implement a computer program to
- simulate playing the 15-game (puzzle)
- generate a random start position
- prompt the user for which piece to move
- validate if the move is legal (possible)
- display the game (puzzle) as pieces are moved
- announce when the puzzle is solved
- possibly keep track of the number of moves
Should the initial (random) puzzle position be a winnable puzzle? -- Gerard Schildberger (talk) 07:30, 10 April 2016 (UTC)