๐ฆ ๋ด์ผ๋ฐฐ์์บ ํ/์ฌ์ ๊ณผ์
-
github : https://github.com/DHL68/github-DHL68/tree/main/22_04_07_calculator GitHub - DHL68/github-DHL68: github-DHL68-practice github-DHL68-practice. Contribute to DHL68/github-DHL68 development by creating an account on GitHub. github.com GUI ๊ณ์ฐ๊ธฐ ๋ง๋ค๊ธฐ ๊ฐ์ ๋ด์ฉ import tkinter as tk # ๋ช ๋ น์ด ๋ณ์ operator = {'+':1, '-':2, '/':3, '*':4, 'C':5, '=':6} disValue = 0 # ๊ฒฐ๊ณผ๊ฐ ๋ณ์ / ์ ์ stoValue = 0 # ์ ์ฅ๋ ๊ฐ opPre =..
[๋ด์ผ๋ฐฐ์์บ ํ] ์ฌ์ ๊ณผ์ - ๊ณ์ฐ๊ธฐ ๋ง๋ค๊ธฐgithub : https://github.com/DHL68/github-DHL68/tree/main/22_04_07_calculator GitHub - DHL68/github-DHL68: github-DHL68-practice github-DHL68-practice. Contribute to DHL68/github-DHL68 development by creating an account on GitHub. github.com GUI ๊ณ์ฐ๊ธฐ ๋ง๋ค๊ธฐ ๊ฐ์ ๋ด์ฉ import tkinter as tk # ๋ช ๋ น์ด ๋ณ์ operator = {'+':1, '-':2, '/':3, '*':4, 'C':5, '=':6} disValue = 0 # ๊ฒฐ๊ณผ๊ฐ ๋ณ์ / ์ ์ stoValue = 0 # ์ ์ฅ๋ ๊ฐ opPre =..
2023.01.02 -
github : https://github.com/DHL68/github-DHL68/tree/main/22_04_08_arcade%20games GitHub - DHL68/github-DHL68: github-DHL68-practice github-DHL68-practice. Contribute to DHL68/github-DHL68 development by creating an account on GitHub. github.com 1. ๋ฅ ํผํ๊ธฐ ๊ฒ์(๊ธฐ์ด) import pygame pygame.init() # ์ด๊ธฐํ (๋ฐ๋์ ํ์) # ํ๋ฉด ํฌ๊ธฐ ์ค์ screen_width = 480 # ๊ฐ๋ก ํฌ๊ธฐ screen_height = 640 # ์ธ๋ก ํฌ๊ธฐ screen = pygame.display.set_..
[๋ด์ผ๋ฐฐ์์บ ํ] ์ฌ์ ๊ณผ์ - ์ถ์ต์ ์ค๋ฝ์ค ๊ฒ์ ๋ง๋ค๊ธฐgithub : https://github.com/DHL68/github-DHL68/tree/main/22_04_08_arcade%20games GitHub - DHL68/github-DHL68: github-DHL68-practice github-DHL68-practice. Contribute to DHL68/github-DHL68 development by creating an account on GitHub. github.com 1. ๋ฅ ํผํ๊ธฐ ๊ฒ์(๊ธฐ์ด) import pygame pygame.init() # ์ด๊ธฐํ (๋ฐ๋์ ํ์) # ํ๋ฉด ํฌ๊ธฐ ์ค์ screen_width = 480 # ๊ฐ๋ก ํฌ๊ธฐ screen_height = 640 # ์ธ๋ก ํฌ๊ธฐ screen = pygame.display.set_..
2023.01.02 -
github : https://github.com/DHL68/github-DHL68/tree/main/22_04_15_memory%20test%20game GitHub - DHL68/github-DHL68: github-DHL68-practice github-DHL68-practice. Contribute to DHL68/github-DHL68 development by creating an account on GitHub. github.com ๊ธฐ์ต๋ ฅ ํ ์คํธ, ์นจํฌ์ง๋ฅผ ์ด๊ฒจ๋ผ import pygame from random import * # ๋ ๋ฒจ์ ๋ง๊ฒ ์ค์ def setup(level): global display_time # ์ผ๋ง๋์ ์ซ์๋ฅผ ๋ณด์ฌ์ค์ง display_time = 5 - (level //..
[๋ด์ผ๋ฐฐ์์บ ํ] ์ฌ์ ๊ณผ์ - ์ถ์ต์ ์ค๋ฝ์ค ๊ฒ์ ๋ง๋ค๊ธฐgithub : https://github.com/DHL68/github-DHL68/tree/main/22_04_15_memory%20test%20game GitHub - DHL68/github-DHL68: github-DHL68-practice github-DHL68-practice. Contribute to DHL68/github-DHL68 development by creating an account on GitHub. github.com ๊ธฐ์ต๋ ฅ ํ ์คํธ, ์นจํฌ์ง๋ฅผ ์ด๊ฒจ๋ผ import pygame from random import * # ๋ ๋ฒจ์ ๋ง๊ฒ ์ค์ def setup(level): global display_time # ์ผ๋ง๋์ ์ซ์๋ฅผ ๋ณด์ฌ์ค์ง display_time = 5 - (level //..
2023.01.02