Problem Set 3: Game of Fifteen
tl;dr
-
Watch Week 3’s lecture.
-
Search and sort some numbers.
-
Implement the Game of Fifteen.
-
Submit your code.
-
Submit a form.
Help
For help with Week 3 and Problem Set 3:
-
Watch Zamyla’s walkthroughs herein.
-
Start a discussion with classmates.
Reminders
-
Use
help50
as needed. -
Use
eprintf
as needed. -
Use
debug50
as needed.
Getting Started
Alright, here we go again!
Log into cs50.io and execute
update50
within a terminal window to make sure your workspace is up-to-date.
Next, execute
mkdir ~/workspace/pset3/
at your prompt in order to make a directory called pset3
in your workspace
directory.
Now execute
cd ~/workspace/pset3/
and your prompt should resemble the below.
~/workspace/pset3/ $
What to Do
-
Implement either of:
-
Implement Game of Fifteen
How to Submit
Be sure you’ve signed up for a GitHub account, per Problem Set 0, and that you’ve logged into and authorized CS50.me at least once, per Problem Set 1!
Step 1 of 2
-
Update your IDE:
update50
-
Submit the less-comfortable version of
find
(if you implemented it):cd ~/workspace/pset3/find/ submit50 cs50/2017/x/find/less
-
Submit the more-comfortable version of
find
(if you implemented it):cd ~/workspace/pset3/find/ submit50 cs50/2017/x/find/more
-
Submit
fifteen
:cd ~/workspace/pset3/fifteen/ submit50 cs50/2017/x/fifteen