Skip to content

team-tissis/polylemma-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

polylemma-client

環境

$ node -v
v14.20.0
$ npm -v
6.14.17

インストール(Mac のみ)

node, npm

$ brew install nodebrew
$ mkdir -p ~/.nodebrew/src
$ nodebrew install-binary v14.20.0 # M1 Mac 以外
$ nodebrew compile v14.20.0 # M1 Mac 以外(30 分程度かかります)
$ nodebrew use v14.20.0
$ vim .bashrc # その他のシェルの場合も適切に設定してください
# export PATH=$HOME/.nodebrew/current/bin:$PATH を書き込む
$ source ~/.bashrc

polylemma-client

$ git clone git@github.com:team-tissis/polylemma-client.git
$ npm install
$ npm start

エラー対応

もし以下のエラーが出た場合は、

Failed to load parser '@typescript-eslint/parser' declared in 'package.json » eslint-config-react-app#overrides[0]': Cannot find module 'typescript'

解決策

$ npm install --save typescript

起動

  • utils.jsenv 変数の値を local / mumbai に設定
    • ローカルのテストネットに繋ぐ場合は local、Mumbai 上のテストネット mumbai
  • http://localhost:3000/ にアクセスする(ポート 3000 番を既に使ってる場合は、3001 以降になる)

画面イメージ

スクリーンショット 2022-11-06 23 13 21

メインページ(バトル開始)

スクリーンショット 2022-11-06 22 35 53

サイドバー

スクリーンショット 2022-11-06 22 44 42

ガチャ画面

スクリーンショット 2022-11-06 22 35 28

育成画面

スクリーンショット 2022-11-06 22 45 10

マッチメイク

スクリーンショット 2022-11-06 22 48 32

バトル

スクリーンショット 2022-11-06 22 37 19

図鑑

スクリーンショット 2022-11-06 22 45 54

OpenSea (testnet) で取引