Bustikated

Equal parts geeknobabble & jackassery

WeeMap turns 0.1

Posted by BM5k on May 16, 2008 at 06:33 AM

A picture is worth 100 words, so a video must be worth at least 1 million!

WeeMap 0.0.4

Posted by BM5k on May 14, 2008 at 09:30 AM

I’ve updated the live WeeMap with the numerous minor changes in the last few days.

  • Corrected email subjects
  • User info bar (with username and logout link)
  • Login redirects to Maps instead of Home
  • Various tweaks

The BIGGEST change in this release is the addition of tag based filtering/searching.

And with that, I’m off to bed. Be sure to check back here or the lighthouse for support/feedback.

Oh, and I’ve created a topic on the WeeWar Tangler Group for the app as well. Trying to keep everyone up to date.

More WeeWar

Posted by BM5k on March 21, 2008 at 02:37 AM

Why am I such a WeeWar junkie? For starters, turn based strategy games are awesome. Then you’ve got the fact that WeeWar is a pretty open game (ie the API). Combine all that with me needing projects just like this to learn RoR, and you’ve got full on addiction.

Since GoDaddy’s (expected) response of “Go Screw Yourself” to my Update Gem Request, I’ve had to resort to a less interactive means of showing off my mad bad Rails fu. I give you the awesome screenshot.

This is part of a table that will list unit attack & defense strengths, as well as movement ranges on the various terrains of WeeWar. This info can be helpful while trying to design your maps, esp when it comes to placing starting units.

Comments: 1 (view/add your own) Tags: RoR, WeeWar

WeeWar Map App v0.01

Posted by BM5k on March 17, 2008 at 12:00 AM

I’ve thrown together a lil rails app for providing feedback on WeeWar maps.

I’ll be honest, right now it isn’t that great. But I’m still working on it. Besides, it’s my very first published rails app. Hell, it’s my first published web app in a LONG time.

Which is your favorite WeeMap?

Due to the instability of the app, I’ve decided to release as private beta, you’ll need a key to join. Also, the app requires your weewar api key. The way it works is you provide your weewar login and api key to guarantee that you have the same name here as in weewar. It’s just better that way.

Let me say it again, yes this is a VERY early release. Yes there are several features that I want to add or fix. If you have constructive criticism or bugs, please leave comments. I hope to have a better method of leaving feedback up shortly (looking into lighthouse for tickets, and beast for a forum)

I’m not responsible for anything other than amusement that comes out of this app!!!

Oh, and the only way to get an invite is to ask ;)

Comments: 6 (view/add your own) Tags: App, RoR, WeeWar

Quick & Dirty WeeWar

Posted by BM5k on March 15, 2008 at 12:48 AM

The Window

All of the action takes place in the window.

  • Map – Where the action is
  • Cash and income
  • Inspector
    1. Name & Description of currently selected (hovered) terrain or unit
    2. The current unit is strong against these units
    3. The current unit is weak against these units
    4. The current unit can’t be used to attack these units
    5. Terrain effects on this unit
  • Chat Window
  • Player List

The point of WeeWar is to build an army and destroy your opponents.
To do this, you need to build units.
To build units, you need money.
To get money, you must capture bases.

Only bases generate income. The amount varies from map to map. This cash will be deposited every round.

Bases also build ground units and hovercraft.
Airports can build helicopters, and planes.
Ports can build hovercraft and ships.

Repair patches aren’t capturable. Repairing a unit on a patch totally repairs that unit!

Most units can either
1. Repair increase 1 or 2 HP
2. Move and stay
3. Move and attack

Important Exceptions & Notes
  • Infantry & Hovercraft can capture if they are on a building. Infantry are a LOT weaker during capture.
  • The Light Artillery, Heavy Artillery, and DFA units can not attack after moving.
  • Planes can move, attack, and move again.
  • Air units can’t be repaired.
  • The Battleship can move and then attack twice.

Most units can only attack adjacent units, that is units they are right next to. Indirect units can fire on units in their range.

Indirect UnitsRange
Assault Artillery1-2
Light Artillery2-3
Heavy Artillery3-4
DFA2-5
Battleship1-5

Terrain

  • Different units move differently over the different types of terrain.
  • Some units can’t cross certain terrains.
  • Some units get bonuses or penalties in combat if they are on a certain terrain.

WeeWar API HQ

Posted by BM5k on February 24, 2008 at 10:36 PM

If you haven’t already, see parts 1, 2 and 3

This script checks your HQ and prints out a list of games. You can see the returned xml data here.

Example Output

Active Games
One if by land
Someone else’s turn for the last 2 hours

It’s been brought
Someone else’s turn for the last 8 hours 12 Minutes

WAR 2
Someone else’s turn for the last 10 Minutes

Go Baby Go
Someone else’s turn for the last 1 hours 35 Minutes

Lobby
Moo, This Means War

more

Comments: 0 (view/add your own) Tags: API, Ruby, WeeWar

WeeWar API Games

Posted by BM5k on February 24, 2008 at 09:41 PM

If you haven’t already, see parts 1 and 2

This script will request information about a game, and output it nicely. You can see the returned xml data here.

Example Output

Game Info
map => lakes1187102532212
type => Pro
pace => 1 day
cbp => 150
round => 14
credits => 100
name => One if by land
started => Mon Feb 25 02:54:46 UTC 2008

Players
BM5k, bowerman4875, sbowerman’s turn

more

Comments: 0 (view/add your own) Tags: API, Ruby, WeeWar

WeeWar API Players

Posted by BM5k on February 24, 2008 at 07:48 PM

If you haven’t already, see Part 1

I’ve thrown together a script that requests my player info, and outputs it to the screen. You can see the returned xml data here.

Example Output

About Me
name => BM5k
online => true
id => 10908

My Stats
wins => 9
losses => 4
draws => 1
credits => 103350
points => 1523

Friends
sbowerman, bowerman4875, spacecadetjuno

Games
56945, 56698, 56939, 56992, 57266, 57641, 57639

more

Comments: 0 (view/add your own) Tags: API, Ruby, WeeWar

Ruby API Development with WeeWar

Posted by BM5k on February 24, 2008 at 07:32 PM

As a ruby newb, I thought that I’d document my first trek into API development.

Lately, I’ve been quite taken to wasting hours in front of WeeWar, to the extend that it’s interfering with my normal goofing off. Among other things, WeeWar has a relatively simple API. An introduction can be found here.

There are only a few API accessible objects, Players, Games, All Players, and the HQ. Click on the preceding links for sample of the data returned by each.

These URLs are pretty straight forward. The key thing to realize is that while games are selected by numerical id, players are selected by name. (Names are NOT case sensitive, i.e. Bert is the same as BeRT.) Also, accessing your HQ requires both a user name and an API token. You can find your API token on your account page.

WeeWar

Posted by BM5k on February 18, 2008 at 11:55 PM

Are you playing WeeWar yet?

weewar.com

WeeWar is a great, browser based, turn-based strategy game in the vein of AdvanceWars. If you’ve played AW you will be right at home playing WeeWar.