Hot answers tagged

3 votes
Accepted

Game of Fifteen - Move function issue

You have two serious problems here. First, your move() function defines int blank = board[d][d]; The array element board[d][d] doesn't exist because both indexes run from 0 to d-1. Anything with d ...
Cliff B's user avatar
  • 68.7k
1 vote

Submiting Final Project

Yes, that's fine. You aren't required to submit your code if it's not developed in the IDE. Instead, you only need to submit a readme type file (and a video).
curiouskiwi's user avatar
  • 18.6k
1 vote
Accepted

game of fifteen check50

In my code when the problem was that in 3 x 3 board when I was starting game with 3 then tile goes up and after that if you exchange with 2, it was exchanging which is not a permissible move one can ...
Rahul's user avatar
  • 252
1 vote
Accepted

pset0 scratch how to pause the game

When you click to show the variable "play/pause", it shows that the variable is indeed working - it switches from play to pause and back again every time you click "p". However, nothing happens when ...
SuperNovaCoder's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible