Jump to content

Tetris


 Share

Recommended Posts

  • Moderators

@KaMiGoku We love to see people writing their own games in AutoIt. Please share what you have tried thus far, and we can help from that point.

Edit: Also, please always search the forum, you may find what you're looking for without having to post. Below, for example, is a tetris game made some years back. It may give you some ideas.

 

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

Overall I was thinking about dividing screen on area.Oh yes

https://imgur.com/a/mbNcpW2

And do it this way.

#include <MsgBoxConstants.au3>
;Simple Collision System
$red = 0xED1C24 ;Colour red

$block1 ;block1 area
$block2 ;block2 area
$block3 ;block3 area

if $block1 + $block2 + block3 = 0xED1C24 Then

   MsgBox($MB_SYSTEMMODAL, "Tetris", "You Win!")
Else

   EndIf

 
 
 
 
 
 
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...