You are not logged in.
I don't know if anybody else played at-robots as a kid, but I did when I was trying to learn assembly. Basically you write a fight program for a battlebot in assembly and fight it against other bots. Really fun if you have the same taste as me.
So I stumbled upon a linux clone of it called k-robots and figured I'd provide a PKGBUILD in case anybody else wanted to give it a shot.
http://aur.archlinux.org/packages.php?ID=27336
The documentation for the original game, which still applies finely to the clone, can be found here:
http://necrobones.com/pub/atrobots/docs/atr2.txt
Enjoy!
: () { : | :& } ;:
Offline
core wars is probably the geekiest game in my dictionary http://en.wikipedia.org/wiki/Core_War
it was started in 1984 so.
Some people have described the tournaments as watching your hdd defrag although probably much more exciting
Last edited by tomd123 (2009-06-26 20:07:55)
Offline
It's not the same kind of "battle", but I like RealTimeBattle. You have to program a robot in whichever language you'd like to and put it in an arena where it'll move and shot.
(lambda ())
Offline
Offline
I ended up looking for it because I got the urge to play realtime battle the other day and couldn't get it to build for whatever reason. I've always been a big fan of atr2's simplified assembly language, but that's just me. It's just fun to code in.
: () { : | :& } ;:
Offline
I have this PKGBUILD for realtimebattle-cvs that I've made. If somebody is willing to try it, tell me if it works, I may upload it to AUR.
pkgname=realtimebattle-cvs
pkgver=20090425
pkgrel=1
pkgdesc="A game in which you program your robots"
url="http://realtimebattle.sourceforge.net/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('gtk2')
makedepends=('cvs')
md5sums=()
source=()
_cvsroot=":pserver:anonymous@realtimebattle.cvs.sourceforge.net:/cvsroot/realtimebattle"
_cvsmod="RealTimeBattleNew"
build() {
cd ${srcdir}
msg "Connecting to realtimebattle.sourceforge.net CVS server...."
if [ -d $_cvsmod/CVS ]; then
cd $_cvsmod
cvs -z3 update -d
else
cvs -z3 -d $_cvsroot co -P $_cvsmod
cd $_cvsmod
fi
msg "CVS checkout done or server timeout"
msg "Starting make..."
cp -r ../$_cvsmod ../$_cvsmod-build
cd ../$_cvsmod-build
./configure --prefix=/usr
make || return 1
make DESTDIR=${pkgdir} install || return 1
rm -r ${srcdir}/$_cvsmod-build
rm ${pkgdir}/usr/share/locale/locale.alias
}
(lambda ())
Offline
I have this PKGBUILD for realtimebattle-cvs that I've made.
I'll give it a shot this weekend.
: () { : | :& } ;:
Offline
Ooh, Core War sounds interesting. Perhaps if I didn't find assembly so incredibly confusing I might stand a chance at writing a reasonable warrior…
Offline
@andre.ramaciotti:
I'm trying it out now. Just a note: you should probably add cvs to the depends. Thanks for making this
Offline
my apologies, I see it's in the makedepends. Nevermind ehehe
Offline
For me it errors:
g++ -DHAVE_CONFIG_H -I. -march=x86-64 -mtune=generic -O2 -pipe -MT unixoutstreambuf.o -MD -MP -MF .deps/unixoutstreambuf.Tpo -c -o unixoutstreambuf.o `test -f 'io/unixoutstreambuf.cpp' || echo './'`io/unixoutstreambuf.cpp
io/unixoutstreambuf.cpp: In member function 'virtual int IO::UnixOutStreambuf::overflow(int)':
io/unixoutstreambuf.cpp:61: error: 'EOF' was not declared in this scope
make[3]: *** [unixoutstreambuf.o] Error 1
make[3]: Leaving directory `/home/oliver/pkgbuilds/realtimebattle/src/RealTimeBattleNew-build/rtb-team-framework'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/oliver/pkgbuilds/realtimebattle/src/RealTimeBattleNew-build/rtb-team-framework'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/oliver/pkgbuilds/realtimebattle/src/RealTimeBattleNew-build'
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...
uname -a:
Linux helios 2.6.30-ARCH #1 SMP PREEMPT Sat Jul 4 02:24:43 CEST 2009 x86_64 Intel(R) Core(TM)2 CPU T7600 @ 2.33GHz GenuineIntel GNU/Linux
Last edited by malachi (2009-08-04 07:09:09)
Offline