Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 569917
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:20:46+00:00 2026-05-13T13:20:46+00:00

Right now I’m working on a Tetris Game (sorta, I found a Tetris example

  • 0

Right now I’m working on a Tetris Game (sorta, I found a Tetris example for Python on a website, I’ve been copying it but adding some of my own stuff), and just finished writing all the code but have had a couple syntax errors. I’ve been able to fix all of them but this last syntax error is confusing to me.

    def pieceDropped(self):
        for i in range(4):
            x = self.curX + self.curPiece.x(i)
            y = self.curY - self.curPiece.y(i)
            self.setShapeAt(x, y, self.curPiece.shape()

        self.removeFullLines()

The specific syntax error is on the last line of the function and I don’t understand why, the indentation and whitespace all seems correct. So could someone explain how this is a syntax error?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T13:20:47+00:00Added an answer on May 13, 2026 at 1:20 pm

    You didn’t close the parenthesis of self.setShapeAt.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Right now I am working on c# windows applications developement. But my concern is
Right now I have this SQL query which is valid but always times out:
Right now I've hard coded the whole xml file in my python script and
Right now I am working on a stub of a project. In the course
Right now I am working on a multiselect list in MVC 3. I was
Right now I can set a specific length, or a range, but not two
Right now I am attempting to code the knapsack problem in Python 3.2. I
Right now I'm making an extremely simple website- about 5 pages. Question is if
Right now, I'm making Dungeon Master like game. The game have to be more
Right now I am writing some Python code to deal with massive twitter files.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.