Home NY Grad Model Credit Predictor

Mini-Projects

Sliding Puzzle Solver

For my CS288 class at NJIT, I took the skeleton code provided for a Sliding Puzzle Solver and implemented A * search to solve a given grid. The solver is currently configured to solve 4x4 puzzles and deems a puzzle unsolvable after 5000 iterations.

Code

Rock, Paper, Scissors in Bash

For my CS288 class at NJIT, I created a simple Rock, Paper, Scissors game using Bash. The user plays against the computer and is prompted to enter their choice. Then, the computer uses %RANDOM to choose its move. The winner is determined based on the rules of the game. In case of a tie, the computer initiates a rematch until someone wins.

Code

Doc To PDF Convertor in Bash

After years of dealing with ad-filled online file converter website, I decided to use my knowledge of Bash to write a simple script that would convert any .docx file to a .pdf file. The script uses the soffice command to convert the file and save it with the same name as the original file.

Code