Git Product home page Git Product logo

python-battleship's Introduction

Extension Battleship

	The goal of this project is to add things to your program naval battle! 
	to make it more complex and fun to play.

	We present you need to perform:

Make several ships:

	You'll have to be careful because you must make sure not put a ship on 
	another ship on the game board. We also want to make sure you balance 
	the board size to the number of ships so that the game is still 
	challenging and fun to play.

Make ships of different sizes:

	It's more complicated than it looks. All parts of the ship must be 
	placed vertically or horizontally and you have to make sure you do not 
	accidentally put a ship off the board, and also where you placed one can 
	do not put another

Create your own game for one and two players:

	Remember that the player can choose to play alone or with a partner 
	must create an attractive menu and find ways for players wanting to 
	play more and more!

Requirements to Comply:

	• You must use classes for creating the game.
	• Create a menu where you use dictionaries where you show the game instructions and
	  options the user can choose.
	• You must clean the screen each time the player begins his turn and
	  show only active player board. So you can see:
		○ Your board with the positions of their ships and shots have been made.
		○ The board enemy ships sunk or errors made shots.
		○ The status of events that made the user:
			◘ Show username.
			◘ Number of Turns.
			◘ How many ships sunk and few left to sink.

Concepts Required

	1.  Operators.
	2.  I/O.
	3.  Print.
	4.  Integer Variables.
	5.  Boolean Variables.
	6.  String Variables.
	7.  Class and Object.
	8.  If Sentences.
	9.  Recursivity.
	10. While and Ford Loops.
	11. Functions.
	12. Procedures.
	13. Dictionary
	14. List.
	15. Try-cach.
	16. Random Function.
	17. Indentation.
	18. Documentation 

#I/O

####Input Values 1. Takes note validating data entered by the user, be careful because a user can get to make many mistakes. 2. You can use words or numbers for the user to choose their options.

####Output messages 1. Remember to show support you when I performed an action wrong in your application.

Running tests

When inside the project directory, run nosetests in the terminal. Your code should work perfectly.

python-battleship's People

Contributors

abelmon avatar ludwingarcia 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.