Skip to main content

All Questions

Tagged with
2 votes
2 answers
133 views

"Element Fusion" game where 2048 meets Chemistry

I've developed "Element Fusion," a PyGame-based game inspired by 2048 but using chemical elements. I'm seeking feedback on: Gameplay mechanics Code structure and efficiency PyGame ...
Amirhossein Rezaei's user avatar
12 votes
2 answers
1k views

Space shooter game using pygame

I have made a space shooter game in pygame with over 800 lines of code (including blank lines). The aim of the game is to kill all of the ships in the game. You start with a small spaceship and one ...
coder's user avatar
  • 121
2 votes
1 answer
99 views

Game of life(random generation, pygame)

I recently created game about life in python. First version of code was console, but recently I rewrote this game in pygame. I decied upgrade game and was added age of cells. But now I can see that my ...
Максим's user avatar
2 votes
1 answer
186 views

Go chess (weiqi) in Python using Pygame

Preface This question is a re-implementation of my other question here. The Game Go or weiqi is an amazingly simple yet complex board game. This game is typically played on a 19x19 grid, and pieces ...
cold10's user avatar
  • 469
1 vote
1 answer
44 views

When I try to re set up my code after failing in the game I cant get it to run the function without its own file being undefined [closed]

I know my code is ugly and unreadable. I originally had the game working without class functions but when I had to implement class function it all went downhill. TennisMaster.py ...
RobbieAwesome's user avatar
4 votes
1 answer
205 views

class that handles the rpg game map

I created a class to handle maps in my RPG game, before it became a class this was a collection of functions I created, but I thought it could be used as a class. although this code is working but i ...
syafiqfadillah's user avatar
5 votes
1 answer
242 views

A Python snake game (using Pygame)

So this is a fun little project I am working on. This is my current progress with the game: ...
Sriv's user avatar
  • 2,750
3 votes
1 answer
112 views

An emotion recognition test I designed using Pygame

for my dissertation (in psychology) I created an emotion recognition test that displays an image of a face displaying a certain emotion for a set time, then allows participants to press a button ...
Theamazingone1's user avatar
4 votes
1 answer
816 views

Movement function for a Sokoban game using Python [closed]

I've been working on the functions that handle when a player's sprite interacts with either a wall (0) or say the crate to push (£) I'm just wondering how this looks and if there alternative methods, ...
James D's user avatar
  • 41
4 votes
1 answer
11k views

Memory game using Python and PyGame

I am a beginner in Python and PyGame and wrote a memory game. I think there are lot of things I could have done better. I am looking for some advice on how I can improve the design and refactoring of ...
Boopesh's user avatar
  • 91