Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ayu-ano/cn_miniproject
https://github.com/ayu-ano/cn_miniproject
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ayu-ano/cn_miniproject
- Owner: ayu-ano
- Created: 2024-04-02T14:13:10.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-04-10T08:32:43.000Z (7 months ago)
- Last Synced: 2024-07-08T05:31:59.671Z (4 months ago)
- Language: Python
- Size: 14.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Battleship Game with Python and Pygame
Table of Contents
Installation
- Navigate to the project directory:
cd battleship-game
- Install dependencies:
look at the venv file
- Run the server script:
python battleshipsserver.py
- Run the client script:
python battle_cli.py
Usage
- Start the server and ensure it's running.
- Run the client script to connect to the server.
- Select ship positions in the client GUI.
- Play the game against another player or AI.