You are not logged in.

#1 2009-06-25 18:56:34

josomebody
Member
Registered: 2008-06-20
Posts: 190

k-robots: quite possibly the geekiest game ever

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

#2 2009-06-26 20:05:53

tomd123
Developer
Registered: 2008-08-12
Posts: 565

Re: k-robots: quite possibly the geekiest game ever

core wars is probably the geekiest game in my dictionary tongue http://en.wikipedia.org/wiki/Core_War
it was started in 1984 so.

Some people have described the tournaments as watching your hdd defrag tongue although probably much more exciting

Last edited by tomd123 (2009-06-26 20:07:55)

Offline

#3 2009-06-26 22:26:35

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: k-robots: quite possibly the geekiest game ever

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

#4 2009-06-27 00:36:31

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 788
Website

Re: k-robots: quite possibly the geekiest game ever

Looks interesting. Core wars was a cool idea. I remember reading about it but have never actually played it. Very interesting game though. The wikipedia article contains lot's of info.

Offline

#5 2009-06-27 01:36:55

josomebody
Member
Registered: 2008-06-20
Posts: 190

Re: k-robots: quite possibly the geekiest game ever

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

#6 2009-06-27 13:29:54

andre.ramaciotti
Member
From: Brazil
Registered: 2007-04-06
Posts: 649

Re: k-robots: quite possibly the geekiest game ever

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

#7 2009-06-27 18:19:42

josomebody
Member
Registered: 2008-06-20
Posts: 190

Re: k-robots: quite possibly the geekiest game ever

andre.ramaciotti wrote:

I have this PKGBUILD for realtimebattle-cvs that I've made.

I'll give it a shot this weekend.


: () { : | :& } ;:

Offline

#8 2009-06-28 07:37:58

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: k-robots: quite possibly the geekiest game ever

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

#9 2009-08-04 06:55:31

malachi
Member
Registered: 2008-11-11
Posts: 15

Re: k-robots: quite possibly the geekiest game ever

@andre.ramaciotti:
I'm trying it out now. Just a note: you should probably add cvs to the depends. Thanks for making this smile

Offline

#10 2009-08-04 06:56:28

malachi
Member
Registered: 2008-11-11
Posts: 15

Re: k-robots: quite possibly the geekiest game ever

my apologies, I see it's in the makedepends. Nevermind ehehe

Offline

#11 2009-08-04 07:06:39

malachi
Member
Registered: 2008-11-11
Posts: 15

Re: k-robots: quite possibly the geekiest game ever

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

Board footer

Powered by FluxBB