Game Development in Python Through the Use of Matrices
DOI:
https://doi.org/10.59957/see.v10.i1.2025.2Keywords:
matrices, Python, game development, multidimensional lists, NumPyAbstract
Matrices are a fundamental mathematical tool that play a central role in both theoretical research and practical programming. This report demonstrates their application through the development of a Python-based game, where every element of gameplay — from movement and collision detection to health tracking and win/loss conditions — is governed by operations on a two-dimensional matrix. The results show that a simple grid structure can successfully model an interactive environment, highlighting the flexibility of matrices beyond traditional scientific and numerical tasks. This project not only illustrates the connection between mathematics and programming but also emphasizes the educational value of using matrices as a foundation for developing logical thinking and problem-solving skills.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 Science, Engineering and Education

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.