Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
fifteen.c
generate.c Create generate.c Jan 21, 2016
helpers.c

README.md

Problem Set 3: Game of Fifteen

Objectives

  • Accustom you to reading someone else’s code.
  • Introduce you to larger programs and programs with multiple source files.
  • Empower you with Makefiles.
  • Implement a party favor.

Projects

  • Implement generate.c, a program that generates pseudorandom numbers in [0, 65536), one per line.
  • In helpers.c, implement a linear search function, a binary search function, and a selection sort function.
  • Implement fifteen.c, a program with which one can play a 15 puzzle-type of game in the terminal window, whereby the board's dimensions can range from 3x3 to 9x9.

Solved game of fifteen