Live data from Hacker News

2048 implemented in 487 bytes of C

gist.github.com

1–10 of 47 posts

Re: 2048 implemented in 487 bytes of C

#7
Doesn't run correctly under windows. The code relies on the system call "stty cbreak", which is linux specific.

'stty' is not recognized as an internal or external command, operable program or batch file.

I would love to read comments instead of downvotes. Where am I wrong?

Re: 2048 implemented in 487 bytes of C

#9
post #7

Doesn't run correctly under windows. The code relies on the system call "stty cbreak", which is linux specific. 'stty' is not recognized as an internal or external command, operable program or batch file. I would love to read comments instead of downvotes. Where am I wrong?

`stty` is not Linux specific, it's common to all Unix-derived systems (including Mac OS X, for example). Windows is not Unix-derived.
Post reply on HN