All posts by Doctor Mike Reddy

Javin: An update and possibly a name change

This project has been on the back burner for several months, but is picking up now that three MComp post-grads have been brought in to help 🙂 but the previous experience of these masters students suggests C++ is the most likely future platform. So, my own progress with Java (looking at an extension to VASSAL v3) is probably moot, but the C++ based 4th version of VASSAL (when it eventually arrives) might be better suited to this new approach. However, this might require a name change for the project; the J in Javin stood for Java after all.

Opinion on the UK X-Wing FaceBook Group about resurrecting this idea has been varied: One commenter, Allan, asked why we’d want to computerise a social, physical game when plenty of Star Wars video games existed already. That wasn’t an unreasonable question, but adding meaningful “single player” to any board/card/miniature game is a time honoured activity. Other responses showed support for the idea of being able to play/practice solo. Also, most Star Wars video games have been FPSs or Ship Sims, 3rd person combat MMOs and RPGs, or RTS games, and nothing like the X-Wing we know and love. That, in itself, is interesting, and leads me to think that a video game version of X-Wing turn-based dogfight style play is an underdeveloped concept; A.I. would make a big difference to the success of such a title, and creating a testbed for researching X-Wing bots would be a useful deliverable.

So, the aim of the project is now a C++ simulation (based upon the VASSAL implementation of X-Wing) that allows you to “play” X-Wing against a variety of bot opponents. Like VASSAL, it couldn’t have any copyright material, and wouldn’t be able to automate everything, such as special pilot abilities, etc, but might provide a simple opponent that goes a little beyond the web applet or the look up table for a basic A.I. that is available on BGG. However, augmenting the physical game, such as using VASSAL to reproduce “blow-by-blow” graphics to represent real games – here is one excellent example posted on FFG – should be considered. So, the ultimate aim of the simulator is threefold:
1) provide enough of a simulation of X-Wing to be at the level of VASSAL, but with rudimentary A.I. that goes beyond that provided by the current web applet. It would also be a testbed for further A.I. research.
2) Use AR to map a real tabletop game into the computer, by way of special tags on the base of each ship. This would initially just allow two human players to have their physical game tracked by the computer.
3) The two above combined for rudimentary single play, or the possibility of a computer aided/augmented game. This would use a projector underneath a translucent play surface to provide a projected HUD-style overlay for effects – e.g. damage, range, etc – similar to what is possible with VASSAL.

The obstacles are mostly the complexity of choice: Do I take a Focus or an Evade, or Barrel Roll? Knowing the opponent has a “Fat Han”, how would a bot guess where that YT1300 is going in order to block him with a TIE? This is why Jay Little was sceptical, when I talked to him about it a couple of years ago, and it has been slow progress working alone, or recruiting suitable students. However, I’d like the UK Nationals, one day, to have the top table be this interactive X-Wing thing, if only to have the game live-captured by the computer. Entering an artificial player in the tournament IS a pipe dream – Jay is right on that, for now at least! – because of its complexity. However, having the chance to play an Automated TIE Drone Swarm is a bit like Kasparov vs Deep Blue; likely for the droids to lose, but interesting to see how well they do. This is even canon; droids were fought against pre-New Hope and in the EU (The N64’s TIE/d anyone?), even though in Star Wars they weren’t as good as human pilots according to Wookipedia. The current students will start by investigating the first stage of simulating the same basic game play that VASSAL provides. Other features, such as the AR functionality will come later.

GLOSSARY
AR – Augmented Reality, which in this case uses a web cam to identify tags in order to ‘digitise’ the location of ships. Other applications involve overlaying data onto the real world; an example would be Google Glass(tm).
FFG – Fantasy Flight Games, producer of the Star Wars X-Wing Miniatures Game.
FPS – First Person Shooter, like Star Wars:Dark Forces.
MMO – Massively Multiplayer Online, such as Star Wars: The Old Republic.
RPGS – Role Playing Game, like Star Wars: Knights of the Old Republic.
RTS – Real-Time Strategy, such as Star Wars: Galactic Battlegrounds.

Javin: Reviving my desire for an A.I. Player for X-Wing

Originally posted on Team Covenant

I’ve been interested for a while now in Javin a projector-based visualisation tool for X-Wing, which would have several components ultimately:

