Hacker News new | past | comments | ask | show | jobs | submit login
Minesweeper implemented in DCPU-16 (0x10co.de)
86 points by switz on April 17, 2012 | hide | past | favorite | 33 comments



I wish 0x10co.de and the other DCPU-16 code sharing/emulator websites had existed when I took my first CS "systems programming" (or whatever the introduction to CPUs and assembly was called back then). The professors struggled to get the students enthusiastic about programming in assembly when they were used to high level languages.


I'm not sure how long ago you took it, but this book is probably a better introduction than the DCPU-16 since you build the system up from gates until you reach a high level language.

http://www1.idc.ac.il/tecs/

It seems like assembly programming has become the domain of the ECE department at many schools while CS department has moved on.


I just went to the CS department site of the university I attended. The same systems architecture courses I took (logic gates, to building a pipelined MIPS CPU, to assembly programming on that CPU) are still degree requirements.


That describes the ECE 100 class I took many years ago pretty much perfectly.

But I think that programming a computer that's going to fly your space ship and blast your enemies is a lot more fun than any of the "have this vending machine make change" type exercises we ever did in assembly.


I'm looking forward to 0x10c as much as the next hacker, but I can't help but wonder what effect this DCPU is going to have on the gameplay experience. Is it going to be a programming competition rather than a computer game?


Without knowing much about how the game will be played, I doubt it. Maybe at the very highest end the marginal difference will be made by the quality of proprietary computer programs shared between elite clans but enough public script sharing will go on that will make it trivial for someone to be competitive at the lower levels without knowing a line of code.


> Is it going to be a programming competition rather than a computer game?

I certainly hope so. It is rare in games that you get better in virtual word by training a skill that is useful in real life.

Someone please do something like that for maths, physics and chemistry; we may yet be able to save education.


This may be a little offtopic but Core War [1] was a lot of fun.

[1]: http://en.wikipedia.org/wiki/Core_War


I hope people get just as excited to make things with the RasberryPi as they do with DCPU.


I hope someone builds an RasberryPi with a low-tech display (4-5") with some kind packet manager, just to run DCPU-16 programs. :)


So, uh, how long until the novelty of writing old programs in a new framework wears off?

edit: although that is a pretty sweet implementation


By the time that novelty wears off the game should be developed enough to give more challenges. It won't be old programs anymore but operating systems, auto-pilots, defence systems, communication systems, combat systems, viruses, hacking, and so on and so forth.


So, uh, how long until the novelty of writing old programs in a new framework wears off?

A review of the entire history of programming indicates the answer is 'never'.


So how long before we get Minecraft implemented in DCPU-16?



I would love to see the reverse, DCPU-16 in Minecraft.


If anyone has that kind of time, it's very possible, though running it might well lag the hell out of your computer. You should be able to find all of the necessary information here:

http://www.minecraftwiki.net/wiki/Redstone_Circuits

http://sybreon.github.com/dcpu16/

http://www.0x10c.com/doc/dcpu-16.txt


wait when did DCPU-16 get a framebuffer/higher-res graphics?


I can't look at the program right now because the site is non-responsive, but DCPU-16 has a defined spec right now for video, based on a leaked .jar file from the actual game. Someone named Rick took the leaked .jar, decompiled it, and wrote up a video spec based on it. The current spec can be found at https://github.com/gibbed/0x10c-Notes/blob/master/VirtualMon....


Never, it's community implemented conventions right now (that Notch will probably forcefully have to integrate)


The bitmapped fonts were actually discovered via a leak of the 0x10c code. We'd certainly thought of it before then, but the leak was what sparked the implementation. This version of Minesweeper appears to overwrite the default font with its own custom graphics.


I'm so happy you hackernews people like 0x10code (it's my site) :D


Now it doesn't seem to be reachable.


If you win, all subsequent games only have a single mine.


Maybe he fixed this, but this doesn't seem to be the case as I am playing it right now.


I'm having the same thing... and it shouldn't be the browser in this case...


Weird. I just won it three times in a row without that happening. How reproducible is it for you?


Odd bug -- when I lose the game and then hit enter to replay, every map only has a single mine. :(

Otherwise awesome.


The best part is the 'glasses falling' intro (ok, maybe not the best part, but a good one).


Off topic, 0x10co.de looks like it's gonna be a big hit app store.


How does the DCPU-16 differ from other assembly languages?


It warms my heart to see so many get excited about "bare metal" low level implementation.


bare metal?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: