Use graphics.py.
It is a simple graphics library.
Click HERE
for more information.
(download, install, documentation, ...)
Project #1
Create a game that requires the user to find matching symbols.
Requirements/design
- Create a grid of cells that contain symbols.
- Playing Cards? Pictures? ...?
- The grid does not need to be square.
- The more cells, the harder the game.
- At the start of the game the cells are blank.
(Symbols not showing.)
- The user clicks on a start button.
the symbols are randomly assigned to cells
but not shown.
- A symbol must be assigned to at least 2 cells.
(4, 6, ...?)
- the user clicks on a cell. The cell displays
its symbol.
- The user then clicks clicks on a second cell.
The cell displays its symbol.
- The user clicks on a next button to proceed
- If the cells do not match, the selected cells are
set back to blank.
- if they match, they remain displayed and can not
be selected again.
- the game ends when all of the cells are displayed
or when the user quits.
Design Thoughts
1. Color the blank cells (e.g. red, blue, stripes, ...)
2. Black white checker board or other pattern
3. No next button. Clicking on a cell starts the next operation.
4. No next button. Use a timer and set the cells to blank
when it expires.