shuffle game.pptx

59
Shuffle Game Programming Exercises CMSC201-Data Structures

Upload: kapitan-bilang

Post on 01-Oct-2015

249 views

Category:

Documents


6 download

TRANSCRIPT

Shuffle Game

Shuffle GameProgramming ExercisesCMSC201-Data StructuresTasksDevelop a C Program that will generate a random numbers (1-15) in a 4x4 MatrixVacant (space) can only be swap to any available (movable) numberOnly one number can be move at a timeCursor Keys (Arrow Keys) navigated

InstructionsYou can go beyond the minimum (basic) requirementIndividual ExerciseDue: 21st March 2015 11:[email protected]: Shuffle.CPP

Random Generated NumbersHow to play?148112591263714101315148112591263714101315148112591263710131514148112591263710131514148112512639710131514141125812639710131514141125812639710131514154112812639710131514154112812639710131514541112812639710131514541112812639710131514524111812639710131514524111812639710131514521118412639710131514521118412639710131514521118412639710131514152118412639710131514152118412639710131514121185412639710131514121185412639710131514124118512639710131514124118512639710131514124118351269710131514124118351269710131514124118312695710131514124118312695710131514124118312695710131514241118312695710131514241118312695710131514284111312695710131514284111312695710131514281113412695710131514281113412695710131514238111412695710131514238111412695710131514381121412695710131514381121412695710131514381121412695710131514384112112695710131514384112112695710131514384211211695710131514384211211695710131514384211211695710131514384211211695710131514238411211695710131514238411211695710131514238411211695710131514234112811695710131514234112811695710131514234112811695710131514123412811695710131514And to win123456789101112131415Your developed program must automatically determines if you win or you solved the puzzle (shuffle game)