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

Threat hunting-- Research paper - If the ka of a monoprotic weak acid is - The art of the commonplace - Cap proj 2 - Low level clouds name - Front office operations case study - E studio 2505f driver - Stp software test plan - The seven faces of philanthropy - Peats ridge pure spring water - Grp pipe installation method statement - Corn starch production cost - Unit cost formula tutor2u - Chemistry n5 past papers - Kinetic energy golf swing - Https ess kroger com oneforce paystub paystub select do - 521 Week 5 Field Activity Paper - Ammonia color of ph paper - Reply to Community Health Discussion on School Health Issues - Client consultation card for spa - Addition subtraction multiplication division - Powerpoint assignment - Which aspect of monopolistic competition gives consumers more choice - Old spice competitors - Peter pan and wendy play script pdf - Baseline Self-Evaluation - Write a one page letter to your 16-year old self - What is strategic quality planning - Saxophone woodwind family instruments - Phamacology - Ati nursing skill template example - Minimum Word report on Market Analysis Research - WEEK II PART1 - Nursing and the family aging DQ week 1 student reply - Dax calder dentist west perth - Deep transverse arrest ppt - Bounce fitness policies and procedures - The diamond necklace climax - Gainmax shelf tech system - Security Architecture and Design- Need two copies of answers - Economic Reading and Reflection - Mona lisa mona lisa men have named you - Chapter 7 give me liberty - Chapter 18 renewable energy test answers - 2006 ap calculus ab free response - Ms groves has trays of paints for students - Week 2 Discussion - Vcaa english language study design - Dr mary garcia holguin san antonio - Discussion - Which contributes more to heroism sacrifice or success - Mrs. morgan has an occipital bone fracture. select the correct classification for this bone. - Review - The damnation of a canyon by edward abbey - Dr mark yates ballarat - In mead's theory of development, the "me" is the "object of action" or the "self as object." - Song for a dark girl - Shenton college book list - Discussion(NCM) - Shadow health abdominal assessment pdf - Interest rate swap volatility - Http opl apa org main aspx - Consecutive interior angles converse - Discussion response - Planning and the marketing mix simulation backpack - Human anatomy mind map - Words with two q's - Self discipline plays an important role in leadership development because - Why doesn t cybersecurity have a naics code - Concrete slab level tolerances - How would you explain the correlation between the amount of corruption in a country and economic development? - What does bfoq stand for - Practical service design blueprint - The colour blind florist - Intercultural communication paper assignment - Aws autoscaling set instance health - Three classes of levers - Elements and principles of art line - Chu i - Tim o brien author biography - Location of decision making in international business - 4 styles of roman wall painting - Seek australia cv template - Summary writing - Jack hartmann the silly pirate song - Where is alice crimmins grace now - What does strongly typed mean - Leadership Research in Aviation - Three quarter plate armor - Like water for chocolate discussion questions and answers - Childhood Obesity with a Focus on Physical Activity - Pbs org nova labs - International Business - Tracking is an assault on liberty summary - Https beap gemini yahoo com - Logistic - Mcgraw hill practice operations module 6 - The mass of oxalic acid crystals - Beery vmi 6th edition - Menschen a2 1 übungen