News:

"Beep-Bloop" -Matti, probably

Main Menu

The most random thread ever!!!

Started by Icefire, July 04, 2011, 04:53:18 PM

Previous topic - Next topic

0 Members and 10 Guests are viewing this topic.

The Skarzs

Cave of Skarzs

Cave potato.


Hickory

I am the master of my fate:
I am the captain of my soul.




James Gryphon

« Subject to editing »


LT Sandpaw

@James, what is this Robowar thing?


"Sometimes its not about winning, but how you lose." - John Gwynne

"Facts don't care about your feelings." -Ben Shapiro


James Gryphon

It's one of my favorite classic Macintosh games (later ported to Windows). You pick your robot's weapons, armor, etc., write code for it, and pit it against other robots in the arena. The different hardware options allow for different strategies, defenses, etc. There were tournaments from something like 1991 to 2010.

I got the old Mac source code and've played with it for a bit, making some changes and improvements. (The colored bullets, explosions, etc. you see in the video are all mine.)
« Subject to editing »


LT Sandpaw


Rachel what's with all the Once Upon a Time gifs!?

@James, huh interesting. So do you program your own robot with different commands like move forward, shoot, shield and the like or is it already preprogramed and you just have to select what you want your robot to do?


"Sometimes its not about winning, but how you lose." - John Gwynne

"Facts don't care about your feelings." -Ben Shapiro

James Gryphon

RoboWar has its own Assembly-like programming language, "RoboTalk", with lots of different registers, operators, etc. Here's an example of a very simple bot (which should run, unless my programming skills've gone down the tubes).

main:
aim 41 + aim' sto
range 0 > fire if
main jump

fire:
150 fire' sto
main jump


Each bot is totally autonomous; you just start the battle and watch what their code makes them do. It's rather strategic that way; you have to account (or not) for what each other bot might do in advance of the actual battle.
« Subject to editing »

The Skarzs

Quote from: LT Sandpaw on October 16, 2015, 06:36:41 PM
Rachel what's with all the Once Upon a Time gifs!?
THAT'S what those are from. . . Well, she did make a topic in Cavern Hole for that series. :P
Cave of Skarzs

Cave potato.