Coder Social home page Coder Social logo

aoop_dogeshop's Introduction

2021 winter AOOP project

Doge Cards Shop

image

image

UML0110 drawio

歡迎使用色色狗勾卡牌商店模擬平台,請fork+clone/下載本repo後,使用Qt編譯ShoppingPlatform.pro檔案,並執行程式

(注意shadow build資料夾務必與repo資料夾置於同一路徑,且勿更動repo資料夾名稱)


本專題包含以下功能:

▶創建買家/賣家帳號(創建賣家帳號需要管理員的授權碼)
▶使用買家/賣家/管理員/測試帳號登入
▶使用SQL管理帳號資料/商店/卡牌資源
▶點擊按鈕開啟預設瀏覽器到本repo

買家登入後,可以執行以下功能:

▶查看/修改個人資料
▶更改登入密碼

▶查看錢包內的現金與點數
▶賺取點數/點數轉換現金

▶進入一般商店/快速商店
▶在商店中消費現金購買卡片

▶查看個人背包中已購買的卡片
▶查看卡牌種類分布
▶查看個別卡牌詳細
▶過濾特定種類/更改卡片排序
▶分解卡片賺取點數
▶對卡片標記星號

▶登出

賣家登入後,可以執行以下功能:

▶進入商店管理/快速管理頁面
▶在管理頁面中對上架商品補貨/更改價格

▶進入上架商品/快速上架頁面
▶在上架頁面中上架新商品至商店

▶更改登入密碼

▶登出

管理員登入後,可以執行以下功能:

▶查看所有買家/賣家帳號資訊
▶刪除買家/賣家帳號

▶查看/更改賣家註冊時所需的授權碼

▶登出

測試模式登入後,可以執行以下功能:

▶所有買家與賣家的功能,但資料不會保存至雲端資料庫

商店/管理頁面/上架頁面分為一般模式快速模式:

‣ 一般模式會使用網路下載卡圖,並以格狀檢視頁面內容

‣ 快速模式以條列式呈現頁面內容,省去下載圖片時間

在一般模式,可以執行以下功能:

▶對商品/卡牌執行頁面對應操作(購買/管理/上架),且支援批量處理
▶查看個別卡牌詳細
▶用關鍵字對卡牌名稱進行搜尋
▶過濾特定種類或標籤(all/monster/magic/trap/new/hot/cut)

▶翻頁
▶更改每頁呈現的卡牌數量

在快速模式,可以執行以下功能:

▶對商品/卡牌執行頁面對應操作(購買/管理/上架),且支援批量處理
▶查看個別卡牌詳細
▶用關鍵字對卡牌名稱進行搜尋
▶過濾特定種類或標籤(all/monster/magic/trap/new/hot/cut)

關於搜尋功能:

‣ 可以用空格區分多關鍵字搜尋,結果將會按照相似性排序
‣ 可以在過濾卡片後搜尋
‣ 可以搜尋標點符號 如「!」「)」等等

本專題預設卡牌資源取自以下連結的原始json檔:

https://github.com/tpai/dogedeck

將其json檔轉為cards.csv使用,檔案置於src/資料夾中,格式如下:

image

您也可以使用其他卡牌資源,寫成相同格式的cards.csv,客製化卡牌商店

請注意:

‣ 卡牌種類(type)建議固定為monster/magic/trap三種,若使用其他名稱或更多種類,程式仍可執行,但部分功能將會失效(如:過濾、卡牌分布、部分美觀處理等)
‣ 圖片連結(src)請填入該圖片的資源連結,程式運作時會自動下載於程式中使用,且執行結束後不會占用本地資源
‣ 圖片格式以jpg/png為佳,其餘格式尚待測試是否支援

aoop_dogeshop's People

Contributors

freefrit avatar nave-t avatar evantang13 avatar

Watchers

 avatar

Forkers

nave-t

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.