-
Notifications
You must be signed in to change notification settings - Fork 12
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
base: main
Are you sure you want to change the base?
Conversation
…its and misses to UI.
… Updates the UI to support this new pattern.
…helper functions.
…of graphic nodes draw on the canvas fo the battle grid.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this 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
There was a problem hiding this 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
There was a problem hiding this 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
Use the following link to view the latest deployment https://battleship-game-git-pete-3591-bsg-407e4f-tens-projects-c10453c0.vercel.app?_vercel_share=XllsfBwRkXoVKHP48jZSmtcTdHswqSVM