Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: I dont know where my local variable has gone
Post: RE: I dont know where my local variable has gone

Thank You, I will find some pygame material for importing questions from a spreadsheet, is there any online materials that would be good for this except the official pygame documents? thanks for the h...
Help_me_Please Game Development 4 2,947 Apr-03-2020, 02:00 PM
    Thread: I dont know where my local variable has gone
Post: I dont know where my local variable has gone

I am aiming to create a basic maths game, and I am creating a scoring system, after every question right the score should increment, it does so for a second before turning back to 0, thanks for any he...
Help_me_Please Game Development 4 2,947 Mar-30-2020, 11:54 AM
    Thread: Pausing without freezing
Post: RE: Pausing without freezing

Thank You, that's really helpful
Help_me_Please Game Development 3 5,143 Jan-27-2020, 06:29 PM
    Thread: Pausing without freezing
Post: Pausing without freezing

I have created a interactive game using pygame, I want like a pause before the computer takes its turn. I can only do that with pygame.time.wait(), but this freezes the interactivity for the duration....
Help_me_Please Game Development 3 5,143 Jan-26-2020, 05:10 PM
    Thread: Pygame writing using fonts and labels
Post: Pygame writing using fonts and labels

Hello, I have created a game which has an error in the display of the label when I want to close the pygame window, my pygame window is not the problem as it closes fine but I have come across an iss...
Help_me_Please Game Development 2 4,133 Jan-04-2020, 12:03 PM
    Thread: IndexError: index 8 is out of bounds for axis 0 with size 8
Post: RE: IndexError: index 8 is out of bounds for axis ...

Thank you that has fixed the issue
Help_me_Please General Coding Help 6 65,538 Jan-03-2020, 01:51 PM
    Thread: IndexError: index 8 is out of bounds for axis 0 with size 8
Post: RE: IndexError: index 8 is out of bounds for axis ...

I think I have emended as suggested and the problem is still around. thanks for this help. Do you have any other suggestions?
Help_me_Please General Coding Help 6 65,538 Jan-03-2020, 09:39 AM
    Thread: IndexError: index 8 is out of bounds for axis 0 with size 8
Post: RE: IndexError: index 8 is out of bounds for axis ...

I know the numbers start at 0, but I don't know what to change the code to, in order to fix the game, can you please fix that one line it would really move me on. I have been trying for weeks to fix t...
Help_me_Please General Coding Help 6 65,538 Jan-02-2020, 06:40 PM
    Thread: IndexError: index 8 is out of bounds for axis 0 with size 8
Post: IndexError: index 8 is out of bounds for axis 0 wi...

Dear anyone who can help, I have had a problem for many weeks with my code, it is suppose to play connect 4 against the computer. I have tried many things to fix it, the G_ stands for global. row cou...
Help_me_Please General Coding Help 6 65,538 Jan-02-2020, 04:23 PM
    Thread: Axis is out of bound error
Post: RE: Axis is out of bound error

Did I not address the problem with line 188 return board[G_row_count-1][col] == 0If I didn't then what do I write to fix this error Thanks for all of this help
Help_me_Please Game Development 2 1,980 Dec-19-2019, 11:27 AM
    Thread: Axis is out of bound error
Post: Axis is out of bound error

Dear anyone who can help, I have had a problem for many weeks with my code, it is suppose to play connect 4 against the computer. I have tried many things to fix it, the G_ stands for global. row cou...
Help_me_Please Game Development 2 1,980 Dec-14-2019, 04:16 PM
    Thread: Using color in python
Post: RE: Using color in python

I thought it was used in pygame which is already imported
Help_me_Please Game Development 16 17,491 Sep-14-2019, 04:13 PM
    Thread: Using color in python
Post: RE: Using color in python

After I do that I now get this error: GREEN = color('#00FF00') TypeError: 'module' object is not callable
Help_me_Please Game Development 16 17,491 Sep-14-2019, 03:47 PM
    Thread: Using color in python
Post: Using color in python

I am creating a game and I want to include colour and I am setting variables to their appropriate value, I here 'color' has to be spelt like that. But I get the error message: GREEN = color('#00FF00'...
Help_me_Please Game Development 16 17,491 Sep-14-2019, 03:39 PM
    Thread: How to play against the computer
Post: RE: How to play against the computer

How hard would this be to make vs the computer: import numpy as np import pygame import system as sys import math import time BLUE = (0,0,255) RED = (255,0,0) YELLOW = (255,255,0) BLACK = (0,0,0) R...
Help_me_Please General Coding Help 4 4,040 Aug-29-2019, 02:38 PM
    Thread: How to play against the computer
Post: How to play against the computer

I have a fully functioning 4 in a row game, but the code I have written only allows for human player vs human player game, how would I go about programing a opponent for a human vs computer. in the fu...
Help_me_Please General Coding Help 4 4,040 Aug-20-2019, 01:48 PM
    Thread: Loading a image
Post: RE: Loading a image

Thanks sorted
Help_me_Please Game Development 2 2,279 Aug-20-2019, 10:39 AM
    Thread: Loading a image
Post: Loading a image

I know this should be a simple one but when I run my code I get a blank screen before my game starts, the blank screen should load a loading screen I created in paint. This is saved in the same folder...
Help_me_Please Game Development 2 2,279 Aug-20-2019, 10:26 AM
    Thread: Validation checking
Post: RE: Validation checking

I am completely lost with this tuple business, can someone please emend this for me and repost it back as I am overwhelmed and confused: import numpy as np turn = 0 game_over = False def board_creat...
Help_me_Please Homework 25 7,166 Aug-16-2019, 12:46 PM
    Thread: Validation checking
Post: Connect 4

I am stuck in a loop where I cannot move onto player 2 selection. (im in the early stage and I am only onto the validation checking so far): import numpy as np turn = 0 game_over = False def board_c...
Help_me_Please Homework 25 7,166 Aug-16-2019, 11:38 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020