473,848 Members | 1,797 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tetris

I've been searching google and this group for a while now for a good
tutorial on making a Tetris-style game in Python. I hear Tetris is a
good starting point, and although I am fairly new to programming I
think I would learn best if I had some code to experiment with because
without a tutorial I have no idea where to start. If you know of a
tutorial that is specific to this game please let me know where to find
it.

Jun 18 '06 #1
2 5203

Devon G. Parks wrote:
I've been searching google and this group for a while now for a good
tutorial on making a Tetris-style game in Python. I hear Tetris is a
good starting point, and although I am fairly new to programming I
think I would learn best if I had some code to experiment with because
without a tutorial I have no idea where to start. If you know of a
tutorial that is specific to this game please let me know where to find
it.


There's a 600-liners here: http://www.pygame.org/projects/21/133/

Not a tutorial, but maybe just as good?

Jun 18 '06 #2
pygame.org is what you need
it has tutorials
it's cool

Jun 19 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
2863
new
by: Willie Clement | last post by:
i really want to get into programming. I am only 15 but what a time to start eh? i would really like to know how a lot of you started proggrmaing and what some things i would need to learn. I know about reading books but what is something that you actually use to program in something such as c? we'll thanx a lot,!
8
4685
by: fabgrass | last post by:
I just posted online a new tetris clone in javascript. you can play it at http://www.idep-multimedia.com/tetris/tetris.php it s fully and actually playable, and high scores are saved in a hall of fame :). if you try it could you brief me about : -loading time; because sounds are preloaded, and it's a bit long on my computer. I would know if it's specific to my machine.
1
1969
by: Fabien Grasset | last post by:
a JS Tetris online with hall of fame http://www.idep-multimedia.com/tetris/tetris.php Enjoy! fabgrass
5
3075
by: Lt | last post by:
Hello, I'm gonna write my first 3D multiplayer game using DirectPlay, VC++ ..NET 2002. I've done tutorials supplied along with DXSDK Then I wanted to use the DirectX AppWizard but it produced over 2300 lines of code! It's cool to have prepared automatically all initializations but it's a little too much. That's because I can't find any documentation on details HOW IT WORKS, how I can integrate my own game code with this framework. In...
1
2325
by: Steve | last post by:
Can anyone explain why C++ .NET compiler throws error for the following code segment: // Forward declaration of ListViewItemComparer class public __gc class ListViewItemComparer ; public __gc class CProgramLoaderForm : public System::Windows::Forms::Form { ListViewItemComparer* m_ListViewItemComparer ;
1
1316
by: Tetris | last post by:
I am preparing the MCAD Certification. I use the Visual Studio 2005. But I can't create Web application. There is only ASP.NET Web service project. Is it possible to develope ASP.NET web application project in Visual Studio 2005? If possible how? In the .aspx file how can I change the document property " Page layout" into " Flow layour" In the VS 2005 I cannot make .cs file clicking " View code" of the .aspx file.
0
1365
by: daveW | last post by:
Hi, I've been messing around with a personal website for a while now, and having totally bust my leg skiing have been google-wacking to work out how to use these funky stylesheet things. After the inevitable frustration to start with, I have something that seems to work ok and I have to say on the whole I like it. I've got a couple of oddities though, which if I can get them fixed would make it all look that little bit less 'hacky'...
2
1675
by: dondora | last post by:
hi I wanna know how many lines it uses to make that. I appreciate it~~
0
9893
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11001
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10664
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10722
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10348
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9500
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7894
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7069
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
4137
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.