Pygame is a free and open-source cross-platform library for the development of multimedia applications like video games using Python. It uses the Simple DirectMedia Layer library and several other ...
このあたりが続いて、正直ちょっと飽きますよね。 そんな時は、習った文法を使って遊んでみるのがおすすめです。 今回は、画面をクリックするとカラフルな波紋が広がるアプリを作ります。 使うのは、Pythonで画面や図形を動かせるpygameです。 完成 ...
今回はちょっと実用処理から離れてPythonでゲームを作ってみよう。Pythonにはさまざまなライブラリが用意されており、その中にはゲーム開発に特化したライブラリもある。今回はPyGameと呼ばれるライブラリの使い方を紹介する。PyGameで迷路ゲームを作って ...
コンソール版のオセロが完成すると、次に挑戦したくなるのがGUI化です。文字で座標を入力する代わりに、緑色の盤面をクリックして石を置けるようにすると、一気にゲームらしくなります。 この記事では、Pythonの二次元リストで管理するオセロのルール ...
Python is well known as one of the most beginner-friendly and flexible programming languages. But while Python has a fantastic onboarding experience for even the least experienced new programmers, it ...
I try to use [queue()](http://pygame.org/docs/ref/music.html#pygame.mixer.music.queue) but it doesn't work for me. Maybe it needs `for event` loop to work but it ...
現在アクセス不可の可能性がある結果が表示されています。
アクセス不可の結果を非表示にする