Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 2 3 [4] 5

Author Topic: Scripted. 'Move left; arm down; arm grab; move right; arm drop'  (Read 3355 times)

Gwolfski

  • Bay Watcher
  • Strawberries!
    • View Profile
    • ignore pls!
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #45 on: May 29, 2016, 04:34:10 pm »

Spoiler: code (click to show/hide)

do this before my input.
Logged
Eventually when you go far enough the insane start becoming the sane

MoonyTheHuman

  • Bay Watcher
  • I think the DEC VAX hates me.
    • View Profile
    • hellomouse
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #46 on: May 29, 2016, 05:25:50 pm »

Spoiler: code (click to show/hide)
Spoiler: code (click to show/hide)
Quote from: Botarm Display
1. X#####o
2. x#####o
3. #####x*
4. #####X*

Quote from: Researcher
You didnt drop it in the hole, multiple cubes can fit in the hole

crazyabe

  • Bay Watcher
  • I didn't start the fire...Just added the gasoline!
    • View Profile
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #47 on: May 29, 2016, 05:37:05 pm »

-Say <Since I have a hard time Figuring out Code>...
"what the goal was was Unknown the Assumption made was that it was Solid Location unable to hold multiple Cubes."
Logged
Quote from: MonkeyMarkMario, 2023
“Don’t quote me.”
nothing here.

XXXXYYYY

  • Bay Watcher
  • Been a long time.
    • View Profile
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #48 on: May 29, 2016, 05:57:37 pm »

Spoiler: code Mk 2 (click to show/hide)
Or, if that fails,
Spoiler: code Mk 2.01 (click to show/hide)
Logged
Oooooooo. I know. ClF3. That should be a fun surprise.

MoonyTheHuman

  • Bay Watcher
  • I think the DEC VAX hates me.
    • View Profile
    • hellomouse
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #49 on: May 29, 2016, 09:20:35 pm »

Spoiler: code Mk 2 (click to show/hide)
Or, if that fails,
Spoiler: code Mk 2.01 (click to show/hide)
Too lazy to draw out the thing, the second one was correct, the first one pushed the cube off the table due to momentum
Quote from: Researcher
Great job on the second try, the first rry failed as you pushed the cube off the table, hah, i need to sleep, so have fun running code on your own, you can use the arm, too

XXXXYYYY

  • Bay Watcher
  • Been a long time.
    • View Profile
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #50 on: May 30, 2016, 11:47:39 am »

Link to Code.
I think I have this done right.
EDIT: Actually, I think that it might be backwards. Would (given [a] is the ascii value for a and [b​] the ascii value of b)
push [a]
push [b​]
call _printf
output "ab" or would it output "ba"?
If it is "ba", do this instead:
Reversed.
EDIT:
Wait, futhermore, do I have to _printf for each char or does it take the whole stack?
If it takes the whole stack, use the above, otherwise use these:
for ab,
for ba.
« Last Edit: May 30, 2016, 12:06:07 pm by XXXXYYYY »
Logged
Oooooooo. I know. ClF3. That should be a fun surprise.

MoonyTheHuman

  • Bay Watcher
  • I think the DEC VAX hates me.
    • View Profile
    • hellomouse
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #51 on: June 02, 2016, 01:09:51 am »

Link to Code.
I think I have this done right.
EDIT: Actually, I think that it might be backwards. Would (given [a] is the ascii value for a and [b​] the ascii value of b)
push [a]
push [b​]
call _printf
output "ab" or would it output "ba"?
If it is "ba", do this instead:
Reversed.
EDIT:
Wait, futhermore, do I have to _printf for each char or does it take the whole stack?
If it takes the whole stack, use the above, otherwise use these:
for ab,
for ba.
First in, last out.
It should print ba<jumbledinfoofthestackhere>
You forgot the terminating null (=

MoonyTheHuman

  • Bay Watcher
  • I think the DEC VAX hates me.
    • View Profile
    • hellomouse
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #52 on: June 02, 2016, 01:10:51 am »

Also,  Use data to do that.
Also. I offically ban push chains
« Last Edit: June 02, 2016, 01:13:21 am by MoonyTheHuman »
Logged

MoonyTheHuman

  • Bay Watcher
  • I think the DEC VAX hates me.
    • View Profile
    • hellomouse
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #53 on: June 02, 2016, 08:43:23 pm »

Booper Dooper

MoonyTheHuman

  • Bay Watcher
  • I think the DEC VAX hates me.
    • View Profile
    • hellomouse
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #54 on: July 29, 2016, 10:24:08 pm »

Amazing boop of life

MoonyTheHuman

  • Bay Watcher
  • I think the DEC VAX hates me.
    • View Profile
    • hellomouse
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #55 on: July 29, 2016, 11:59:38 pm »

Quote from: Researche r
wow, you've been inactive for a month, lets warm up, will you print 'hello world' for me?

Gwolfski

  • Bay Watcher
  • Strawberries!
    • View Profile
    • ignore pls!
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #56 on: July 30, 2016, 01:25:40 am »

>print "No."
Logged
Eventually when you go far enough the insane start becoming the sane

MoonyTheHuman

  • Bay Watcher
  • I think the DEC VAX hates me.
    • View Profile
    • hellomouse
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #57 on: July 30, 2016, 01:36:24 pm »

>print "No."
wrong thread? this is ASM, not command line

RulerOfNothing

  • Bay Watcher
    • View Profile
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #58 on: July 30, 2016, 06:52:27 pm »

Spoiler: code (click to show/hide)
Logged

MoonyTheHuman

  • Bay Watcher
  • I think the DEC VAX hates me.
    • View Profile
    • hellomouse
Re: Scripted, The AI game: 'push secretplan call _printf'
« Reply #59 on: July 30, 2016, 11:09:03 pm »

Quote from: Console
hello world
Segmentation fault
Quote from: Communication terminal
Good ennough, also, you can talk to me directly now. Annyways, you forgoot to append the string with a 0
Pages: 1 2 3 [4] 5