2048 Numbers Game

Another project built for the online Python Class I was taking, 2048 is a game in which you move numbers around a board. Like numbers merge in pairs. For example blocks of 2 and 2 becomes a single 4. You move all the blocks at once in whatever direction you pick using the arrow keys. Every time you make a move, a new block is added. If you run out of free spaces, you lose. The goal is to get a block whose score is exactly 2048.

You must have pop-ups enabled to play, can’t run it on a mobile device, and any older browsers that haven’t been updated in a couple years may or may not work. I am using CodeSkulptor to run my python code in your browser. CodeSkulptor is a very nice tool, but it does have these limitations.

Screen shot of 2048 numbers game. Built with python by Justin Gosses 2015.

Screen shot of 2048 numbers game. Built with python by Justin Gosses 2015.


0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.