Loading...

Messages

Proposals

Stuck in your homework and missing deadline? Get urgent help in $10/Page with 24 hours deadline

Get Urgent Writing Help In Your Essays, Assignments, Homeworks, Dissertation, Thesis Or Coursework & Achieve A+ Grades.

Privacy Guaranteed - 100% Plagiarism Free Writing - Free Turnitin Report - Professional And Experienced Writers - 24/7 Online Support

How to make a battleship game in python

18/11/2021 Client: muhammad11 Deadline: 2 Day

Python : Battleship You Should Write A Simplified Version Of Game Battleship. While The

Battleship You should write a simplified version of game Battleship. While the game is normally played with two users, we consider only one player. You don't need to write any artificial intelligence for the other player, this is a simplified version - I will play as a player trying to hit computer's ship with the lowest number of shots possible. There are many different versions of Battleship game. You can read about then on Wikipedia. However, you will have to make a simplified version and here are steps you need to have: 1. Ask player about field size N and then generate a square field NxN size. The most typical size is 10 by 10 but your game is flexible and accept any size. Put zeros in every empty cell of the field. Example: empty field of 6 by 6 [0, 0, 0, 0, 0, 0] [0, 0, 0, 0, 0, 0] [0, 0, 0, 0, 0, 0] [0, 0, 0, 0, 0, 0] [0, 0, 0, 0, 0, 0] [0, 0, 0, 0, 0, 0] 2. Create and randomly place just one ship of length 5 cells. The ship can be placed vertically or horizontally (again - randomly). To place a ship, you change values of the cells on the field to 1. Obviously, the ship can not go beyond the field. Example: playing field with the ship (but you don't show it to the player) [0, 0, 0, 0, 0, 0] [0, 1, 0, 0, 0, 0] [0, 1, 0, 0, 0, 0] [0, 1, 0, 0, 0, 0] [0, 1, o, 0, 0, 0] [0, 1, 0, 0, 0, 0] 3. Final stage-playing. Ask a user about their shot location and report if it is "hit" or "miss" and count a number of shots till user hits all ships (or just gives up trying). Example: playing field with three misses (8) and one hit (2) - you can use any numbers you like, just make it clear for the player [0, 0, 0, 0, 0, 0] [0, 2, 0, 0, 0, 0] [0, 0, 0, 0, 0, 0] [0, 0, 0, 0, 8, 0] [0, 0, 0, 8, 0, 0] [0, 0, 0, 0, 0, 8] 4. Hint, you might need to create a custom function to print out your game field as the standard command "print" will produce output that is difficult to read

Homework is Completed By:

Writer Writer Name Amount Client Comments & Rating
Instant Homework Helper

ONLINE

Instant Homework Helper

$36

She helped me in last minute in a very reasonable price. She is a lifesaver, I got A+ grade in my homework, I will surely hire her again for my next assignments, Thumbs Up!

Order & Get This Solution Within 3 Hours in $25/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 3 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 6 Hours in $20/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 6 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

Order & Get This Solution Within 12 Hours in $15/Page

Custom Original Solution And Get A+ Grades

  • 100% Plagiarism Free
  • Proper APA/MLA/Harvard Referencing
  • Delivery in 12 Hours After Placing Order
  • Free Turnitin Report
  • Unlimited Revisions
  • Privacy Guaranteed

6 writers have sent their proposals to do this homework:

Financial Solutions Provider
Chartered Accountant
Custom Coursework Service
Essay & Assignment Help
Instant Assignment Writer
Assignments Hut
Writer Writer Name Offer Chat
Financial Solutions Provider

ONLINE

Financial Solutions Provider

I reckon that I can perfectly carry this project for you! I am a research writer and have been writing academic papers, business reports, plans, literature review, reports and others for the past 1 decade.

$36 Chat With Writer
Chartered Accountant

ONLINE

Chartered Accountant

I have done dissertations, thesis, reports related to these topics, and I cover all the CHAPTERS accordingly and provide proper updates on the project.

$17 Chat With Writer
Custom Coursework Service

ONLINE

Custom Coursework Service

I have done dissertations, thesis, reports related to these topics, and I cover all the CHAPTERS accordingly and provide proper updates on the project.

$46 Chat With Writer
Essay & Assignment Help

ONLINE

Essay & Assignment Help

I am an elite class writer with more than 6 years of experience as an academic writer. I will provide you the 100 percent original and plagiarism-free content.

$32 Chat With Writer
Instant Assignment Writer

ONLINE

Instant Assignment Writer

I find your project quite stimulating and related to my profession. I can surely contribute you with your project.

$37 Chat With Writer
Assignments Hut

ONLINE

Assignments Hut

I have done dissertations, thesis, reports related to these topics, and I cover all the CHAPTERS accordingly and provide proper updates on the project.

$16 Chat With Writer

Let our expert academic writers to help you in achieving a+ grades in your homework, assignment, quiz or exam.

Similar Homework Questions

HA560 Unit 9 Discussion - Cadbury dairy milk easter bunny 250g - Response to Classmates Discussions - Tennis net posts australia - Persuasive speech on child discipline - Practice and homework lesson 10.5 problem solving time intervals - 10 short answers - How has new belgium implemented the marketing concept - Software cost estimation ppt - Megan A 6 pages need to REVISE A WRITE PAPER (DUE BY 16 HOURS) - Excel 2016 in practice ch 9 guided project 9 3 - Class One: Part Two - Network consultation for designit - Southernization world history - How to measure transient voltage - Molar mass of calcium carbide - Junko es de japón. ella es . - Heating and cooling curves - Victimology four questions - Learning difficulties assessment nz - Retrospective Research Proposal Follow the guidelines example provided under attachment - What does plore mean - The kansas city preventive patrol experiment found that - Ritz carlton target market - Financial accounting theory mcgraw hill - Why are whistleblowers regarded as models of honor and integrity - Parenting styles worksheet - Food Label Assignment - Professionalism Wrk Place - Unit 3 - Apa essay compare and analyze - The red convertible by louise erdrich sparknotes - Where were morality plays performed - Sherry turkle growing up tethered summary - Warwick english literature modules - Select one industry and highlight the advancements Blockchain - Seebeck coefficient measurement setup - Lateral force resisting system definition - United breaks guitars case study pdf - World Religion and Cultures - 1000 point grading scale snhu - Cann river camping grounds - 737 engine start switch - Hedgehog bakes a cake read aloud - 84.1 kg to lbs - Week 7 - Carl rogers positive self regard - 631.2.2 - Introduction Carah and Louw - The container store's secret to success employee satisfaction - Behold a pale horse barnes and noble - Economic forecasting - Speed ratio of pelton wheel - Verbal scale to representative fraction calculator - Psychology sensation and perception worksheet answers - Batanes culture and traditions - Cell homeostasis virtual lab answer - An obligation to prevent trauma on campus - Mt baw baw height - Discussion Question - Rectangular to polar complex numbers calculator - Childbirth positive feedback loop diagram - The Art of Negotiation Essay - Crown employees public sector award - Dapper and boss casuarina - The happiest refugee quotes - What is a personal creed - Tuff wheels was getting ready to start - Basic training raf halton - The psychology of reading - Capella university emergency management - Group therapy - Ph level of buxton water - Patho - Glan clwyd hospital shop opening times - OM311 - operation management - Discussion board max 150 words - Lamb to the slaughter foreshadowing - Hoyt sector model city examples - 23 kg in litres - How to calculate promo budget in capsim - Assignment WK 11 - Measurement of emf by potentiometer - Dyes and dyeing lab report - C11 Week 5 Discussion - Las tablas colombian steakhouse - Five common ethical traps - Discussion Board - Eyeglassomatic manufactures eyeglasses for different retailers - A journal research - Organization Leader & Decision Making - Components of handwriting occupational therapy - Iuhpe core competencies and professional standards for health promotion - Decile formula for grouped data - Reading report - Principles of marketing - Box office receipt - Ece 430 eportfolio - Http www uri org kids world htm - Brass coefficient of thermal expansion - Charles hackner - I need 4000 words on Robotic grinding in manufacturing