Giter Site home page Giter Site logo

battleship_game_simple's Introduction

Battleship_game_simple

This Version:

It is simple version. We don't place any ships of our own. Instead our job is to sink the computer's ships in the fewest number of guesses.

Goal:

Sink all of the computer's Dot Coms in the fewest number of guesses. You're given a rating or level, based on how well you perform.

Setup:

When the game program is launched, the computer places three Dot Coms on a virtual 7 x 7 grid. When that's complete, the game asks for your first guess.

How you play:

This version works only at the command-line. The computer will prompt you to enter a guess (a cell), that you will type at the command-line as "A3", "C5". etc. In response to your guess, you'll see a result at the command-line, either "Hit". "Miss", or "You sunk Pets. com" (or whatever the lucky Dot Com of the day is). When you have sent all threee Dot Coms to that big 404 in the sky, the game ends by printing out your rating.

battleship_game_simple's People

Contributors

suhrabjan avatar

Watchers

James Cloos avatar  avatar

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.