Git Product home page Git Product logo

colorball's Introduction

ColorBall 彩色碰碰球

遊戲規則:

此為一個雙人對戰遊戲,場上有左右兩排牆壁,分別是P1和P2,分別使用方向上下鍵與w、s鍵控制移動。
遊戲開始會有三種顏色的小球從上方發射,控制你的牆壁,使小球撞上與它相同的顏色,如果撞對就會加1分;撞到別的顏色就會扣1分。
在時間內盡量增加自己的分數,時間到結束。

安裝遊戲:

安裝執行檔(建議):

下載執行檔zip包,解壓縮後點擊ColorBall.exe即可執行  

安裝python文件:

下載程式zip包,執行launcher.py
環境依賴python3, pygame1.9.3

自訂遊戲規則:

設定遊戲目錄下的data資料夾中setting.json文件,可改變遊戲規則: time 遊戲時間
colors 三種球對應的顏色
bg 背景顏色
w 牆壁寬度
h 牆壁長度
speed 牆壁移動速度

素材及來源

音效素材使用scratch內建音效
字體使用freesansbold
如有侵權煩請聯絡我

colorball's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.