BerryBots demo

Jump to navigation Jump to search
Revision as of 5 October 2012 at 07:23.
The highlighted comment was edited in this revision. [diff]

BerryBots demo

Collapse

Figured I'd take this to a separate thread. =) Posted another couple of vids with progress on the Raspberry Pi game I'm working on.

Still a lot to do but I think it's coming along pretty well.

Voidious14:36, 21 September 2012
Collapse

Nice, looking neat :)

Wonder how strategies will play out... hmm

Rednaxela15:27, 21 September 2012
 
Collapse

Man, you are totally of the hook :). Looks indeed very neat. The race looks and sound as it could provide a lot of fun and maybe some nice pathfinding programming.

Well done!

Wompi17:02, 21 September 2012
 
Collapse

(Sorry, gotta take this back to LiquidThreads.. =))

If anyone's curious, here's some TPS measurements (with graphics off) of Lua vs LuaJIT on the Raspberry Pi and my 2009 MacBook Pro 2.8 GHz. RandomBot is a trivial bot like sample.Crazy, BasicBattler is a slightly non-stupid bot with a simple Minimum Risk movement and random linear gun.

  • 2x BasicBattler
    • Rpi Lua: 343
    • Rpi LuaJIT: 632
    • MBP Lua: 5967
    • MBP LuaJIT: 19101
  • 8x BasicBattler
    • Rpi Lua: 44
    • Rpi LuaJIT: 88
    • MBP Lua: 766
    • MBP LuaJIT: 2377
  • 2x RandomBot
    • Rpi Lua: 782
    • Rpi LuaJIT: 1053
    • MBP Lua: 17781
    • MBP LuaJIT: 28154
  • 8x RandomBot
    • Rpi Lua: 119
    • Rpi LuaJIT: 182
    • MBP Lua: 2429
    • MBP LuaJIT: 4159
Voidious04:17, 5 October 2012
 
Collapse

Obviously the LuaJIT is far superior in speed.

LuaJIT vs Lua

  • 2xBB
    • RPI: x1.84
    • MBP: x3.2
  • 8xBB
    • RPI: x2
    • MBP: x3.1
  • 2xRB
    • RPI: x1.35
    • MBP: x1.58
  • 8xRB
    • RPI: x1.53
    • MBP: x1.71

Even considering a margin of error, it seems the x86/amd64 version is either more mature or has a more leverage-able machine code (assuming your mac book is intel rather then PPC based).

It seems to scale up on complexity. Be it more bots or more complex bots.

Chase-san09:22, 5 October 2012