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 :)
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.
- Classic Battleship gameplay
- Single-player mode against a semi-intelligent enemy AI
- Simple and intuitive terminal interface
- Easy to understand codebase for learning purposes
To get started with Battleship-in-C, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/Battleship-in-C.git
- Navigate to the project directory:
cd Battleship-in-C
- Compile the program:
gcc -o battleship main.c
To play the game, simply run the compiled C executable:
./battleship
Follow the on-screen instructions to place your ships and start the game.
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.
TBD