Skip to content

Latest commit

 

History

History
80 lines (52 loc) · 2.79 KB

README.md

File metadata and controls

80 lines (52 loc) · 2.79 KB

Project logo

Battles Ship

Please make sure to interact with the game here 😱 Battleship Game


This Project is a battleship implementation on the blockchain

📝 Table of Contents

🧐 Problem Statement

Having a fair implementation of Battleship on the blockchain is fairly difficult, and that's exactly what is implemented on this repo using reach.

⛓️ Dependencies / Limitations

  • React
  • Reach
  • Reach stdlib

🚀 Future Scope

The hack provided me with the knowledge to build complex blockchain applications, but there were a couple of things that couldn't be implemented, which will be implemented in the future, such as;

  • Using APIs instead of participants to enable a more fluid user experience.

🏁 Getting Started

To get this project running on your local environment for development docker and docker compose are needed

Prerequisites

  • reach
  • reach-sh/stdlib
  • Node js

🎈 Usage

  • Navigate to the home page.
  • Either connect your wallet or use the default account to play
  • Insert name
  • Choose spots to place ships
  • Once ships have been placed wait for the contract to communicate with the blockchain
  • You will be prompted to guess the position of the opponent's ship
  • Keep on playing till all ships are destroyed

⛏️ Built With

✍️ Authors

🎉 Acknowledgments

  • Hat tip to Alex Younger for his code used
  • Thanks to reach-lang and the helpful staff (Estefania, JP Miller, Candace, etc) for giving me this opportunity to participate in the hack
  • Thank you to my mentor Joy Ayitey for helping me through the challenges