Re:Show HN: Game of Life in 32 bytes of assembler
by zorbash on Thursday April 30, 2020 @06:45PM
(#23037112)
Please make it available online!
[ Parent
| on HN ]
Re:Show HN: Game of Life in 32 bytes of assembler
by jnurmine on Thursday April 30, 2020 @06:49PM
(#23037153)
I can make it available here :)
Here's the binary:
uBMAzRC6AKCOwovyM/+xAYvp+rraA+yoCHX77KgIdPsmgDWRdDCQkORgityyBDqHawF0C5CQ/sP+
ynXy6wmQKtzQ44uPcwED+YD0BIf+h+k793W/tAyA9ATA7AKK1IDCQbgDAM0QtALNIcMeIBEfJCYX
Jf//AQDA/kAB
Copy that to a file and then: "base64 -d blah.txt > worms.com"Make sure there are no spaces in the beginning of the lines.
This is from the original document:
"This is a version of the worm game for two players.
Game objective is to stay alive longer than the other worm!
You die if you eat yourself, ie. you are going RIGHT and you press LEFT.
Move the worm with the following keys:
PLAYER A: (topmost worm)
W
A D
S
PLAYER B: (lower worm)
I
J L
K
Winner is indicated by player letter, "A" or "B".
An even game is indicated by a "C". An even game means that the worms
ate each others heads, and nobody won."
Edit: correct base64 formatting
Re:Show HN: Game of Life in 32 bytes of assembler
by gregschlom on Thursday April 30, 2020 @08:18PM
(#23037828)
It's online now:
http://twt86.co/?c=uBMAzRC6AKCOwovyM%2F%2BxAYvp%2BrraA%2ByoC...
:)
Re:Show HN: Game of Life in 32 bytes of assembler
by anthk on Thursday April 30, 2020 @10:48PM
(#23038605)
cool. For OpenBSD:
cat worms.uue
begin-base64 644 worms.com
uBMAzRC6AKCOwovyM/+xAYvp+rraA+yoCHX77KgIdPsmgDWRdDCQkORgityyBDqHawF0C5CQ/sP+
ynXy6wmQKtzQ44uPcwED+YD0BIf+h+k793W/tAyA9ATA7AKK1IDCQbgDAM0QtALNIcMeIBEfJCYX
Jf//AQDA/kAB b64decode -o worms.com worms.uue