Under rating threshold (hideshow)
I can't get Ctrl-C or Ctrl-V to work. :(
Dunno if I'm misunderstanding what they're supposed to do.
But I suspect Ruffle is eating them because it handles those as a special case to interact with clipboard. Would be nice to have alternative keys for them. And/or be able to change them like the other keys.
Under rating threshold (hideshow)
A bit of a quibble in LOOPING; the directions guarantee a positive number, but sometimes the input (and presumably expected output) will be 0. Easy enough to work around, but it threw me for a loop at first.
Under rating threshold (hideshow)
I think there's an error in your description of the Logical Expression Unit. OR REG ANQ should add up to 7 (0111) with inputs of 5 (0101) and 3 (0011), not 6 (0110)
Under rating threshold (hideshow)
Looping II isn't checked correctly. My algorithm outputs 32 for an input of 18. As far as I can tell that's right, but it's expecting an output of 16.
Under rating threshold (hideshow)
@plujan, I can't get "Stack" to work even with your revised instructions. I can get it to get the absolute value of the result spot on, but the sign of the output will sometimes (and for the life of me I can't figure out why) fail. So, for example if the expected output is 1234 I get one of two possible answers (1234 and -1234). So I am able to pass some test cases and then I fail one at random. To achieve this result I used the following formula based on your solution, I1-I2+I3-I4 [..].
Doing as you said in your comment, "Return the value in(I) - in(I-1) + in(I-2) - in(I-3)...", will yield results that are either too big or two small by either two or three and will still present sign issues (again, I can't figure out a common denominator)
Any thoughts? I think i am loosing my mind here...plz help.
Under rating threshold (hideshow)
Good god some of these take time! Even with x128 speed formulas II takes forever! Is there something I'm missing? Perhaps tone down the number of successful tests some of these programs have to go through.
Under rating threshold (hideshow)
Interesting. Haven't seen a game like it. It annoys me that labels take up precious instruction cache space. Labels shouldn't be on their own line. They shouldn't behave like a NOP.
You're absolutely correct. They're usually just sort of short-hands to do relative jumping, so they end up not having any actual memory address. I just did not have the time to implement it in that way.
Under rating threshold (hideshow)
pretty radical my dude, i am a programmer after all. i program using scratch. i am a gamer girl AND A PROGRAMMER GIR,aL
Thanks, and such a button does exist. If you push the play button on the top you can step through using space bar. And you can also set up break points by clicking on a line of code while the program is paused.
Under rating threshold (hideshow)
For anyone curious, it looks like the directions for "Stack" should be "Return the value in(I) - in(I-1) + in(I-2) - in(I-3)..." I might have the signs backwards depending on whether you count the last element (0) or not, but that's the general idea.
Under rating threshold (hideshow)
Game caused my computer to freeze (with a "compiling..." message) when I was looking for a way to input a zero with my keyboard settings which, by the way, seems impossible.
Under rating threshold (hideshow)
@Hercludes Yeah, thanks for the replies. I'm sure I'll revisit this game in the future. I had fun finding the "optimal" solutions on a few problems. This game isn't relaxing, though, so I'm taking a break.
Under rating threshold (hideshow)
On "Bit Arithmetic" advanced slide 1/2, it says "it takes about 20 minutes to learn how to count in binary." I think it'd be funny if it said "10 minutes" instead.
Under rating threshold (hideshow)
Needs music. Also, I'd like a list of instructions available at the beginning before I get started. You say to RTFM, but there are a lot of instructions that aren't available from 8086 that I have to kick myself to not use them, so it'd be great to see that early on (I know it can be found by clicking "style")
Have you seen the graphics?? Trust me you do NOT want my music on this. You can find a list of instructions by clicking the nodes, I believe there is an "arithmetic" node that will show you all the arithmetic instructions for example
Mathematically yes. In terms of computers this is not the case as the MSB is the only factor for determining positivity. However, if this were a ternary computer, you would be absolutely right :)
Under rating threshold (hideshow)
About the Stack challenge:
Isn't it asking to reverse the input? For example, if the input is:
1 2 3 4 5 6 7 0
the output should be:
0 7 6 5 4 3 2 1
I'm doing exactly that yet the system expects totally different numbers! Am I missing something?
Under rating threshold (hideshow)
Sorry,I'm a Chinese,and I'm not good at English,so I'm not often login the website, I just wanted to told you i saw the 5|3=6 and 5&3=5 in the information of "Logical Unit", it was wrong.
Under rating threshold (hideshow)
formulas iv has an accuracy problem,in:-7019,out:-22051,expected:-22050. but my answer is better than expected answer. so :>
"Below 250 round, after deprecate." I assume you rounded your answer, but in reality you have to deprecate. I forgot the reason (if it is easier this way, or if it was just an error in my code). I know, for example, I intentionally forced pi to be 3.17 because calculations are easier that way. But congrats on getting it so accurate.
Mmm.. nope.. tried MOV AX 5, MOV BX 3, OR BX AX -> I get 7. 101 OR 11 = 111 = 7. And by | if you meant (+)/^/XOR, 5^3=6 is true. And no, 5&3=1. I'm not sure if you were trying to inform me that the bit arithmetic in my game is broken, but I can assure you it is not. This game has been beaten to all hell and I have removed pretty much all the bugs. There's a visual bug but I can't be assed to fix, other than that there's nothing.
Under rating threshold (hideshow)
Coding with an azerty (french) keyboard is really a pain in the *** here, numpad output are letters, can't find the ",", "," is m, ;:!ù result in ":" etc. Anyway, great game
You do not need ",". In fact "," is completely ignored by the interpreter. Those other characters are not necessary at all either. Really ":" is the only piece of grammar you will ever need. Numpad issue sucks but no one uses it enough in programming to justify it being not a non-issue FWIW.
Under rating threshold (hideshow)
Thanks for the tip on handling the formulas IV rounding issue, spacedock. And checkout the latest high score on primes nomod... game not beaten yet. (Although I admit I sorta cheated a little with how I made that algo.)
Under rating threshold (hideshow)
I love programming, but this game is completely broken. First problem "Invalid symbol IN". ? doesn't bring up the initial slides, and breaks the interface. There's no reset. Keys don't always match what is typed. Spacing through the slides can mess up your code. Slides are also out of date. I love it when it works, but this is a fragile mess.
I developed this in ten days for GiTD, so yes a lot of it is broken. There is a reset, push the pause button or hit your start button. Not sure if you mean to reset your codepage, not a particularly useful function. The only keys you need are ':' ';' 0-9 and A-Z so every other key that does not match up is not of consequence. Honestly I should never have implemented the comment system because most likely this problem arises from that. The other bugs you mention have been fixed i just have not gotten around to publishing it, but they are in now.
Under rating threshold (hideshow)
Hi 3p0ch, debugging the developer's code is part of the solution. You are correct, the dev messed up and rounds one direction for the random part of the solution, and the other direction for the other part. I included a counter that flips at 250 to change from rounding one direction to the other. I would leave the bug in because it makes the problem more fun.
Under rating threshold (hideshow)
I think I'm running into a bug with Formulas IV. For the first 250 random numbers it gives, if you get a negative input it expects the output to be the negative number below (more negative than) the product, like if the product were -3531.7346 it would expect -3532. But in the test cases from 250-500 when I hit the first negative input -7019, if you calculate its product you get -22050.8388 so by the first cases you would expect it to want -22051 (which is what my program is producing as output), but now ciggbitcembly expects -22050 as the correct output.
Spacedock apparently got a non-mod solution to it, but idk how unless something changed since he did.
Under rating threshold (hideshow)
5/5 and favorited... even though I personally think MOD is evil and refuse to use it. Unfortunately Kongregate is the home of idle/clicker games where people come if even the thought of thinking scares them, so it won't get rated as well here as it deserves. Two small bugs: the question mark button by the code window makes text appear along the left side (nine lines with Z, X, SPACE, TAB, ...) with the game hanging afterward and requiring a restart, and does that in either Chrome or Firefox. More importantly, high scores aren't updating so I can't gloat about getting the high score on Primes (assuming someone else hasn't already beaten my score and is also not getting it updated).
Haha, yes MOD is evil, but it's fun to use in puzzle games. Thankfully there's a leaderboard for you, the NoMOD category. Yes, it seems like people don't like to be challenged on Kongregate. The question mark is a known bug and will be fixed in the next update. High scores can be forced to update by switching your category back and forth, I personally don't see you on Primes so the connection between you and the Kong API probably failed. I can't do anything in that case. Thanks for the kind words, be on the lookout for my next update which will include the ability to make user-made levels.
Under rating threshold (hideshow)
For some reason whenever I try to insert a comma, it shows as a colon. It was working as intended this morning, when I played last.
Under rating threshold (hideshow)
There's a huge problem with controls for azerty keyboard, for instance, I cannot type $, which is kinda problematic. But still a good idea
I'm pretty sure you can still type do it using shift+4 in-game. You can also use M instead, which I've included in the memory node. Also @ works on most keyboards :)
Under rating threshold (hideshow)
If you have a way of storing the top programs in terms of both style and ticks... I'd love to have a means of viewing the top solutions. for the few where another user has edged me out :P
I have no idea how to implement such a thing. I also don't want high scores to be ruined by people copy/pasting the best solutions. Often if you ask a person for what they did though, they will give you a hint. Right now it's all about storing temporary values into the code itself using self-modifying code so that you can avoid using MOV. Looking at your scores though, it looks like you already know this :)
Under rating threshold (hideshow)
Are you sure the hexadecimal stuff is working? If I try 'MOV AX, X80000000', I get 80,000,000 in the AX register rather than the decimal conversion.
When decimal can not fit into the register, it's displayed as hexadecimal. I had no time to implement something that would make it obvious it was hexadecimal without having to screw around with the UI more. I might fix it in the future.
Under rating threshold (hideshow)
You need to make it so you can select different parts of the text. It would be nice if you didn't have to copy and paste the entire subroutine at once.
Under rating threshold (hideshow)
It seems "Branching II" is wrong, it says to return the highest abs value, but when i compare 27 and -69, it says that 27 is expected, instead of -69...Anyone?
will remove. Try playing the game past a couple seconds before you rate though, it was the only sound clip in the entire game and more of an afterthought.
Under rating threshold (hideshow)
Ok, How do you get 999 ticks? Oz9Tu has done something really sneaky on Addition II. My code:
IN
ADD BX AX
MOV AX BX
OUT
You can do it. Think about what would get you just 1 tick off. Note style is based per each time you execute an instruction. As for the style, I have no clue.
Under rating threshold (hideshow)
Rules for BitHack IV are a bit confusing. What is means is take the first half of input 1, discard the other half, Then take the lower half of input 2, discarding the upper half, and then compose a new integer out of the two halves. IE: FEDC A123 and AAAA FFFF would create FEDC FFFF.
I will update the problem accordingly to have it make more sense. Sometimes my wording does not make sense and I do not always have access to someone who can proofread it for me.
Under rating threshold (hideshow)
shift+. is the : on german keyboard. Changing the controls does not help. No Lables for me unless I change the controls in the OS.
I've fixed it. Almost all the grammatical keys should type ':' now, which means you no longer have to worry about what keyboard you are using. Sorry for the time it took to fix.