Git Product home page Git Product logo

blockchain-battleship's Introduction

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

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.