Skip to content

e-vdb/Memory-game

Repository files navigation

Memory-game

Summary

Memory game for one player (solo mode) or two players.

Code written in python3 with graphics user interface (GUI) using Tkinter.

Memory

Memory consists in finding pairs of cards.

To learn more about this game, visit https://en.wikipedia.org/wiki/Concentration_(card_game)

Repository content

To play the game, save the following files in the same directory.

  • Memory.py : Python script
  • Images folder : characters pictures (in .gif) for GUI
  • about.txt : plain text document that contains copyright and license information

Tkinter interface

Start-up interface

Choose characters for the memory among

  • Peanuts (by Charles M. Schulz)
  • Cartoon (images from https://www.apprendre-en-ligne.net/pj/memory/index.html )
  • Add your own theme !!!
    • Add a folder with characters images using the following name (carte-number.gif)
    • In the Python script, add the folder name to themeList=['Peanuts','Cartoon']

theme

Two players

Play with a friend

2players

One player (solo mode)

Play alone

1player

game

About

From the GUI you can read license information.

Tasks list

  • Document code
  • Implement versus AI mode
  • Implement versus AI mode with different difficulty levels
  • Add more themes
  • Add script to process images for memory game

About

Tkinter implementation of a memory game

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages