Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3592-Redesign of BSG sample app and port to React. #119

Open
wants to merge 24 commits into
base: main
Choose a base branch
from

Conversation

pbienek
Copy link

@pbienek pbienek commented Jul 15, 2024

Copy link

vercel bot commented Jul 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
battleship-game ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 14, 2024 11:29am
guessing-game ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 14, 2024 11:29am

@pbienek pbienek changed the title WIP: Do not merge. Redesign of BSG sample app. 3592-Redesign of BSG sample app and port to React. Jul 23, 2024
@pbienek pbienek requested review from Jennievon, 0xjba and CaisManai July 23, 2024 08:26
Copy link

@CaisManai CaisManai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Can we make the 'connect your wallet to the ten chain' more prominent. Else, when I land on the page and my wallet isn't connected, I'm mainly drawn to the 'SYSTEM OFFLINE' message and may just assume the game isn't currently working.
  • Can we make the 'how to play?' more prominent too, particularly on your first go/first view

Copy link
Contributor

@0xjba 0xjba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed & tested the contract. GTG

Copy link
Contributor

@0xjba 0xjba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The frontend still needs the eth_chainId check to ensure users are on the TEN chain before they start playing. We've had instances where users were on Ethereum for the Guessing Game and lost money. When connecting the wallet, check for Chain ID 443. If not, prompt the user to add the TEN network via Gateway or switch to the TEN network.

# Conflicts:
#	battleship-game/contracts/BattleshipGame.sol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants