Jump to content
Sign in to follow this  
matevos

Tetris Bot

Recommended Posts

matevos

Hello I need help in making bot for tetris game. How I can made this in AutoIt.

Share this post


Link to post
Share on other sites
Melba23

metvos,

Welcome to the AutoIt forum. :mellow:

When you post here it always helps if you have had a go at solving your problems beforehand. Having some code to work on is a great help - and no-one here is too keen to help the "code it for me" brigade.

Reading the Help file (at least the first few sections - Using AutoIt, Tutorials and the first couple of References) will help you enormously. You should also look at the excellent tutorials that you will find here and here - you will find other tutorials in the Wiki (the link is at the top of the page). There are even video tutorials on YouTube if you prefer watching to reading.

I know you want to start coding NOW, but a little study will save you a lot of trouble later on, believe me. :party:

Good luck. :P

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Melba23

matevos,

I programming in AutoIt year and I know quite a lot

I apologise for thinking you were a complete beginner - we do get an awful lot of them asking about bots! :mellow:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
matevos

So you think I'm a beginner as it ever did such a bot that would not work with Flash game I mean just how to retrieve the position of BOT blocks their appearance and where to insert them. Would you be able to help or if you would know how to do it.

Share this post


Link to post
Share on other sites
JohnOne

It could be done in a number of ways including pixel functions and/or memory functions.

If you have been using Autoit3 for over a year I would expect you to have some code you have tried.

I doubt anyone is going to write code for you, let alone a bot.


AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Share this post


Link to post
Share on other sites
matevos

I mean an example that I don't know how to even start to write a bot. That can have any tips or any advice?

Edited by matevos

Share this post


Link to post
Share on other sites
bogQ

I know about bots about as much as a penguin knows of astro physics.

Do not let him Posted Image heare you :blink:

@matevos

you have read-only part on forum (all way down on to the Archives) that can probably help, there is search option on uper right part of forum that can help even more.

I will recomend you before you try searching anything related with your question to read sticky annoucment about game bots that can b located on top of every part of forum, have fun and if posible try not to cheat noone other that yourself.

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 

Share this post


Link to post
Share on other sites
matevos

Could you give some examples of topics related to bots?

EDIT:

Ok, How to make AI this bot?

Edited by matevos

Share this post


Link to post
Share on other sites
matevos

http://img155.imageshack.us/img155/7867/beztytuulhw.jpg <<< Image from the Tetris game when I playing :blink:

JamesBrooks, if you could do for me some examples of AI to tetris? For help THANKS.

EDIT:

Hmm... Maybe it is too difficult? Maybe try to make a bot for this game?

http://img697.imageshack.us/img697/8241/anthilldefender.jpg

http://img806.imageshack.us/img806/2341/beztytuupx.jpg

Edited by matevos

Share this post


Link to post
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
Sign in to follow this  

×