Number of HVM /SuperHVM Challenges

avrrobot
Posts: 51
Joined: Fri Mar 04, 2011 2:54 pm
Location: Germany

Number of HVM /SuperHVM Challenges

Post by avrrobot »

Hello,

I thought about writing a better IDE for HackVM for myself,
as I already progged a very simple one.
How many HackVM and SuperhackVM Challenges are there,
and is it worth writing a good IDE with some features, that the
one mentioned here in the forum does not have?

avrrobot
AMindForeverVoyaging
Forum Admin
Posts: 496
Joined: Sat May 28, 2011 9:14 am
Location: Germany

Re: Number of HVM /SuperHVM Challenges

Post by AMindForeverVoyaging »

avrrobot wrote: How many HackVM and SuperhackVM Challenges are there
I cannot give you an exact number, only adum or someone who has opened up every challenge that exists could. However, from the challenges which are accessible to me, here are the numbers that I am able to give you:

HackVM Challenges
Hello World
I Will Be Execute
strlen
King Rat
Mod
Fast Mod
Exclusive Or
Calculator
Deluge
King Mouse
Labyrinth
Haven't We Met Before?
Deja Vu
Broken Key
Broken Keys
Brokener Keys
Brokenest Keys
It's a Small World

Total count so far: 18
I'm certain there exist more, I would guess the real number is somewhere between 20 and 30.

SuperhackVM Challenges
String Reversal
Super Quine
Super Brainfuck
Super Sentence Reversal
Jeux du Sort
Fast String Reversal
Super Small Hello World

Total count so far: 7
There could be more than that, of course.
avrrobot
Posts: 51
Joined: Fri Mar 04, 2011 2:54 pm
Location: Germany

Post by avrrobot »

Thank you, I already have access to all of them except from Brokenest Keys and It's a Small World.
I think then it is not worth writing a good IDE, because it would probably take too much time in comparison to the time I would save during the challenges.
aurora
Posts: 54
Joined: Thu Feb 05, 2009 12:31 pm
Location: Bavaria, Germany

Post by aurora »

on the other hand ... it could be a possibility to practice the language and maybe make it more popular as "esoteric programming language" ;-). what other features do you have in mind, that the hvm ide already available does not offer?
portal
Posts: 19
Joined: Sun Jul 22, 2007 4:36 am

Post by portal »

Just for completeness, here are a few more challenges:

HackVM:
Flash Flood Warmup
Quine
Mus Minutoides
Really Small Mouse
Maybe Smallest Mouse
It's a Very Small World
Flash Flood
Maybe Smallestest Mouse
It's A Very Small Word!
It's a Very Very Small World
Tsunami
Quinine
Surely Smallest Mouse
Surely Smallester Mouse
Fast Tsunami
Aazhi Peralai
Total count so far: 34

SuperhackVM:
Super Fast Brainfuck
Super Small Quine
Tiny Sentence Reversal
Tiny Sort
Small Brainfuck
Jeux du Sort Vite
Total count so far: 13

http://xkcd.com/974/
It will hardly save you time. Do it if you want to. Just my 2 cents.
AMindForeverVoyaging
Forum Admin
Posts: 496
Joined: Sat May 28, 2011 9:14 am
Location: Germany

Post by AMindForeverVoyaging »

portal wrote: Total count so far: 34
That many? Huh.
avrrobot
Posts: 51
Joined: Fri Mar 04, 2011 2:54 pm
Location: Germany

Post by avrrobot »

Interesting, I never thought there were this many hvm challenges (and this lot of Mouse challenges). But you are right, it will not save me time.
To be complete, here my answer to aurora:
1. function definition
2. automatic number conversion like 13 -> 94+ or 99 -> 92+9*
3. automatic jump positions arangement (hard to explain but would be useful)
and some smaller stuff.
AMindForeverVoyaging
Forum Admin
Posts: 496
Joined: Sat May 28, 2011 9:14 am
Location: Germany

Post by AMindForeverVoyaging »

But if one person does this and lets others use his IDE, then altogether a lot of time is saved, plus the person who writes the tool gets good Karma. ;)
avrrobot
Posts: 51
Joined: Fri Mar 04, 2011 2:54 pm
Location: Germany

Post by avrrobot »

Shure.
Btw.: Is it possible to do a 1 line for() loop in Superhvm?
sergejs
Posts: 6
Joined: Mon Jul 19, 2010 1:34 pm

Post by sergejs »

IIRC adum was against sharing self-made tools for HVM/SuperHack (there was a forum post on this topic somewhere). Besides, lots of HVM challenges ask for a very small instruction count. This usually means that you need to get creative and having general-purpose function definitions, automatic jump position arrangement and similar stuff might not work in such cases.
AMindForeverVoyaging
Forum Admin
Posts: 496
Joined: Sat May 28, 2011 9:14 am
Location: Germany

Post by AMindForeverVoyaging »

sergejs wrote:IIRC adum was against sharing self-made tools for HVM/SuperHack
No, it was only "other language to HVM" compilers/assemblers that shall not be shared. IDEs are allowed, and there exists at least one for HVM and one for SuperHVM.

adum's post can be found in this thread.
avrrobot
Posts: 51
Joined: Fri Mar 04, 2011 2:54 pm
Location: Germany

Post by avrrobot »

Do you know, where I can find the SuperhVM IDE?
AMindForeverVoyaging
Forum Admin
Posts: 496
Joined: Sat May 28, 2011 9:14 am
Location: Germany

Post by AMindForeverVoyaging »

avrrobot wrote:Do you know, where I can find the SuperhVM IDE?
Yeah, on my hard disk. ;)

I will re-upload it somewhere if I can find a good and reliable free host which does not delete files due to inactivity. See also this thread.
User avatar
CodeX
Posts: 350
Joined: Fri Oct 17, 2008 5:28 pm

Post by CodeX »

avrrobot wrote:Shure.
Btw.: Is it possible to do a 1 line for() loop in Superhvm?
It can be done as SuperHack allows self modifying code, it would be possible to achieve any functionality with a single line of initial code if it weren't for the 1024x128 code limit.

As for the SuperHack IDE, you could upload it to some places like SourceForge, Google code or Google AppEngine - I'm not sure how it would fare with their terms and conditions but it could lead to indefinite hosting.
User avatar
CodeX
Posts: 350
Joined: Fri Oct 17, 2008 5:28 pm

Post by CodeX »

Just in case anyone was looking for the PHP source of the SuperHack virtual machine which is no longer available at www.hacker.org/sh/shphp.phps, here's a copy of it: http://pastebin.com/euzkBvsr
Post Reply