Archiverse Internet Archive
投稿のみ 投稿と返信
前のページ(最近)
12 3 4 5 6 7 8 9 10 11 12 13 14
次のページ(過去)
返信[1]
親投稿
ĦHarry Ramstrong
There's only one DEF function HI(HashIndex). K$ contains the keys. Oh, dear. More string abuse. I must be the world's foremost string abuser or something. ^_^;
1そうだね
プレイ済み
返信[1]
親投稿
ĦHarry Ramstrong
Cool! Thanks for the tip. I got Hashing routine made. You want it?
0そうだね
プレイ済み
プレイ日記
ĦHarry Ramstrong
Hashing. Did somebody asked for Hash/Associative Array capability? I wonder what's so hard about it. Here you go! :)
7そうだね
プレイ済み
返信[6]
親投稿
ĦHarry Ramstrong
Under option, you can change colors to anything you like. Change the one for background.
0そうだね
プレイ済み
返信[4]
親投稿
ĦHarry Ramstrong
No upload so long as it's one screen. To solve it, just go from one corner to the other. I improved it so it loops 1 in CR.
0そうだね
プレイ済み
返信[1]
親投稿
ĦHarry Ramstrong
Here is the sample output. Maybe I should've put this on the post!
0そうだね
プレイ済み
プレイ日記
ĦHarry Ramstrong
New and improved maze generator algorithm. I always thought my last maze was overly complicated. Now it's a whole lot simpler and it fits in one screen!
5そうだね
プレイ済み
返信[30]
親投稿
ĦHarry Ramstrong
A command to determine array length would be nice. I've been keeping track manually, but something like LEN() for array would make it simpler. Also, an #include directive to integrate source code as library would be convenient. Copying and pasting is actually inconvenient.
1そうだね
プレイ済み
返信[1]
親投稿
ĦHarry Ramstrong
Go for it! I'll probably make my own library, but the more the merrier!
0そうだね
プレイ済み
返信[3]
親投稿
ĦHarry Ramstrong
A hash is usually done via CHECKSUM function. So, K=CHECKSUM("merringold") R=HASH[K] What I usually do, however, is just sort the array, and use binary search. OTOH, assuming all the keys fit in a string, you can just use the value return by INSTR() ^_-
0そうだね
プレイ済み
返信[6]
親投稿
ĦHarry Ramstrong
I never upload it. It's only one screen, so I don't bother. Perhaps somebody else wants to type it up and upload it?
0そうだね
プレイ済み
返信[3]
親投稿
ĦHarry Ramstrong
That the program is able to handle spaces and marks is always there in the beginning. That way, you can use it to play Wheel of Fortune type of game.
0そうだね
プレイ済み
返信[2]
親投稿
ĦHarry Ramstrong
I much prefer that version than the short version. The short version is ugly, does not accept phrase, and terminates immediately. In case you're curious, here's a screen cap of it. My goal is to write short, but good code. Number of lines is never a consideration.
0そうだね
プレイ済み
プレイ日記
ĦHarry Ramstrong
Guess the Word/Phrase (Hangman). I tried to leave it on Discussion post. Don't know if it's good without Public key. Just a screen cap.
4そうだね
プレイ済み
返信[2]
親投稿
ĦHarry Ramstrong
It seems a waste of public key when the program is only one screen. So, I hope it's alright to post the screen instead. It's Hangman/Guess the Word/Phrase. One person type the secret phrase, others try to guess it. Mnimalistic style. Music? SFX? What for? Source code is provided. Feel free to modify!
0そうだね
プレイ済み
返信[1]
親投稿
ĦHarry Ramstrong
Use WIDTH 16 for double size. Easier on the eyes.
0そうだね
プレイ済み
プレイ日記
ĦHarry Ramstrong
How to use Dpad to move your man.
4そうだね
プレイ済み
返信[1]
親投稿
ĦHarry Ramstrong
Yeah this post if you want to see more. Uh, DLW means DRAW-LOSE-WIN. A little mistake there. ^-^;
0そうだね
プレイ済み
プレイ日記
ĦHarry Ramstrong
It's Rock-Paper-Scissors game. Very minimalistic. Under 10 lines.
5そうだね
プレイ済み
返信[3]
親投稿
ĦHarry Ramstrong
Card game. Abuse of String array. :p
1そうだね
プレイ済み