[PR #797] [MERGED] feat: added naval_battle, to games. #1314

Open
opened 2026-01-29 15:19:11 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/TheAlgorithms/C/pull/797
Author: @CarlosZoft
Created: 2/5/2021
Status: Merged
Merged: 2/19/2021
Merged by: @ayaankhan98

Base: masterHead: master


📝 Commits (10+)

  • 62279c3 feat: added naval_battle, to games.
  • 9f6e1d1 update: translating and adding brief description
  • 397872b updating DIRECTORY.md
  • e4f0541 Update : brief description of header
  • ef10b32 Update : Description of functions
  • 9fd686b Update : improving code visualization
  • 4cbeebe Update : Updating details
  • 99c5cec Merge github.com:CarlosZoft/C
  • eb0f5f1 Update : header
  • 1733aa9 Update : adding keys

📊 Changes

2 files changed (+947 additions, -0 deletions)

View changed files

📝 DIRECTORY.md (+1 -0)
games/naval_battle.c (+946 -0)

📄 Description

Description of Change

Naval battle done in C

References

https://pt.wikipedia.org/wiki/Batalha_naval_(jogo)

Checklist

  • Added description of change
  • Added file name matches File name guidelines
  • Added tests and example, test must pass
  • Relevant documentation/comments is changed or added
  • PR title follows semantic commit guidelines
  • Search previous suggestions before making a new one, as yours may be a duplicate.
  • I acknowledge that all my contributions will be made under the project's license.

Notes:
Solution in C

output example : https://prnt.sc/yfo4b1


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/TheAlgorithms/C/pull/797 **Author:** [@CarlosZoft](https://github.com/CarlosZoft) **Created:** 2/5/2021 **Status:** ✅ Merged **Merged:** 2/19/2021 **Merged by:** [@ayaankhan98](https://github.com/ayaankhan98) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`62279c3`](https://github.com/TheAlgorithms/C/commit/62279c3f137dffb17ddf5857ff32f174e1db197d) feat: added naval_battle, to games. - [`9f6e1d1`](https://github.com/TheAlgorithms/C/commit/9f6e1d1a8d23f78a774cf1b65f1fd9753d51c9ac) update: translating and adding brief description - [`397872b`](https://github.com/TheAlgorithms/C/commit/397872ba967b5ff81f98c8278b57c08e341502d5) updating DIRECTORY.md - [`e4f0541`](https://github.com/TheAlgorithms/C/commit/e4f0541744586a574c39c9c80d590fc3bb062f74) Update : brief description of header - [`ef10b32`](https://github.com/TheAlgorithms/C/commit/ef10b322a2c29b2a951a605a1eba79e9035953bf) Update : Description of functions - [`9fd686b`](https://github.com/TheAlgorithms/C/commit/9fd686b61917b3f1351e30b5ca09b814f87a90ea) Update : improving code visualization - [`4cbeebe`](https://github.com/TheAlgorithms/C/commit/4cbeebe6a41da0236c18bc0faf4cfe777bc62639) Update : Updating details - [`99c5cec`](https://github.com/TheAlgorithms/C/commit/99c5cec15625d7ef23a5e66dd58e5bc1733e04a0) Merge github.com:CarlosZoft/C - [`eb0f5f1`](https://github.com/TheAlgorithms/C/commit/eb0f5f138bd947f076759822969017f04b07ad2c) Update : header - [`1733aa9`](https://github.com/TheAlgorithms/C/commit/1733aa9c159f364aee043014137587d115b233bb) Update : adding keys ### 📊 Changes **2 files changed** (+947 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `DIRECTORY.md` (+1 -0) ➕ `games/naval_battle.c` (+946 -0) </details> ### 📄 Description #### Description of Change Naval battle done in C <!-- Thank you for your Pull Request. Please provide a description above and review the requirements below. Contributors guide: https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md --> #### References <!-- Add any reference to previous pull-request or issue --> https://pt.wikipedia.org/wiki/Batalha_naval_(jogo) #### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [x] Added description of change - [x] Added file name matches [File name guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#File-Name-guidelines) - [ ] Added tests and example, test must pass - [x] Relevant documentation/comments is changed or added - [x] PR title follows semantic [commit guidelines](https://github.com/TheAlgorithms/C/blob/master/CONTRIBUTING.md#Commit-Guidelines) - [x] Search previous suggestions before making a new one, as yours may be a duplicate. - [x] I acknowledge that all my contributions will be made under the project's license. Notes: <!-- Please add a one-line description for developers or pull request viewers --> Solution in C output example : https://prnt.sc/yfo4b1 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 15:19:11 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/C#1314