Sudoku for Two Players
Introduction: Programming a Game on Python
One of the programming languages we learn as first year engineering science students is Python. The task we were assigned was to design a game similar to sudoku. Sudoku and the Design Process While conducting this project, I focused a lot on the requirements set by this project to account for as many possible human errors as possible, also known as designing for usability (requiring as little thinking for the user as possible). This involved designing a function called check_move that accounted for invalid input made by the user. I designed for debugging by commenting everything I did and using print statements where necessary to account for errors that might not be caught by Python. The entire process was definitely iterative. After I would write a few lines of code, I would have to go back if any errors occurred and debug (refine). If I couldn't find the error myself, I would have to ask feedback of my peers who are more fluent in the programming language than I am and then go back to the ideation stage again. There were multiple drafts of the assignment before the finished product:
|
|