Professional Documents
Culture Documents
UNIX PROJECT Final
UNIX PROJECT Final
ENGINEERING
Assistant professors
Dept. of ISE
RV College of Engineering
Name USN
Aditya Gehlawat 1RV20IS016
Pankaj 1RV20IS052
GROUP MEMBERS:
ACKNOWLEDGEMENT
The completion of this report could not have been possible without
the assistance and guidance of our professors, BK Srinivas and
Swetha S. We cannot express enough thanks for his continued support
and supervision throughout this undertaking.
We would also like to express our deep sense of gratitude towards our
HOD, Dr B.M Sagar, and Principal, Dr K N Subramanya for giving
us this opportunity and for their guidance in the completion of our
report. Lastly, we would also like to thank all the faculty members for
their constant encouragement and cooperation.
Serial number TITLE PAGE no:
1 ABSTRACT 4
2 INTRODUCTION 4
3 METHODOLOGY 5
4 IMPLEMENTATION 6
5 OUTPUT 9
6 CONCLUSION 10
TABLE OF CONTENTS
1. 1 Abstract
The Game of Tiles is a puzzle played on a square, two-dimensional
tiles that slide. The goal of this puzzle is to arrange the board’s tiles
empty.
Figure A.1
Sliding any tile that borders the board’s empty space in that space
game already won, notice how the tile numbered 12 or the tile
numbered 15 could be slid into the empty space. Tiles may not be
game begins with the board’s tiles in reverse order, from largest to
smallest, left to right, top to bottom, with an empty space in the
contains an odd number of tiles (i.e., the height and width of the board
Figure A.2
The puzzle also has an autocomplete feature available for 3x3 and
4x4 grid. The user will be able to see the sequence in which the
puzzle is solved one move at a time from start to the solution of the
2. Introduction
The Tiles Swap Game is a puzzle played on a square, two-
dimensional board with numbered tiles that slide. The goal of this
corner.
2.1 Challenges
made database for the game which stores the high score, which is the
lowest number of moves that a user has used to solve the puzzle. The
Shell Script to make a game for our project, we found this puzzle
about the features that we could possibly add to this game and the
3.1 Requirement
files.
fours functions.
4. Implementation
j) Grep, sed
k) Redirection
A*algorithm:
To approximate the shortest path in real-life situations, like- in maps,
games where there can be many hindrances. * algorithm is a searching
algorithm that searches for the shortest path between the initial and
the final state. It is used in various applications, such as maps. In
maps the A* algorithm is used to calculate the shortest distance
between the source (initial state) and the destination (final state).
5. Snapshots
6. Results and Analysis
The user has to move the tiles keeping in mind that the final result
should be in ascending order, and at the end when the ascending order
pattern is achieved the game ends with the number of moves
displayed.
7. Conclusion
We learned a lot through this project. This project has sharpened our
concepts of UNIX and shell script. We learned a lot about different
documentation. The piece of software we developed is intended to
show the flexibility of UNIX operating system. This project not only
tested our technical skills but also our temperament. There were many
time we almost lost hope but we recovered through constant
concentration and hard work. If any kind of suggestion,
improvements, more efficient development ideas are found, please
feel free to communicate with us.
8. References
1. https://docs.cs50.net/problems/fifteen/fifteen.html
2. https://dev.to/jemaloqiu/a-algorithm-for-solving-sliding-tiles-
game
9. Readme File
https://raw.githubusercontent.com/Dhisha2022/Aditya202/main/
README.md