This project is a game inspired by the retro games of the 80s and 80s. Set in a top-down arena, a player can use their keyboard to control a character (denoted by a shield icon) to wander through a perilous plane filled with dangerous barriers and dangerous opponents. This game was developed using Python 3.9.4 and several libraries, including Pygame (notably the tutorial series linked by natHacks), Time, and the open-sourced libraries provided by NatHacks for simulated data. A few concepts within the game were challenging to develop, including button functionality and rendering buttons that did not throw exceptions when trying to trigger functions that would create graphs of brainwaves. This issue was corrected by taking a new approach to designing the button. I developed a new function that handled all of the simulated data and graph generation, then removed the text from the button after discerning that it was causing the issue in the first place. Afterwards, I added a separate text object to identify the button and had no further problems. I am pleased with how the motion in this game turned out, as it runs smoothly. Throughout this project, I learned how to use Python for game development through Pygames and utilize brain data through various libraries. The next step for this project would be getting access to hardware and trying to make the game responsive to a live feed of brain data so that a player could control the speed of their character with their focus.
Log in or sign up for Devpost to join the conversation.