alewmoose / 2048-in-terminal Goto Github PK
View Code? Open in Web Editor NEWAnimated console version of the 2048 game
License: MIT License
Animated console version of the 2048 game
License: MIT License
They've appearently made a lot of changes to xterm in ncurses (6.1) »», so when installing now, there are missing vertical lines in the output.
According to the terminfo.scr, the default is xterm-color
for my Terminal (in OS X). So, when I set that, instead of using xterm-256color
, which I usually have. Then it draws everything correct, but instead the cursor is visible/blinking.
…even though I've seen curs_set(0)
is set in setup_screen()
.
Do you have a fix/workaround for this?
After some searching I found a workaround to prepend the command with TERM
when starting it. There are a few different ones working, like:
$ TERM=st 2048
$ TERM=nsterm 2048
Both works, and one could make an alias of it - but, it would be nice if it worked normally. As it always have. :)
Polish
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.