Gamedisplay Pygame

It pokes fun at the tropes of RPGs and video games in general. Minecraft Dodger Initial. There are 2 good ways of doing key-based input. QUIT: pygame. They are all very much the same. I am Andrew Alan a hacker who has built a very good reputation and undeniably one of the best hackers you can come across. pygame C API The C api shared amongst pygame extension modules. It contains a list of unsorted numbers that is sorted. get_pressed() if x+w > mouse[0]>x and y+h>mouse[1]>y:. Web Development import pygameimport osimport sysimport timefrom pygame. Mein Problem ist das definieren einer Action bzw Funktion die beim Klicken auf den jeweiligen Button ausgeführt…. After some fiddeling around with pygame. You can vote up the examples you like or vote down the ones you don't like. png is an image that I have personally created. Voici les problèmes que je rencontre La taupe ne disparaît pas Le jeu ne répond pas dès son lancement Et j'ai une erreur: libpng warning: Interlace handling should be turned on when using png_read_image le. – chromedrip Oct 12 '18 at 18:56. fill(white) car(x,y) pygame. I've been learning to code in my spare time for a couple of years. init() display_width = 800 display_height = 600 gameDisplay = pygame. This allows you to create fully featured games and multimedia programs in the python language. tick(20) and also if i run the program first the balloon loop gets executed first in that time i cannot able to control the arrow. quit quit gameDisplay. However, I am having a slight. I am getting "1" (by itself) as an error, what does this mean? There are a lot of people who love both JS and UX/CSS. Clone via HTTPS Clone with Git or checkout with SVN using the repository’s web address. CEIS 100 student needs help with my pong python 3 pygame please help! Ok I have added my code. python game engine 2d, python game library, python game development, pygame game, python game creator, python game programming tutorial for beginners, pygame tutorial, python based games, Game development in python, build your own game in python with pygame, build your own game in python, make your own game in python, invent your own game in. import numpy as np import sys import random import pygame from pathfinding. it gives me this error: Also im using pycharm /usr/bin/pyt. I've been learning to code in my spare time for a couple of years. tick (60) pygame. set_caption ('A bit Racey') ##The title of the window. Well at least now I guess I do. Pong but on python 1v1 Can't run on replit because no video device I made this for a school project and it is my first time using pygame Thanks for playing!. import pygame import time import random import math pygame. Wie füge ich Feinde in pygame? Ich mache ein einfaches Spiel mit Pygame, und das Ziel ist es, die eingehenden Feinde auszuweichen. CSCI 171: Lab exercise 2 Student name: In this lab you will work through a set of problems that form the basis for the second lab exercise, worth 5% of your total course mark , and to be submitted by the start of your lecture session on Thursday March 11th. Feb 25, 2016 · pygame. Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. Snake in Python. Here''s my code, check it out, ID #42064131. I'm here to ask what is the problem with my code? I'm making a game engine, and I thought the easiest way to sort player types would be putting them into a different script and using them there. import pygame import time pygame. And here is the code:. pygame游戏之旅 添加游戏介绍 2018-12-10 源码库 观月执白 大字 本文为大家分享了pygame游戏之旅的第9篇,供大家参考,具体内容如下. I can code with whatever I want. 16luongl1 wrote: When do we start a project? Or is there one already that I don't know about…?Arthur and I were making a racing game in Python w/ Pygame, and we sorta finished. python ### 刚学了python不久,发现了一个好玩的库pygame使用pygame模块 利用面向对象的思想编写贪吃蛇,主要用到pygame. OK, I Understand. If we stop labeling people just as “JS developers” or “UX developers”, we can achieve a ceasefire in the current “JS vs. update我得到错误:,没有别的只是错误:然后python退出。 import pygame pygame. First, pygame must be installed. I wanted my class to be able to create objects by itself, and I saw this was possible with the 'new', but apparently it's not working since I get this error :. Basically it will draw another rectangle on first rectangle,care same coords, but same color with background. 这篇文章主要为大家详细介绍了pygame游戏之旅,教大家如何添加键盘按键,具有一定的参考价值,感兴趣的小伙伴们可以参考一下 本文为大家分享了pygame游戏之旅的第4篇,供大家参考,具体内容如下. Tic Tac Toe Using Pygame. Pygame is highly portable and runs on nearly every platform and operating system. it gives me this error: Also im using pycharm /usr/bin/pyt. In CMD: pip install pygame. Clone via HTTPS Clone with Git or checkout with SVN using the repository's web address. – chromedrip Oct 12 '18 at 18:56. gameDisplay = pygame. 我是pygame的新手,并且正在制作游戏。我有一个角色,我正在努力让双腿移动。有2张图片,如何让他们切换? 人物是蓝色精灵。. import pygame import time import random import math pygame. まっすぐな道の代わりに、湾曲した道を動く。 おそらく、以下のイメージは、私が達成しようとしていることを理解するのに役立ちます。 直方体を左に移動するコードを次に示します。 import pygame import time pygame. I'm thinking of Tkinter. Я хочу рассчитать время событий мыши пользователя в Pygame, если пользователь не двигает мышью около 15 секунд, тогда я хочу отобразить текст на экране. El autómata celular más famoso es el Juego de la Vida (conocido como “Life”), diseñado en 1970 por el matemático John Conway. init() display_height=600 display_width=600 gameDisplay = pygame. 나는 이것을하기 위해 몇 가지 방법을 시도했지만 정확히 무엇이 될 것인지를 알지 못했다. Tutorials ¶. play(-1) The above code will play the music file indefinitely (though you can call it to stop). Once you create the display you treat it as a regular Surface. 最后,在 gamedisplay. pygame) submitted 3 years ago by jbarnz36 Hi all, I am trying to write a piece of code in pygame that will display a random number between 1 and 100 for a few seconds, then clear the display and then display another number. bg = pygame. Minecraft Dodger Initial. 下面小编就为大家分享一篇使用pygame模块编写贪吃蛇的实例讲解,具有很好的参考价值,希望对大家有所帮助。一起跟随小编. So i am on raspberry pi 2 and I am trying to make a game and i have the. It contains a list of unsorted numbers that is sorted. GameDisplay = pygame. OK, I Understand. I am getting "1" (by itself) as an error, what does this mean? There are a lot of people who love both JS and UX/CSS. quit quit () initを 使ってShapeクラスのsquare属性を初期化したいが、次のエラーが出る。. Introduction to PyGame. We use cookies for various purposes including analytics. gameDisplay. type == pygame. play(-1) The above code will play the music file indefinitely (though you can call it to stop). You can use the pygame screen as the GUI. We do this mainly visually, but it can make a massive difference and be a massive improvement to your game if you add sounds as well. It will display a png and the use can either press "e" to continue or "q" to quit. Jedoch bekomme ich ein Problem mit dem rotieren von Sprites. GitHub Gist: instantly share code, notes, and snippets. I use pygame because I though I knew how to display an iamge there. python - Pygame-Countdown Timer On Screen With Other Stuff up vote 0 down vote favorite I'm trying to create a typing game,and want the person to type the words that are displayed in under a certain amount of time, given through parameters in a function. I'm trying to make a top down shooter in Python using PyGame and I want the bullets to be drawn to the screen based on the player's orientation. blit(TextSurf, TextRect)#แสดงผลบนหน้าจอ pygame. Welcome to /r/PyGame! What is PyGame? Pygame is a set of Python modules designed for writing games. Functionally, this looks decent and most of it isn't hard to follow. These bad habits can be in any language, not just python/pygame. png image to our carImg variable. Can anyone help me on where to start. init() display_width = 800 display_height = 600 gameDisplay = pygame. py file in the same folder as the png but its still not working. All your code in one place. So basically you blit images, but you can also have pygame draw them for you. I'm trying to make a top down shooter in Python using PyGame and I want the bullets to be drawn to the screen based on the player's orientation. CSS” war and achieve a mutually benefiting peace. you could even add a description of the arguments your. Python Programming tutorials from beginner to advanced on a massive variety of topics. Rename the class to Fish as well as the constructor call to Fish(900, 300, fish_1, 1) and it should be fine. 本文为大家分享了pygame游戏之旅的第10篇,供大家参考,具体内容如下通过获取鼠标的位置然后进行高亮显示:mouse =pygame. Using a Python recipe? Installing ActivePython is the easiest way to run your project. wav') pygame. Besoin D'aide Pygame. Moving pygame. Вот имеющийся код, не могу сделать два квадрата интерактивными, что бы они светились. Thank you so much :) But I have a question for your code. set_mode(resolution=(0,0), flags=0, depth=0): return Surface. fill (white) pygame. Om du gör ovanstående kan du använda pygame. locals import *pygame. Важное на Мете Stack Exchange and Stack Overflow are moving to CC BY-SA 4. 模块列表; 函数列表. You should just have said using pygame Option 1: Have a nice looking button image with built in text. In this PyGame tutorial, we cover how to handle events like crashing into objects. After completing the 2D tutorials I decided to work on this further and am planning to use what I have learned to create a side scrolling space. However, I am having a slight. So i am on raspberry pi 2 and I am trying to make a game and i have the. Join GitHub today. Linus Media Group is not associated with these services. All video and text tutorials are free. Later on I will propably switch to a different gui library. They are all very much the same. I'm having a hard time with pygame blitting text onto the screen. I'd just like to preface this by saying that I have indeed looked up this issue, but everyone who seems to have had a similar issue has found a solution that doesn't work for me. tick (60) pygame. Minecraft Dodger Initial. +1 I did that exact tutorial a couple days ago. × Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié. pygame游戏之旅 如何制作游戏障碍 2019年06月14日 02:09 | 萬仟网 IT编程 | 我要评论 本文为大家分享了pygame游戏之旅的第6篇,供大家参考,具体内容如下. After some fiddeling around with pygame. set_caption("Ping!"). Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type. Pygame is a set of Python modules designed for writing games. You can find the methods available on surface objects in the surface documentation of pygame. We use cookies for various purposes including analytics. Pygame-Two display updates at the same time with a pygame. After many trials and errors, the optimal way to do it would be the following: 1) First, we define the center of the shape given the X0_{x,y} start and X1_{x,y} end points of the line. init() white=(255,. Hello there! This is my first time using tree house in lord knows how long. python,pygame,line,antialiasing. Game creation in any programming language is very rewarding, and also makes for a great teaching tool. Om du gör ovanstående kan du använda pygame. +1 I did that exact tutorial a couple days ago. So, we know we want to be able to do a crash, so we just need to make a crash function. diagonal_movement import DiagonalMovement def main(): #Dimensiones del mapa dimx = 30 dimy = 30 #El array 'mapa' guarda el contenido de cada casilla de la mazmorra: mapa = np. QUIT: pygame. Pygame is highly portable and runs on nearly every platform and operating system. Sign Up; Forums All Activity My Activity Streams. I want to move an object in pygame along the x axis. You can vote up the examples you like or vote down the ones you don't like. This is a simple demo on how to do side-based rectangle collision response. setcaption('A bit Racey') Next, we define our game's display, which is the main 'display' for our game. There are 2 good ways of doing key-based input. En primer lugar, nada de esto funcionará porque no inicializó Pygame después de importarlo. diagonal_movement import DiagonalMovement def main(): #Dimensiones del mapa dimx = 30 dimy = 30 #El array 'mapa' guarda el contenido de cada casilla de la mazmorra: mapa = np. それはPygame Pythonの簡単な質問です。 私は画面上の四角形を移動しようとしていますが、前の動きを消去することはできません。 import pygame pygame. We want to use this method so that we can reference the variables. blit(bg, (0, 0)) #REST OF ITEMS ARE BLIT'D TO SCREEN. Snake in Python. Un autómata celular es un sistema dinámico que evoluciona en el tiempo a partir de unas reglas sencillas. Well at least now I guess I do. They are extracted from open source Python projects. It contains a list of unsorted numbers that is sorted. Pygame adds functionality on top of the excellent SDL library. locals import * from pygame import freetype from PIL import Image i…. 这篇文章主要为大家详细介绍了pygame游戏之旅,教大家如何创建游戏窗口界面,具有一定的参考价值,感兴趣的小伙伴们可以参考一下 网页模板_网站模板_源码库. a_star import AStarFinder from pathfinding. py file in the same folder as the png but its still not working. import pygame import time import random import math pygame. has many embedded multipliers. And here is the code:. I use pygame because I though I knew how to display an iamge there. pygame游戏之旅 如何制作游戏障碍 2018-12-10 源码库 观月执白 大字 本文为大家分享了pygame游戏之旅的第6篇,供大家参考,具体内容如下. Changes are not immediately visible onscreen; you must choose one of the two flipping functions to update the actual display. i have tried using def mes and gameover = false but nothing seems to work. Space shoot em up game using Pygame in Python depicts the high standard of code provided by us for your homework. rect and then use gameDisplay. pygame游戏之旅 按钮上添加文字的方法 2018-12-10 源码库 观月执白 大字 本文为大家分享了pygame游戏之旅的第11篇,供大家参考,具体内容如下. Surface object. quit quit gameDisplay. Edit Reason: added pygame tag) Hi, I took some code from GitHub and I have a problem as when I choose from menu "Settings", and just move the mouse, the menu disappear and main menu comes back. Some display modes will need to be emulated, which will slow your game down, since pygame will need to convert every update you make to the "real" display mode. Web Development import pygameimport osimport sysimport timefrom pygame. The following are code examples for showing how to use pygame. set_caption("Ping!"). update clock. center_L1 = (X0 + X1) / 2. 我在Pygame制作了一些游戏,但我仍然是制作游戏的新手。 我做了这个RPG游戏,这段代码只是游戏的一部分。游戏执行针对不同级别的游戏不同Pygame的文件,因为它可以在这部分代码中可以看出(这是随机战斗):. I am Andrew Alan a hacker who has built a very good reputation and undeniably one of the best hackers you can come across. I have been designing a game recently as I'm starting a course at school and thought it would be helpful to get ahead. py file in the same folder as the png but its still not working. i building divider mips processor alu integer division, , in fpu single precision floating point division purpose. So, we know we want to be able to do a crash, so we just need to make a crash function. pygame游戏之旅 按钮上添加文字的方法 时间:2018-11-21 这篇文章主要为大家详细介绍了pygame游戏之旅的第11篇 按钮上添加文字的方法,具有一定的参考价值,感兴趣的小伙伴们可以参考一下. tick (60) pygame. I figured I would start with some basic Pygame exercises to try to have something to program. There are 2 good ways of doing key-based input. Racing Game Example (Pygame) No description. Here''s my code, check it out, ID #42064131. So you are calling the method. Pygame adds functionality on top of the excellent SDL library. So i am on raspberry pi 2 and I am trying to make a game and i have the. I've had no success with Twisted either due to the fact that Twisted consumes the Main() loop and in order for it to work with Pygame, you have to use callLater or LoopingCall, both of which lead to breaking my game physics. Everytime needs to be hard coded. I was wanting to make it so i can add more detail like having it so i could have a picture of some tree textures as the walls to my maze and not just green, same for the path. They are extracted from open source Python projects. I have a pile of suggestions below, but the intention is just to improve consistency and maintainability of your code by following conventions (either standard or keeping consistent with your own code) and using naming and logic tweaks to make the code less verbose and more self-documenting. Move your python code or even redo the installation to something simple like C:\Python\ I save my programs inside that directly directly or on my home PC, inside \Python\programs. Web Development import pygameimport osimport sysimport timefrom pygame. GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together. Code, compile, and run code in 50+ programming languages: Clojure, Haskell, Kotlin (beta), QBasic. quit quit () initを 使ってShapeクラスのsquare属性を初期化したいが、次のエラーが出る。. 本文为大家分享了pygame游戏之旅的第10篇,供大家参考,具体内容如下通过获取鼠标的位置然后进行高亮显示:mouse =pygame. I'm having a hard time with pygame blitting text onto the screen. Hi, at the end of the maze you see a red square. They are extracted from open source Python projects. Surface object. import pygame import time import random import math pygame. grid import Grid from pathfinding. Creating a new one with pygame. update — Update portions of the screen for software displays update should work, but generally unless you want to update small areas, use flip because it's more reliable and honestly faster at some times (even tho they claim it shouldn't be). After some fiddeling around with pygame. It is better to use methods which operate on many pixels at a time like with the blit, fill and draw methods - or by using pygame. rect (gameDisplay, black, (x, y, 50, 50)) pygame. Om du gör ovanstående kan du använda pygame. i have got access to hack into any account and also get to generate passwords for accounts like Facebook,Instagram,Twitter,gmail,yahoo mail,whats-app,we-chat,etc. gameDisplay = pygame. set_mode ((display_width, display_height)) clock = pygame. All video and text tutorials are free. I am getting "1" (by itself) as an error, what does this mean? There are a lot of people who love both JS and UX/CSS. The game executes different Pygame files for different levels of th. setcaption('A bit Racey') Next, we define our game's display, which is the main 'display' for our game. However, I am having a slight. The following are code examples for showing how to use pygame. I'm trying to create my own object-oriented graphics library and use it to make a ping-pong game. x Открывается приложение cx_freeze, которое быстро закрывается Я пытаюсь превратить свою игру python в exe-файл, используя cx_Freeze. quit quit () initを 使ってShapeクラスのsquare属性を初期化したいが、次のエラーが出る。. And here is the code:. I am getting "1" (by itself) as an error, what does this mean? There are a lot of people who love both JS and UX/CSS. blit(carImg, (x,y)). py file in the same folder as the png but its still not working. fill (white) shape = Shape (white, x, y, w, h) pygame. Mein Problem ist das definieren einer Action bzw Funktion die beim Klicken auf den jeweiligen Button ausgeführt…. O pygame não foi feito para "conversar" com o tkinter, onde roda o turtle - o seu programa está frankestenico no estado atual, criando as duas interfaces - em teoria, não deveria haver conflitos - cada biblioteca teria a sua janela e até seria possível com alguns ajustes usar as duas simultaneamente (do jeito que está não, por que as chamadas que você colocou ao "Turtle" bloqueiam o. display_width = 800 display_height = 600 gameDisplay = pygame. Surface Objects for images and the screen. time Manage timing and framerate. So i am on raspberry pi 2 and I am trying to make a game and i have the. In this PyGame tutorial, we cover how to handle events like crashing into objects. s 欢迎访问萬仟网! 登录 注册. Rects к нему, который хранит положение и размер врагов, а затем просто blit изображение врага в положениях rect. I'm thinking of Tkinter. Font('freesansb. fill (white) pygame. shape = Shape (white, x, y, w, h). The sprite module includes several classes that help manage details found in almost all games types. bg = pygame. 这篇文章主要为大家详细介绍了pygame游戏之旅,教大家如何创建游戏窗口界面,具有一定的参考价值,感兴趣的小伙伴们可以参考一下 网页模板_网站模板_源码库. load("filename") this will generate a surface object that you can blit to the main screen. set_mode() will close the previous display. Follow @python_fiddle Browser Version Not Supported Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. 这篇文章主要为大家详细介绍了pygame游戏之旅的第8篇,教大家实现游戏中躲过障碍数量的计算,具有一定的参考价值,感兴趣的小伙伴们可以参考一下. sleep(2)#หยุด 2 วินาที. Later on I will propably switch to a different gui library. Font('freesansb. We want to be able to have some sort of handling specific to our users crashing rather than just lumping it in with an exit. Move your python code or even redo the installation to something simple like C:\Python\ I save my programs inside that directly directly or on my home PC, inside \Python\programs. Пишу Text Adventure игру, есть начальное окно, музыка, задний фон. Así que me decidí a empezar a hacer un juego y yo estaba probando un poco y luego tengo este error: Traceback (most recent call last): File. In this PyGame tutorial, we cover how to handle events like crashing into objects. QUIT: pygame. I felt I needed a stepping stone or a side project to work on while I gave it some more thought, so decided to learn some PyGame fundamentals courtesy of the Sentdex's PyGame Playlist on Youtube. Create your free Platform account to download our ready-to-use ActivePython or customize Python with any packages you require. Hello, I'll try to help you, but first, need to say some stuff: I never created any game with PyGame, but I use something called GdScript over Godot OpenSource IDE and its similar to Python, strongly encourage you to check it out if you want to create games. quit quit () Ich möchte das Quadratattribut der Shape-Klasse mit init initialisieren, aber ich erhalte den folgenden Fehler. 해당 소스코드 밑에 이미지를 참조!!!. Read rendered documentation, see the history of any file, and collaborate with contributors on projects across GitHub. python - Pygame-Countdown Timer On Screen With Other Stuff up vote 0 down vote favorite I'm trying to create a typing game,and want the person to type the words that are displayed in under a certain amount of time, given through parameters in a function. All your code in one place. py from CSE 1010 at University Of Connecticut. Space shoot em up game using Pygame in Python depicts the high standard of code provided by us for your homework. So basically you blit images, but you can also have pygame draw them for you. update clock. The following are code examples for showing how to use pygame. 使用pygame前一定要先导入pygame而且肯定要先初始化pygameimportpygamepygame. Well at least now I guess I do. Join GitHub today. I am able to do this in Illustrator CS3 and wonder if. pygame游戏之旅 调用按钮实现游戏开始功能 2018-12-10 源码库 观月执白 大字 本文为大家分享了pygame游戏之旅的第12篇,供大家参考,具体内容如下. You should just have said using pygame Option 1: Have a nice looking button image with built in text. Functionally, this looks decent and most of it isn't hard to follow. Changes are not immediately visible onscreen; you must choose one of the two flipping functions to update the actual display. set_caption ('A bit Racey') ##The title of the window. I figured I would start with some basic Pygame exercises to try to have something to program. We do this mainly visually, but it can make a massive difference and be a massive improvement to your game if you add sounds as well. Pygame can only have a single display active at any time. type == pygame. I used the brew command to install python with Homebrew and everything looked like it installed properly, very weird. Linus Media Group is not associated with these services. Popen() with Pygame , how to tell Pygame wait untill subprocess is done Tag: python , pygame , subprocess , python-3. quit() quit(). After some fiddeling around with pygame. colliderect по списку врагов и. 本文为大家分享了pygame游戏之旅的第5篇,供大家参考,具体内容如下 在游戏中添加显示文字: 这里自己定义一个crash函数接口: def crash(): message_diaplay('You Crashed') 然后实现接口函数m. set_caption("Ping!"). In CMD: pip install pygame. init()#Colours hereRED = pygame. Rects к нему, который хранит положение и размер врагов, а затем просто blit изображение врага в положениях rect. Pygame is highly portable and runs on nearly every platform and operating system. They are extracted from open source Python projects. 最后,在 gamedisplay. blit(bgImg(0,0)) Put this code between car(x,y) and gameDisplay. python - Pygame-Countdown Timer On Screen With Other Stuff up vote 0 down vote favorite I'm trying to create a typing game,and want the person to type the words that are displayed in under a certain amount of time, given through parameters in a function. They are all very much the same. Game creation in any programming language is very rewarding, and also makes for a great teaching tool. i building divider mips processor alu integer division, , in fpu single precision floating point division purpose. This video is unavailable. Pygame (A bit racey) game bug in the game when you first start it there's the game start menu/intro, it has 2 buttons (Start Game) (Quit) Now when you start the game and you're actually playing, when you press P (Paused) there're 2 buttons (Continue) (Main Menu) if you click continue it completes the game normally. surfarray Manipulate image pixel data. fill() on the surface object, not on the function set_mode(). 2) Use the currently-pressed keys dictionary that Pygame provides. import pygame import time pygame. This will initiate PyGame, and allow you to then make various commands with PyGame. QUIT: pygame. You can vote up the examples you like or vote down the ones you don't like. Witam, otóż mam mały problem, napisałem prostą gierkę w pygame gdzie trzeba unikać zombie. i have got access to hack into any account and also get to generate passwords for accounts like Facebook,Instagram,Twitter,gmail,yahoo mail,whats-app,we-chat,etc. So basically you blit images, but you can also have pygame draw them for you. colliderect по списку врагов и. diagonal_movement import DiagonalMovement def main(): #Dimensiones del mapa dimx = 30 dimy = 30 #El array 'mapa' guarda el contenido de cada casilla de la mazmorra: mapa = np. blit(bg, (0, 0)) #REST OF ITEMS ARE BLIT'D TO SCREEN. You can find the methods available on surface objects in the surface documentation of pygame. load("filename") this will generate a surface object that you can blit to the main screen. since design implemented in fpga, , altera de2 board going use. Surface object. import pygame import time import random import math pygame. tick (60) pygame. 나는 이것을하기 위해 몇 가지 방법을 시도했지만 정확히 무엇이 될 것인지를 알지 못했다. I use pygame because I though I knew how to display an iamge there. There are 2 good ways of doing key-based input. Create your free Platform account to download our ready-to-use ActivePython or customize Python with any packages you require.