Jump to content

Robot AI Fighting World made in autoit


Recommended Posts

Hello Friends.

This is Nikita. Bugging you lot again.

I just have had a funny idea. This is just an idea and not a complete project. What I want to be done is that a robot fighting area simulation.

You've seen RobotWars (since AppleII) and CoreWars and similar projects. Now, what about making one in AutoIt? I wanted to do it myself but couldn't figuire out how I could do that. So, anyone interested around who wants to make this?

I've actually thought a basic structure but completely clueless how to even start. Here's the deal.

An autoIt script (the main script) will hold the field and base. It'll have simple editboxes where you can put in AI code and simply hit the start button. The world will be randomly generated and a few obstrucles like rocks/walls will be scattered + upto four players will start from four corners. Players are simple tanks. They can turn around and move and also the canon can turn around and shoot. Tanks can anly move forward and turn 360 degree. But gun can only move 180 degree (to make coding more interesting).

On the other hand other AutoIt scripts (AI) will have some specific APIS like

botTurn(Degree)
botForward()
botStop()
botTurnCannon(Degree)
botFire()
botGetAmmoStat()
botReload()
botResign()
botGetLOSabjects() ; Returns objects in line of site in an array. Any object outside the line of side will not be interacted with.

The scripts will communicate with mother script using one of the interprocess communication. If we use mailhost, we can even make online/overLAN robots.

The whole process will be visualized with the mother script in a windows. Maybe use Graphic object or GDI to draw the tanks. Tanks do not need to be beautiful at all.

Now, people. Would you like to start the project?

Love you all

Nikita

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...