Skip to content

CMU 15-112 Term Project. Single-player Mahjong playing against AIs, implemented with pygame.

Notifications You must be signed in to change notification settings

yonmaor1/mahjong

Repository files navigation

mahjong

Welcome to Mahjong! This is a single-player AI based mahjong. By default the player plays agains 3 AIs. Graphics are implemented with pygame.

Please run the project by running game.py. You must have pygame installed.

Demo: https://www.youtube.com/watch?v=mJl2oyGeOEw

Issues:

  • sometimes tile become same instance of the tile class, and end up occuring in several locations. This was partially fixed by changing the sorting algorithm but it still happen occasionaly
  • pygame flashes - I reduced flashing a good bit by using pygame.display.flip() rather then update(), but flashing still occurs
  • pass button sometimes doesn't show

About

CMU 15-112 Term Project. Single-player Mahjong playing against AIs, implemented with pygame.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages