Battleship Python
This is a simple, but super cool Battleship game. Lets Play!!!
Installation
$ pip install py-battleship
Or, you can download the source and
$ git clone git@github.com:rhenter/battleship-python.git
$ cd battleship-python
$ python setup.py install
Add sudo in the beginning if you met problem.
How to Use
To play use py-battleship or python -m battlefield
Documentation
In progress
Contributing
Please send pull requests, very much appreciated.
Fork the repository on GitHub.
Make a branch off of master and commit your changes to it.
Install requirements. pip install -r requirements-dev.txt
Install pre-commit. pre-commit install
Create a Pull Request with your contribution
Changelog
1.3.2
Update Game Image
1.3.1
Bugfix: Add click lib as pinned
1.3.0
Improve UI,
BugFix: Robbot choice
Create Brainiac Class
1.2.1
BugFix: Final and current shot Statistics
1.2.0
BugFix: Adding ship using same coordinates
BugFix: Robbot using repeated coordinates
1.1.3
Add raw image to be seen on Pypi
1.1.2
Change ci to cicleCI
Update Pypi
1.1.1
Remove debug and change travis config
1.1.0
Add tests
Add codecov and travis integration
Update Readme
Remove blink from messages
1.0.0
Change game play to be Multiplayer
Change game to finish when CPU or Player1 wins or use CTRL+C
Refactor language to be central
Create Custom exceptions
Use Python Click to print the board using colors
Use Python Click to improve the main function
0.3.13
BugFix: Exit game with CTRL+C
Move exception treatment to battlefield.py
Create more exceptions
Create a centralized language translator
0.3.12
Improve UI to print statistics
0.3.11
Update Readme
0.3.10
Fix table layout
0.3.9
Refactor Main: Remove unnecessary code
Remove duplicated code
Add translation
0.3.8
Fix: Readme Pypi
0.3.7
Fix: Readme Pypi
0.3.6
Update readme
0.3.5
Use vertical label in upper case
0.3.4
Add more status messages
0.3.3
Fix logical
0.3.1
Add locale folder to Manifest.in
0.3.0
Add Gettext/internationalization support
0.2.0
Bug Fixes
Improve better UI
Fix layout
Change to use letters instead of only numbers
0.1.0 (2019-01-01)
initial release
Metadata
Release files for py-battleship 1.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py-battleship-1.3.2.tar.gz | 12.8 kB | Without provenance | Details for py-battleship-1.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_battleship-1.3.2-py3-none-any.whl | Python 3 | none | any | Details for py_battleship-1.3.2-py3-none-any.whl |
Total release size: 26.2 kB
Release files / py-battleship-1.3.2.tar.gz
| Download URL | py-battleship-1.3.2.tar.gz |
|---|---|
| Size | 12.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
789db18832b1b117f5600331ba243cdceff969a15417d6dd22c4c7c26a097dcd
|
|
BLAKE2b-256 checksum How to use checksums |
f2222726ab3cdc27f881e4168994be49fc5d7c7d62e79c32890da90a0921b300
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
|
Release files / py_battleship-1.3.2-py3-none-any.whl
| Download URL | py_battleship-1.3.2-py3-none-any.whl |
|---|---|
| Size | 13.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cfd25e624bc41d95da08fd60c9ef400a8183c312b8b7e86288abe423de255fa4
|
|
BLAKE2b-256 checksum How to use checksums |
59e05cfdaac70c86c978f2365ad97356fe034ccf74eb43a22e5f8ffa2f229e7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/39.1.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5
|
Security for py-battleship 1.3.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.