top of page

ScribbleDoku Python Game

Carnegie Mellon University Course Final Project

Spring 2023 15-112 Lecture 3: Fundamentals of Programming

Using the knowledge I had gained from my semester of learning the Python coding language in 15-122, I created a game of sudoku themed around scribbling and erasing on graph paper. 

​

In my game, I included two types of hints (one that highlighted the only possible number a square could be and another that removed candidates that were not possible), a help menu, a start menu, and the ability to select difficulty levels that load randomized boards. 

​

To properly mimic the task of scribbling the number into the box, I had the drawing box track the locations that the mouse was dragging and compare that to pre-made solution locations that when compared with the dragged locations would match with the number that had the fewest locations outside of the solution. To achieve this accurately, the solutions needed to be exaggerated in ways that highlighted the unique parts of the shape of each number compared to other numbers so that the possibility of a misrepresentation of the number was diminished.

​

I also included a fade-in and out effect for loading in the start, game, and hint pages to mimic the action of erasing and drawing the page.

bottom of page