Game Development in Python Through the Use of Matrices

Game Development in Python Through the Use of Matrices

Authors

  • Sava Statkov Second English Language School “Thomas Jefferson“
  • Georgi Hristov Second English Language School „Thomas Jefferson“, Sofia University “St. Kliment Ohridski”

DOI:

https://doi.org/10.59957/see.v10.i1.2025.2

Keywords:

matrices, Python, game development, multidimensional lists, NumPy

Abstract

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

2025-12-30
Loading...