*main.py import time from turtle import Screen from player import Player from car_manager import CarManager from scoreboard import Scoreboard screen = Screen() screen.setup(width=600, height=600) screen.tracer(0) player = Player() car_manager = CarManager() scoreboard = Scoreboard() screen.listen() screen.onkeypress(player.gogoup, "Up") screen.onkeypress(player.gogodown, "Down") game_is_on = Tru..
Copyright (C) Microsoft Corporation. All rights reserved. 새로운 크로스 플랫폼 PowerShell 사용 https://aka.ms/pscore6 PS C:\Users\kiost> pip install pyinstaller Collecting pyinstaller Downloading pyinstaller-4.9-py3-none-win_amd64.whl (2.0 MB) |████████████████████████████████| 2.0 MB 6.4 MB/s Collecting pywin32-ctypes>=0.2.0 Downloading pywin32_ctypes-0.2.0-py2.py3-none-any.whl (28 kB) Collecting altgraph..
1. Move the turtle with keypress 2. Create and move the cars 3. Detect collision with car 4. Detect when turtle reachs the other side 5. Create a scoreboard *main.py import time from turtle import Screen from player import Player from car_manager import CarManager from scoreboard import Scoreboard screen = Screen() screen.setup(width=600, height=600) screen.tracer(0) player = Player() car_manage..
1. Move the turtle with keypress 2. Create and move the cars 3. Detect collision with car 4. Detect when turtle reachs the other side 5. Create a scoreboard import time from turtle import Screen from player import Player from car_manager import CarManager from scoreboard import Scoreboard screen = Screen() screen.setup(width=600, height=600) screen.tracer(0) player = Player() car_manager = CarMa..

1. Move the turtle with keypress 2. Create and move the cars 3. Detect collision with car 4. Detect when turtle reachs the other side 5. Create a scoreboard *main.py import time from turtle import Screen from player import Player from car_manager import CarManager from scoreboard import Scoreboard screen = Screen() screen.setup(width=600, height=600) screen.tracer(0) player = Player() car_manage..

1. Move the turtle with keypress 2. Create and move the cars 3. Detect collision with car 4. Detect when turtle reachs the other side 5. Create a scoreboard *main.py import time from turtle import Screen from player import Player from car_manager import CarManager from scoreboard import Scoreboard screen = Screen() screen.setup(width=600, height=600) screen.tracer(0) screen.listen() player = Pla..

* Breakdown the program - Create the screen - Create and move a paddle - Create another paddle - Create the ball and make it move - Detect collision with wall and bounce - Detect collision with paddle - Detect when paddle misses - Keep score * main.py from turtle import Screen from paddle import Paddle from ball import Ball from scoreboard import Scoreboard import time screen = Screen() screen.s..
- Total
- Today
- Yesterday
- artandculture
- fromkeys
- 차집합
- 변수화
- vmware
- 스토리지
- set()
- dezoomify
- powershell
- sysprep
- cloud-init
- Join
- 읽어오기
- exadata
- LIST
- 부동없이
- storage
- powercli
- dp-2
- 대소문자
- EXA
- 배열
- 중복제거
- dp-1
- virt-sysprep
- vmware.powercli
- 3par
- 정렬
- insert
- oracle
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |