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

2011 pearson education inc - Muslim Molvi 7340613399 OnLine No 1 FaMOUs VashIKaraN sPecIaLIsT IN Muzaffarnagar - Table of standard reduction potentials - Courage in shawshank redemption - Utilizing pharmacy automation robots quizlet cvs - Pmos fabrication process steps - Com 201 - Definition of professional skepticism - Study Problem - Capsim how to increase days of working capital - Anna ikea online sales agent - Statistics 101 exam questions - Royal dick school of veterinary studies - The statement "i've got to tell you something" is an example of __________. - Introduction accounting assignment - Characters of 10 things i hate about you - What does radley balko claim in this essay - Discussion Emerging threats - Comprehensive problem 2 palisade creek co - Hangman game in c++ using array - Is electrolysis of water a chemical change - Spartan cheese stealing ritual - Should you do if your lender rejects your loan application - Bbc bitesize series and parallel circuits - Worst fit algorithm in os - What is the best class help service for students who need academic support? - Learning Theories & applications - Management finance - Community living and respite - Critical Appraisal of Jean Watson's Theory of Human caring - Computer science illuminated test bank - Words that rhyme with ghetto - Forest development the indian way - Costco wholesale corporation case study - Bluebeam revu measure tool - Icao safety oversight manual - Words to santa lucia - Nature and scope of production management - Assignment 03: Research Topic - Human Research Paper - Farewell to manzanar short summary - ASSIGNMENT - Last rodeo presley phillips lyrics - Holland's theory of vocational personalities in work environment - Week 5 Discussion - Digital disconnect summary - Week 12 assignment - ACC561 Week 3 Financial Statement Analysis and Decision Making Activity - Grand canyon university children's functional health pattern assessment - Assssssm - Baker c 2006 foundations of bilingual education and bilingualism - Trinity mature student application - Positive edge detector circuit - What is api testing guru99 - Lyrics firework katy perry meaning - Marine corps leaders use coaching to scrutinize their subordinates - Map of the world editable - Public service announcement brochures - You decide to sell short 100 shares - Examples reflective writing using gibbs cycle - Specific security mechanism - Statistics - Fingerprint basics science spot worksheet answers - Assignment Question - 5e lesson plan examples math - Iodine clock reaction lab report - Python coding help - Www stat ufl edu aa intro cda appendix html - When forming the disaccharide maltose from two glucose monosaccharides: - Capsim analysis report - Sunbelt rentals ottawa - Which of the following would not be a discovery technique - Week 5#1 - Reheapdown - Six components of macro environment - Answer questions after watching videos - Qsr drive thru study 2017 - Applied managerial statistics course project - Essay about education should be free for everyone - Big things come in small packages summary - What element has 4 neutrons and 3 protons - Courses.lumenlearning - Paper Preview - Chapter Instructional Summary - 60 minutes stories list - Biochemical engineering an introductory textbook - Aero 300 fuel cap - Bikini body guide meal plan pdf - The alamo drafthouse case study solution - Pergola council approval logan - Jason robert bourque and daniel george mcallister - Megan sanders charity profits app - Neurological research brochure psy 340 - Theory of bureaucratic caring - New england college executive mba - Portal frame span tables - Mirror box experiment video - Todd harbaugh age - Leadership Development Plan - Precipitating calcium carbonate lab report