1) A projector table to show off visualisation software, such as Vassal or a bespoke coded program.

2) Interactive table features to allow AR tags on ship bases to be recognised on the table as a hybrid computer/physical game interface.

3) Artificial intelligence opponents that could play either a virtual opponent or a physical opponent.

Sadly, the two students I put on this over 2013 were rather poor in delivering results, so the project was sort of shelved for a while. Anyway, I am now looking at Vassal as the main visualisation software, rather than creating our own testbed, because it has become ubiquitous in online play; the exceptional work in appearance and functionality of Vassal is well above anything that I could do in the short term. So, I am now looking at ways to modify/extend Vassal and/or the X-Wing module to allow asteroid and ship positions (x,y,ø) to be transmitted to an outside process for A.I. planning of ship movements. These would then need to be passed back to the settings for the AI. movement dials, ideally, but we need to be realistic. Many rulings and interpretations of pilot abilities and general implementation of movement would still require a human to apply.

Anyway, when (if!) I make any progress on Javin I will, of course, post it here.

 

UPDATE

I’ve been playing with Vassal basic editing, and come up with a ‘canon’ extra fighter, the TIE/d (Note, not the TIE/D which is the Defender. In this case the ‘d’ stands for ‘drone’). If you would like to run these, the important thing to do as ‘human’ players is to simulate a basic A.I. and have craft engaging in swarm (as in bot) behaviour; keeping apart, but pursuing the nearest enemy, regardless of ‘who’ is tactically best to attack. NOTE: This player should be immune to ‘Biggs’ despite the fact that this is not specifically mentioned on the card I created, as it only just occurred to me; this depends upon ‘how’ the Biggs Effect works of course. Also, on considering the weak A.I. of the lookup table (Part 1, Part 2, and Part 3) / Web Applet as a suitable model for the first version of an inbuilt A.I. that system ignores assigning Stress Tokens, because it would occasionally produce illegal moves otherwise; when a Red move came up and the ship was already stressed. There are two solutions to this:

  1. Allow the move, but stack up the stress counters, which would represent increasing confusion on the part of the bot brain and prevent actions until all had been cleared off.
  2. Update/extend the lookup table to account for occasional restrictions on movements, which would complicate the basic A.I. table quite a bit.


Pilot Card

Ship Token (with stats)

I’ll include a download link here once I’ve finished the Vassal extension and tested it.

#fivesentencefiction – Moments “Oh well”

Lillie McFerrin Writes

Lillie McFerrin hosts a Five Sentence Fiction competition on her blog. This week’s theme is Moments.

20140102-112554.jpg

Here is my entry, which is inspired by the picture this week:

Source

“Oh well”
by Dr. Mike Reddy (@doctormikereddy)

“No, look,” Bill said smugly. “It’s a reflex action from birth, but it don’t last long, so ya have to help me now!”

“You’re serious, aren’t ya?” his best mate asked. “You want me to video you suspending your sister’s baby over the old wishing well… for a YouTube video…?”

“Totally, Ted! It will be VIRAL!” he said, pointing repeatedly at the camera.

Ted grudgingly started recording, his one visible eye seeking reassurance that it was going to be ok.

“Holly shit,” he said “The little bugger is totally hanging from your fin… Oh!”

#TicckleTuesday #12 theme: Mercury retrograde in Scorpio #flashfic

What happened to last week? Well, there WAS a #11, but it was a FaceBook exclusive 😛

Theme this week is “Mercury retrograde in Scorpio”, suggested by Jess West (@West1Jess), inspired by this.

Go here to post the video or post the text as a comment here or on the Ticckle Tuesday FaceBook group.

Note
Things have been a bit hectic at work, so I haven’t had a chance to record many submissions for #TicckleTuesday. However, responses to a flash fiction podcast have been positive. Watch this space!

Mike

#TicckleTuesday #10 – Superstition #flashfiction

What happened to last week? I’m not sure I know! However, a car crash and a hurried trip to Zagreb, Croatia by the wife left me juggling three children with one hand (speaking metaphorically). so, apologies…

Theme this week is “Superstition”, suggested by Jess West (@West1Jess), possibly inspired by my own run of bad luck…

And the image prompt…

… is in your worst imagination…

