YOU HAVE TO PLAY 2048 AT 🎮 https://2048.mat1.repl.run/rob/ 🎮 OTHERWISE IT WILL NOT WORK
Use WASD to move the tiles in the direction you so choose.
- W = up ↑
- A = left ←
- S = down ↓
- D = right →
If you combine two tiles of the same type, they will combine! Crazy, right? 🙃
(Above is a screenshot of the 2048 tile)
inspirational story or whatever
This game was my first ever real C++ project I've ever worked on so please comment with feedback and suggestions.
I made it using my Sixel and xTerm libraries but neither of them are perfect so they're not fully released yet.
Sixel is the thing that can actually render the pixels in better quality than usual, to make it look more polished.
xterm is the terminal thing Repl.it and Repl.run uses, but I just named my library after it because i've only ever tested it on xterm ¯\_(ツ)_/¯
Please ⬆ upvote ⬆ this post if you think 2048 is cool!
or if you don't
i don't really care as long as you upvote it
Hey chief, if you don't mind could you help me out with the Sixels thing? I'm going to try to make a console RPG with them and I honestly haven't a clue how they work lol (alternatively, I could "borrow" the code in your sixels library (only if you're ok with that), I'd make sure to give you proper credit for it)
@mat1 Thanks :D I'll put some comments in my code so I don't forget. If by some miracle I do forget to credit you, though, or if you don't feel it's clear enough, let me know and I'll fix it. This will take my game to the point of actually being really cool I think, so I want to make sure you get credit for it. :)