Skip to content

xujingshi/2048

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

2048

A python exercise to simulate the 2048 game.

Finish the game in terminal. The program does not need to calculate scores.

Input: W(Up) S(Down) A(Left) D(Right), <CR> to exit.
2	4	2	2
2	0	0	2
0	0	0  	0
2	0	2	0

operator: a
2	8	0	0
4	0  	0  	0
0	0  	0  	0
4	2  	0  	0

operator:
...

What you need to do:

  1. Understand the mechanics of the 2048.
  2. Proficient with loops and arrays.
  3. Independent thinking.

It's not what we do once in a while that shapes our lives. It's what we do consistently.

Love U ❤️

About

A python exercise to simulate the 2048 game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published