Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ayu-ano/cn_miniproject


https://github.com/ayu-ano/cn_miniproject

Last synced: 4 days ago
JSON representation

Awesome Lists containing this project

README

        

Battleship Game with Python and Pygame

Table of Contents



  1. Installation

  2. Usage

Installation



  1. Navigate to the project directory:

  2. cd battleship-game
  3. Install dependencies:

  4. look at the venv file
  5. Run the server script:

  6. python battleshipsserver.py
  7. Run the client script:

  8. python battle_cli.py

Usage



  1. Start the server and ensure it's running.

  2. Run the client script to connect to the server.

  3. Select ship positions in the client GUI.

  4. Play the game against another player or AI.