Attachment ''


   1 # Memory-Game-using-wxPython
   3 REQUIRES: wxPython. So go install that first. 
   5 Background: I was doing some wxPython tutorials, but I just wasn't getting it, so I gave myself a mini project: this game! It's just a basic memory game with cards you click looking for pairs. Very ruidimentary on initial commit, but works great-ish!
   8 IMAGES:
   9 All the images in the Images folder are so you can run out of box. You can actually populate that folder with your own JPEGs and it will work fine. Though make sure all the JPEGs are same size or something will happen probably. You can also change the function that reads the Images folder to read PNG files or other supported types by wxPython. I just left it .jpg files for now. 
  10 Sleep Function:
  11 Ugh. When the user clicks on the second card and it is NOT a match, the program wiaths 1.5 seconds so the user can look at the cards before they're hidden again. Standard SOP for memory games. However, the Sleep timer I used doesn't halt wxPython event handling, so if you click during the time, it executes it immediately after timer. Need to make that better.
  14 Hippie Score Keeping:
  15 Aka, no score keeping. I would like to add a timer for the game and number of succesful attempts and total attempts. That's why there is a blank space to right. 
  17 Skill Levels:
  18 As of now, one skill level: 24 cards with 12 pairs. Though I tried to make some built-in flexibility for added functionality later. 
  20 wxPython:
  21 I don't know why I find it so difficult, but I'm trying. And if you see bad practices in my code (which I'm sure it's riddled with), be sure to let me know. 

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2020-08-13 17:12:27, 1.0 KB) [[]]
  • [get | view] (2020-08-13 17:13:18, 0.4 KB) [[]]
  • [get | view] (2020-08-13 16:05:59, 0.2 KB) [[]]
  • [get | view] (2020-08-13 16:10:02, 0.3 KB) [[]]
  • [get | view] (2020-08-05 19:06:04, 326.3 KB) [[attachment:img_memory_game.png]]
  • [get | view] (2020-09-09 09:45:09, 12.3 KB) [[attachment:img_reversi.png]]
  • [get | view] (2020-08-05 10:16:50, 21.7 KB) [[attachment:img_tetris_1.png]]
  • [get | view] (2020-09-09 09:45:24, 15.6 KB) [[attachment:img_tetris_2.png]]
  • [get | view] (2020-08-13 17:14:24, 8.0 KB) [[attachment:img_towers_of_hanoi_1.png]]
  • [get | view] (2020-08-14 12:16:12, 6.8 KB) [[attachment:img_towers_of_hanoi_2.png]]
  • [get | view] (2020-08-05 19:06:43, 1.6 KB) [[]]
  • [get | view] (2020-09-19 17:46:02, 244.5 KB) [[]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.

NOTE: To edit pages in this wiki you must be a member of the TrustedEditorsGroup.