0
Help with a code for a memory game python
I need to create the follow game using matrix The idea is to have a square board which will have 16 exits 4 (per side) and some bars placed randomly, a ball will go into the board and the idea is to say where exit is gonna be used by the ball after it touches the bars that were placed, these bars will disappear after 3 seconds that’s why it’s a memory game Every time the ball touches a bar its course will change 90 degrees
1 ответ
0
You should poste a piece of code to show us what you already have done and how we can help.
you could try a board structure as a list of lists :
board = [[0,0,0,0], [0,1,0,1], [0,0,1,0], [0,0,0,0]]
...