Skip to content

My recent programming assignment revamped and tweaked to function fully as an open source, terminal-based battleship game in C

Notifications You must be signed in to change notification settings

ArandomHitman/Battleship-in-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battleship-in-C

My recent programming assignment revamped and tweaked to function fully as an open source, terminal-based battleship game in C. NOTE: I am new to github and github repository creation/management, so while feedback/criticism is allowed, please try to be kind with it :)

Table of Contents

Introduction

Welcome to Battleship-in-C! This project is a terminal-based implementation of the classic Battleship game, written in C. It is designed to be an open-source project that anyone can contribute to and enjoy.

Features

  • Classic Battleship gameplay
  • Single-player mode against a semi-intelligent enemy AI
  • Simple and intuitive terminal interface
  • Easy to understand codebase for learning purposes

Installation

To get started with Battleship-in-C, follow these steps:

  1. Clone the repository:
    git clone https://github.com/yourusername/Battleship-in-C.git
  2. Navigate to the project directory:
    cd Battleship-in-C
  3. Compile the program:
    gcc -o battleship main.c

Usage

To play the game, simply run the compiled C executable:

./battleship

Follow the on-screen instructions to place your ships and start the game.

Contributing

Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request. For major changes, please open an issue first to discuss what you would like to change.

License

TBD

About

My recent programming assignment revamped and tweaked to function fully as an open source, terminal-based battleship game in C

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages