??====================================Author:YoungwookKim(Korean)========================================================================Contact:rumia0601@gmail.com========================================================================?d???? ======================================================================== ? X?D? ?tnj????====================================????ij ??????X? |ǀ?t?0? L?8???,????@? ??%?,?̬? ????? ??%?<?? l?1? ??.CXϔ? Xֽ??? ? ????D? ̹??? ??t? ????(C? ????T?ܴ|? ??1?? ?? Xϔ??? ? ??XՔ? )???).???t? ??%?@? ?ι@? scanf(??? ??0? ??%? DՔ? ?Ŕ? D??? getch)h???,?̬??? m??? ?(??<?? ????? ????? L?ବ???<??,??%?@? DŤ¤?DŸ?|? tǩ?? printf(????? T?t?D? ?ɰƔ? ?a?p????? clear)h??? l?1?`? ? ???.X???̹ t???? ̹? ????@? l???t??,????=? ?Ŕ? CUI?,I??? ??x?䲔? ??t? ???.t?? ??X? ????D? ̹ܴ?? ??t? ?ɰ??t?,???? Unity????????tǘ? Unreal???????? ? ???? ??????ij ??D? ????? ??.X???̹,???? ????@? ??8??ǽ?t? ??䲔? ??t? ???.??????|? ֩?? ??????? ?X? ??̳,Mechanin/Legacy`?ȲT?t?X? 8?X?1?,T? ??@? ????=?D? ?? T? p? T?????/T? `?x? CPU& D?4???ij Xϔ? Xֽ??? ???? ???? ??t??Ŕ? ??ȹ? ?ǔ? ?? ??.t? ??ȹ|? tհ?`? ? ??D?L??..image::introduction-PuyoPuyo.png:class:inlined-right..code-block::python:linenos:importsys,pygamepygame.init()size=width,height=220,140speed=[2,2]black=0,0,0screen=pygame.display.set_mode(size)ball=pygame.image.load("introduction-PuyoPuyo.png")ballrect=ball.get_rect()while1:foreventinpygame.event.get():ifevent.type==pygame.QUIT:sys.exit()ballrect=ballrect.move(speed)ifballrect.left<0orballrect.right>width:speed[0]=-speed[0]ifballrect.top<0orballrect.bottom>height:speed[1]=-speed[1]screen.fill(black)screen.blit(ball,ballrect)pygame.display.flip()(CXϔ? Xֽ? ????X? ??? -̿??̿??)..image::introduction-TPS.png:class:inlined-right..code-block::python:linenos:importsys,pygamepygame.init()size=width,height=220,140speed=[2,2]black=0,0,0screen=pygame.display.set_mode(size)ball=pygame.image.load("introduction-TPS.png")ballrect=ball.get_rect()while1:foreventinpygame.event.get():ifevent.type==pygame.QUIT:sys.exit()ballrect=ballrect.move(speed)ifballrect.left<0orballrect.right>width:speed[0]=-speed[0]ifballrect.top<0orballrect.bottom>height:speed[1]=-speed[1]screen.fill(black)screen.blit(ball,ballrect)pygame.display.flip()(?Ȳ?? ???? ???? ????X? ???-TPS)䲉Ո? ?tnj???@? ?? ??ȹ|? tհ?`? ? ???.?tnj??? tǀ? ??????8?? ????D? ̹? ? ?nj? t? ?Ȕ? ?t?l?X? xƀ? |?t? ?췬?t??.?tnj???@? Xϔ? Xֽ??? ?X? ???D? ???? ???.?? ???? ???@? X?X? ?tnj??? ?? ȸ?@? X?X? ????T?ܴ@? p?X? ٳX??Ĭ|??? ??t??.(xƀ? ???? ?|?tǘ? xƀ? ???? ?|?D? ?x?T?t?)???? ? ??????8??? ???? T?ܴ|? ??1?XՔ? ????̹ ???X?t? ??.????? X??? ???@? ?tnj???@? 4?t? D?̲ |?t? ?췬?t?0? L?8???,???? ?|???
importpygame̹ ??<?t? ?? ???? ?|?@? ?tnj???X? ??? ???? ???`? ? ?nj?
??.???1?t? ??䲔? ??t??.?tnj???@? ???? ????X? ???ij ???? ???.?? ???? ???@? ?tnj???t? ????ܴ,ȹ?Ƥ?,?|? ?X? ????|? U?x?XՔ? ??%? ?(? h?????,ij? ????0?,?? `?X?0?,??? ??t? $?? ?X? ??%? ?(? h???D? ???X?0? L?8???,CUI? D?̲ GUIXֽ??? ? ?? ?䲔? ??t??.????? X??? ???@? ?tnj???t? ?t?l??? 0??X??0? L?8???,?tnj???X? h???@? ?(??t? D?̲ tǤ????(??? h???t? ????<?? ???p??? p?X? ٳ???? ??(?)<?? ?? ?䲔? ??t??...image::introduction-Battleship.png:class:inlined-right..code-block::python:linenos:importsys,pygamepygame.init()size=width,height=220,140speed=[2,2]black=0,0,0screen=pygame.display.set_mode(size)ball=pygame.image.load("introduction-Battleship.png")ballrect=ball.get_rect()while1:foreventinpygame.event.get():ifevent.type==pygame.QUIT:sys.exit()ballrect=ballrect.move(speed)ifballrect.left<0orballrect.right>width:speed[0]=-speed[0]ifballrect.top<0orballrect.bottom>height:speed[1]=-speed[1]screen.fill(black)screen.blit(ball,ballrect)pygame.display.flip()(?tnj??? ????X? ???-0?????)??}?XՐ?t?,?tnj???@? ? ? ??(Xϔ? Xֽ?@? ??? ? X?)X? ???? ȑ? ???????? ? ? ??(???? ????@? ??? ? X?)X? ???? ȑ? ??????X? ???D? ??P? ???䲔? ??t??.?tnj???@? t? X? ??t?X? ??@? ?Ű??t? ??.tǃ?t? ?tnj???D? ?? t? ?t??.T? ????? ???? ????D? ??? ֩?t? ????D? ̹ܴ?? 1x? ? ???? ???? D?̲ t??? (h??? ?? ???? ????D? 0??Ɣ? ??t? ???!),Xϔ? Xֽ??? ????t? D?̲ T? ?? ? Xֽ??? ? ????D? Ո???@? T?)?t? ??? ???t? (<?`?,y? `???t? Ĭ?? T?)?XՌ? ? ??t??!),Ո???@? ?tnj???D? ??ijt? ??̹ X??.
Edit on GitHub