Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

yeyun111/mini2048

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

11 Commits

Repository files navigation

#mini2048

A Python implementation of 2048 with a minimum GUI in 99 Physical LOC

Not Pythonic, PEP8 is not followed. I wrote this code because I'm boring.

Two modules are included:

  1. Game control module. Based on numpy, use a 2d ndarray to store the tile values. It takes input of UP, DOWN, LEFT and RIGHT to step forward.

  2. A minimum GUI based on Tk. The color style is referred to gabrielecirulli/2048

    .

#Screenshot:

If you can read Chinese you may find more details here: http://www.cnblogs.com/frombeijingwithlove/p/4111016.html

About

A Python implementation of 2048 with a minimum GUI in 99 LOC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /