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

  • SEARCH
  • Home
  • 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 7940555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:25:30+00:00 2026-06-03T23:25:30+00:00

I am going to develop a Tetris in practice. But I have no idea

  • 0

I am going to develop a Tetris in practice. But I have no idea how to start it, especially the graphic part – how to draw the frame and blocks? how to move them on screen?
Could you please you refer me to some useful libs or tools?

Programming language is c. (if this is done, I am planing to do it again with c++ and python. 🙂 Both Windows or Unix-like is ok. It’s better if it is portable.

I know openGL, and DirectX is heavy-weight lib. dose it efficiently fit to a small game like Tetris? Any light-weight? which is better?

I would appreciate if you could refer me to some materials or links for this.

Thanks.

  • 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-06-03T23:25:32+00:00Added an answer on June 3, 2026 at 11:25 pm

    If you’d like to keep your game in a window and not full-screen, then any library that implements some type of paintable canvas widget will work. Cross-platform candidates include Qt, WxWidgets, FLTK, GTK+, etc. If you want to remain on a single platform like Windows, then you can use a lower-level Win32 API like GDI+. As I mentioned in my first sentence, with most of these libraries/API’s, you’d be looking to use their paintable canvas widgets, allowing you to draw the characters shapes on the window. You’d also use some type of timer event to periodically update the drawn window at fixed time intervals.

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

Sidebar

Related Questions

I am going to develop a Rails app pretty soon. Currently I have nothing
I am going to develop a ball game where i have to touch two/more
I'm now going to develop a program that will generate Shell Batch Files(*.sh), but
I am going to develop a search page where I will have multiple fields
I'm going to develop a theme for a WordPress blog but I'm not sure
I am going to develop a web site will have 80,000 to 100,000 views
I am going to develop a content rich application that ideally should have been
I'm going to develop a game where there are multiple clients and they have
I'm going to develop a website in PHP. But not sure if the method
I'm going to develop a website in codeigniter. But not sure if the methor

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.