2048 (In Python Console)
h
CodingCactus (2774)

2048


What it is:

If you've never heard of it, basically, you have to put 2 squares of the same number together, which will combine those squares into a new square which is those numbers combined. That probably makes no sense because of my explanation skills, but it will all become clear (hopefully)

A new 2 square is added every move


Controls:

It's just the wasd keys:

  • w to go up
  • a to go left
  • s to go down
  • d to go right

How to win

It's simple, just make a square of the value 2048.

Disclaimer: I have never actually won this game lol.

Tip: either never press down or up (except from at the start) if you press up at start: try to not ever press down, or if you press down at the start: try not to ever press up.


How to lose

This is also very simple, just fill the board up until you can't move anymore.


Credit as usual to @xolyon for their colour tutorial (here) which I think pretty much everyone uses now instead of colorama and stuff.


Also, I do realise that it doesn't work exactly like the normal 2048 game, I'm working on that.
Any game breaking bugs, I would love to know about


That's about it!

Have fun and if you do, don't forget to upvote! :)

You are viewing a single comment. View All
xolyon (334)

@CodingCactus I write but it's like coding a line a day and you get an error almost everytime , My holidays just ended and the quarantine work is judt so tiring that CBA and watch shows for the rest of the day,

I'd you want to invite me to some project it would be a great way to exit the cycle cuz then I would have demand