Problem Set 3: Game of Fifteen

tl;dr

  1. Watch Week 3’s lecture.

  2. Search and sort some numbers.

  3. Implement the Game of Fifteen.

  4. Submit your code.

  5. Submit a form.

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

  1. Implement either of:

    • Find, less comfortable

    • Find, more comfortable

  2. Implement Game of Fifteen

How to Submit

Step 1 of 2

  • Update your IDE:

    update50
  • Submit find:

    cd ~/workspace/pset3/find/
    submit50 2017/spring/find
  • Submit fifteen:

    cd ~/workspace/pset3/fifteen/
    submit50 2017/spring/fifteen

To confirm that your code was submitted properly, visit https://cs50.me.