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

8 mile rap battle lyrics - Basic marketing a managerial approach citation - Simplify the sum state any restrictions on the variables - La señora johnson es diabética y no puede comer azúcar - Ism3004 exam 4 - The dulac box plant produces 500 - How to read literature like a professor summary chapter 1 - Case Study - In this fictional map which elements suggest relative location - How to draw a fence in perspective - Automated Code Review: WebGoat source code using the VCG SAST tool and verify the findings within the code. - Module 08 McGraw-Hill Connect Platform Virtual Laboratory Assignments - Work breakdown structure for training program - Electrochemistry lab report answers - Instant food essay - Eyebrow threading during pregnancy in tamil - Discussion help - The major product line decision involves - Strategies for market leaders challengers followers and nichers - Customer service professional summary - What geometric shape am i quiz - Why focusing too narrowly in college could backfire - Sutton housing partnership login - Decision making framework for nurses - Why did puberty blues end - Clpe power of reading - David cheesewright net worth - Wgu business management - Golden age of japanese culture - Topic Paper Essay - Half wave rectifier circuit lab report - Spelling words year 12 - Jands event 408 manual - Week 4 Discussion BIO2071 MICROBIOLOGY LAB - How to cite sentinel city in apa format - Tafe sa murray bridge - Ariel in greek mythology - Benefits of compliance for fitzgerald foods - Signature Assignment - Personal Theoretical Framework for Advanced Practice Nursing - Regular practices of the jains include - Http www idebate org debatabase - Visual basic exercises - Classroom Management Project - Aviation security identification card - Recruiting, Selection, and Training - Speech outline template for kids - Assignment 1: Procedural Law and the Bill of Rights - Tutorial 4 case problem 1 sky dust stories - Corla herald of twilight solo - Rushden and district dog training club - Establishing patterns and trends in the data collected - Al zahra funeral services - 2 assignments due within 24 hours - The pleasure of my company - How did greyhound bridge lancaster get its name - Codes of practice safe work australia - Human biology unit 3 and 4 notes - Tirso de molina don juan pdf - History of America - 5 sources of power in organizations - Open source six sigma - A different scaffold that weighs supports two - Noli me tangere tagalog story - Steps to lighting a bunsen burner - Humanistic and existential personality theories worksheet answers - James sheahan catholic high - Michael jordan's basketball hall of fame enshrinement speech - Generalized Anxiety Disorder - Hr - Absorption costing vs direct costing - Advantages of integrated software applications - Pamela bruner signature system blueprint - Pepsico change management case study - Cms intact medical terminology - 25 minutes 225 megabytes software - Forum: What is health? - Classroom activity sheet nature versus nurture analyzing twin studies answers - University of bath campus map - Chapter 1 an introduction to anatomy and physiology - 2.05 bill of rights - Dissolved co2 in wine - Research paper progress report 800 words + 4 APA refernces + palagrisim report - Inside out questions and answers - Creating a company culture for security design document - Apocalypto movie questions and answers - 579 divided by 2 - Responses - Iom future of nursing report brief - City west water altona - Discussion (min. of 100 words) - Demographics - Respiratory Case Study - Hashimoto's Thyroiditis - How much heat required to raise the temperature of water - Report - How to make a dice program in java - International brand management los angeles - Lesson 9 linear functions unit test answers - Dominion motors and controls case analysis - Loan advice - Customer interviews