Go here to post the video or post the text as a comment here or on the FaceBook group.

Note
Things have been a bit hectic at work, so I haven’t had a chance to record many submissions for #TicckleTuesday. However, I’m taking over editing of a board games podcast soon, and wondered whether that format might be a good one for audio versions of flash fiction. Please comment below and tell me what you think.

Mike

#TicckleTuesday “Mechanical Quirk” #flashfiction

“You’ve heard of the Mechanical Turk, right?”

“The thing that played chess and answered all your questions?”

“Right. I’m the Mechanical Quirk. I solve your problems. I ‘fix’ the ‘Dispossessed’.”

“The dis…”

” Ok… God… Screw up… Universal glitch…. Everything built ’11 inches to the North’… Some can ‘feel’ it… Makes ’em ‘different’. I fix.”

“Different? How?”

“Sadder. Madder. Badder. Usually sadder. Creative though. Driven cos NOTHING fits.”

“What if I don’t want to be fixed?”

#FiveSentenceFiction – Flowers “On the saying of something or other…” #flashfiction

Lillie McFerrin Writes

Lillie McFerrin hosts a Five Sentence Fiction competition on her blog. This week’s theme is Flowers.

Here is my entry, which is inspired by the picture this week:

20130913-113127.jpg
Source

“On the saying of something or other with something that is pretty much already dead but still smells nice for a while at least”
by Dr. Mike Reddy (@doctormikereddy)

“I don’t get it,” he said, rocking back and forth and chewing on his knuckle, “Why is it nice to kill something, then give it to someone?”

He rarely did ‘get it’ but this was knuckle-chewingly bad, so I put down my work things and turned to pay him my full attention.

“Someone spends a lot of time and effort, Oh and water and sun, although the Sun is free I guess, and the plants grow, and then they are killed, yes?” he asked in one hasty breath.

“Well, people like the colours and the smell and the fact that someone took the trouble to bring them a gift,” I explained.

“So, people like the fact that these bright smelly things were killed just for them!” he said sadly, but at least the rocking had stopped for now.

#FlashFridayFic “An Interview with the Wizard of Stratford” #fridayflash #flashfiction

The latest Friday Fiction #41 asked for a 350 word story, based upon the following image:

20130913-144416.jpg
Image Source

Here is my story, but do check out the original location to read other entries:

“An Interview with the Wizard of Stratford”
by Dr. Mike Reddy (@doctormikereddy)
[350 words]

“I know why you are here…” is the first thing Frank says, pulling back the curtain that reveals his work space, but he declines to be photographed for the article. He is a wizened old man, dressed entirely in green; his favourite colour, he confides.

Baum’s farm is dead centre in dust bowl territory, getting hit by tornadoes and dust storms four or five times a year. For other farmers, trying to harvest wheat or raise cattle, these events are devastating. For Frank, the self-styled “Wizard of Stratford”, and his family they are a Godsend.

“So long as the farmhouse survives,” he jokes, “and it don’t end up in Oklahoma! I don’t, by God, want to live in Oklahoma!”

Frank hails from Kansas, another area renowned for tornadoes. His small holding is the sole supplier of industrial grit in the whole of Texas. Others have tried to imitate his success, but don’t have the almost magical Baum gift of harvesting and selling the frequent weather deposits. To be honest, few (if any) really understands who buys his grit, or how he makes money. Frank keeps his customers in the strictest confidence, for obvious reasons. And several attempts at industrial espionage have all failed. Probably due to the Baum Farm being exclusively tended by people of reduced stature: dwarfs, pigmies, midgets and munchkins are all terms used by the ‘normal’ Stratford population..

“These ‘little’ people are fiercely loyal, and ideally suited to harvesting the dust that settles here.” Jim explains, “They drop in all the time to help us send raw material to the Gale Processing Plant in Kansas, were it is environmentally treated before being shipped to its final destination.” Gale’s ecological motto is “Better Beyond the Rainbow”

This link to his Kansas roots in dust farming stretches back to his Great Aunt Dorothy. “A remarkably well travelled adventurer”, Baum fondly describes her. Business must be extremely profitable, judging by the number of exquisite jewelled artefacts on display in the family home.

“Dorothy was always fonder of rubies,” Jim remarks, “but I don’t, by God. Emeralds are my obsession.”