Recommend
3 
 Thumb up
 Hide
7 Posts

Star Trek: Attack Wing» Forums » General

Subject: Ladies and Gentlemen, I give you Single player. rss

Your Tags: Add tags
Popular Tags: [View All]
Troy Stillman
United States
Connecticut
flag msg tools
So a few weeks back when I was at CES, I stopped by company pitching a kid friendly learning robot. The mission of the company was to expose kids to the concepts and logic that go into coding. They have developed a cost effective robot that utilizes their block style coding software as well as a line reading sensor.

So you have a few avenues to explore here. Originally I saw this and thought how cool would it be to have model planets glued on top of these robots, driving and following lines on the play field. You would have a moving solar system to battle on. Cool right, well at $89 it would get pretty pricey to have a moving solar system, perhaps just a comet that loops the area.

I spend some time playing with the coding software because you don't need to buy one to get access. The more I pick through it the better this is looking, the more I'm thinking I can do. Suddenly, a new avenue dawns on me. Remote controlled ship. Glue a ship base to the top of robot and put a ship on it. I explore the coding blocks, and sure enough I develop the concept. The average ship gets 14 moves. You can save 12 programs to your profile on the site and get to transmit and run any of the 12 via Bluetooth and run them all with the push of a button. So code the turns in and you might have run the forward command a few times to move a straight 5, right. Wrong. Code all the turns, keep a straight 2 and 3 to use on the regular. But right the program for a straight 1, 4, 5, come about and favorite the browser page. Just never log off the site and all you have to change out a program is open the favorite page on your phone, select a block to save it in, and then change app windows the run that move.

I have the commands generally mapped out I just need to measure the tiles, do a little testing to ensure the distances are right and I have my very own remote controlled ship. NO more measuring. I set my maneuver dial and when it's time to move my ship, pull up the app and push a button.

Gimmicky? Perhaps. I enjoy it though. BUT.... poke around on the web for lessons and new ideas. Come across how to generate a random integer. Set the integer to a variable, write the code for 14 different possibilities. In short, tell the robot to generate a random number between 1 to 14. If the result equals 1, them over forward x. if 2 turn right by z. Suddenly this is looking like a thinking opponent. The robot would go all over the place you say. True and false. You have to be smart about setting up the probability. Write a few random maneuver programs. Generate a random number between 1 to 25. If variable equals 1,2,3 move forward by x and then reduce the probability of hard turns by making them only 1 possible result. Now you have a ship that more likely to move in a direction. Have 3 programs, One more likely to generate straight moves, more for right maneuvers and the other for left. As a person you stand there an try and predict what someone will do but you never know. And that's just simple probability moves. You can restrict the probabilities how ever you please.

Okay, so a robot the randomly picks move, so you set it to kinda move the right direction. Its still not intelligent. Okay yes, it not perfect AI. But the robots come with sensors. Given time you could program them to detect if something is near, and to act accordingly. IE chase, evade, its up to you. Once more over, you add another random number generator. This one tells the robot to set its lights to a certain color. You then take the possible color results and map them to different ship actions. Red = battle station, green = evade, and so on.

I'm sure there are still some of you out there that remain unimpressed and say "meh" but I know there are others out there reading this thinking how kool it would be to run a few mission against a self driving ship.

Let me know what you think folks. I plan on making the code public once I'm done testing and debugging.

They are called Ozobot. Have a google for your selves.
3 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Troy Stillman
United States
Connecticut
flag msg tools
Most of the core moves, measured and tested.
Soft 1 Left
https://ozoblockly.com/editor#mzosho

Soft 2 Left
https://ozoblockly.com/editor#fogo2a

Soft 3 Left
https://ozoblockly.com/editor#qyaith

Soft 1 Right
https://ozoblockly.com/editor#x6zbee

SOft 2 Right
https://ozoblockly.com/editor#rk6t9w

Soft 3 Right
https://ozoblockly.com/editor#zfx9ui

Foward 1
https://ozoblockly.com/editor#pyeq4k

Foward 2
https://ozoblockly.com/editor#psa4wc

Hard 1 Left
https://ozoblockly.com/editor#yrkyjn

Hard 2 Left
https://ozoblockly.com/editor#jah6xh

Hard 3 Left
https://ozoblockly.com/editor#9jf3er

Hard 1 Right
https://ozoblockly.com/editor#ifa6av

Hard 2 Right
https://ozoblockly.com/editor#9jf3er

Hard 3 Right

 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Troy Stillman
United States
Connecticut
flag msg tools
Forward 1 + Forward 1 = Forward 3
Forward 1 + Forward 2 = Forward 4
Forward 2 + Forward 2 = Forward 5

You can save 12 moves at a time. I keep the All the soft turns, hard 2/3 and forward 1 and 2. I'm going to work on Hard 4 and all of the forward maneuvers as well as come about.

The idea is you can save all the links and switch out moves on the fly with a few taps.

Later own I will work on a proper holder for my base piece.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Omega Om
msg tools
Very cool. And nice price.
If only you could put more commands in there.
How long does battery last?

Would be expensive to have all game board pieces with a robot, but really good idea.

Over time and in the future people would be able to program artificial intelligence in these, where they can sense all the pieces on the board there positions, there past trajectories, then they can make a logical move.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Henry Grossen

Pueblo
Colorado
msg tools
mbmbmbmb
Dang, man! Cool!

Even better than AI, just let me strap these to the bottom of the 3 ships I'm running and control them from my phone so I don't have to mess with maneuver templates!!! cool
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Troy Stillman
United States
Connecticut
flag msg tools
Henry, you can control multiple robots at once. I only have one, but I believe you can give them individual orders as well has have them synchronized. Picture flying 3 ships in tight formation across the battlefield.

Omega, I will have to test out the batter. The company claims 60 minutes of continues run time. Given a match tends to have loads of down time, this should clear your average match.

I work for an EDI provider, so I'm surrounded by programmers. I'm partnering with one of them to structure an AI program.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Boardgame Geek
msg tools
mbmbmbmbmb

Neat.

Throw a captain with 0 skill on there and if it makes a grave movement mistake it'll make perfect sense.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Front Page | Welcome | Contact | Privacy Policy | Terms of Service | Advertise | Support BGG | Feeds RSS
Geekdo, BoardGameGeek, the Geekdo logo, and the BoardGameGeek logo are trademarks of BoardGameGeek, LLC.