معرفی شرکت ها


Battleships-api-0.1.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Play Battleships, includes a basic cli front end
ویژگی مقدار
سیستم عامل -
نام فایل Battleships-api-0.1.2
نام Battleships-api
نسخه کتابخانه 0.1.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Simon Malpas
ایمیل نویسنده 55702741+simalpas@users.noreply.github.com
آدرس صفحه اصلی https://github.com/simalpas/Battleships_project
آدرس اینترنتی https://pypi.org/project/Battleships-api/
مجوز -
Python project to write a cli version of the classic game battleships. Uses classes. Works as an API, called from a seperate file, only imports needed are the references. Started as a project to cement my knowledge of the MVC patten, python classes, OOP and parts of the python standard libaries. Features: human player input to place ships (checks for valid ship placements) auto populate boards for computer players human readable boards separate boards to record moves taken cheat mode to see the computer player's board To use the CLI front end, and play the game, install the module, then simply run `Battleships_api.CLIBattleships` eg. `py -m Battleships.CLIBattleships` This is the list of things that I think will end up with a reasonable working version of battleships. Please add to this list if you think of things that will be useful to the project. - Documentation for the API!! - Unittests - Have ship placement done on an individual basis so that front end can control display of the board. - Refactor winner method so that take shot returns simpler results. Winner should only return the winner not moves made as well. - Highlight last incoming shot when displaying player board in cli - Implement unit tests for public methods - Build a web front end - Use a framework such as Flask to make calls to the api according to GET and POST requests. In the future I plan to rebuild this in c++ for the command line, and possibly Java to run as a back end to a web app.


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl Battleships-api-0.1.2:

    pip install Battleships-api-0.1.2.whl


نصب پکیج tar.gz Battleships-api-0.1.2:

    pip install Battleships-api-0.1.2.tar.gz