Commit Graph

23 Commits

Author SHA1 Message Date
Ruki592
82d5614cca
Update tic_tac_toe.c
解决 placex() 和 placey() 函数中的输入验证逻辑问题,以避免无限循环
2024-10-25 22:30:44 +08:00
MRio
71a7cf3bc4
feat: added hangman game #967 (#1248)
* Add files via upload

feat: added hangman game #967

* Update hangman.c

* Update hangman.c

* Update hangman.c

* Update hangman.c

* Update hangman.c

* Update hangman.c

Updated so that game instance was held as struct - can include current guess in game_instance too if preferred.

* Update hangman.c

* Update hangman.c

* Add files via upload

Adding test file

* Update hangman.c

* Update hangman.c

Co-authored-by: David Leal <halfpacho@gmail.com>
Co-authored-by: Sharon "Cass" Cassidy <monadicdiffusive@proton.me>
2023-04-30 09:47:09 -06:00
Yaduttam Pareek
9a3d934705
chore(fix): specify the player's turn in naval_battle.c (#1158) 2022-11-24 19:09:35 -06:00
ms3939
741d3f95b3
chore: fix tic_tac_toe.c CodeQL warning (#1133)
e<=8 is not needed as remainder is always less than remainder so e<9(e>=8) is obvious in every case
2022-11-14 13:10:23 -06:00
Navid Salehi
c8eec2fb57
docs: remove redundant space before comma (#920)
Co-authored-by: David Leal <halfpacho@gmail.com>
2021-12-01 11:43:09 -06:00
Ayaan Khan
8e03e35c80
Merge pull request #797 from CarlosZoft/master
feat: added naval_battle, to games.
2021-02-19 11:45:06 +05:30
Carlos
78e40e4874 Update : change type char to int 2021-02-19 03:03:23 -03:00
Carlos
900d24ef71 Delete : unused variable 2021-02-19 02:53:56 -03:00
Carlos
3a04dd3420 Delete : unused variable 2021-02-19 02:52:00 -03:00
Carlos
d756a70611 Delete : unnecessary if 2021-02-19 02:37:22 -03:00
Carlos
5bf3c34f51 Update : common if 2021-02-19 02:34:26 -03:00
Carlos
f47b18cf6d Update : return 2021-02-19 02:26:55 -03:00
Carlos
1733aa9c15 Update : adding keys 2021-02-18 23:11:14 -03:00
Carlos
eb0f5f138b Update : header 2021-02-18 22:56:31 -03:00
Carlos
4cbeebe6a4 Update : Updating details 2021-02-18 03:03:02 -03:00
Carlos
9fd686b619 Update : improving code visualization 2021-02-18 03:00:14 -03:00
Carlos
ef10b322a2 Update : Description of functions 2021-02-18 02:33:38 -03:00
Carlos
e4f0541744 Update : brief description of header 2021-02-18 02:22:29 -03:00
Carlos
9f6e1d1a8d update: translating and adding brief description 2021-02-15 03:45:58 -03:00
Chathura Nimesh
c4e80b8b0a
fix: several bugs on games/tic_tac_toe.c (#771)
* fixed several bugs on tic_tac_toe

* final changes bug fixed

* added requested changes

* fixed changes

* fixed stuff

* fix clang-tidy warnings

* removed unnecessary headers

* resolved some warnings

* fixed warning c4244

* Tiggering CI checks
2021-02-10 19:32:01 +05:30
Carlos
62279c3f13 feat: added naval_battle, to games. 2021-02-05 17:10:18 -03:00
github-actions
56e7291215 formatting filenames 485a6fe60e 2020-07-31 11:01:20 +00:00
Sai Vivek Amirishetty
485a6fe60e
Added a new Tic Tac Toe game made using C (#530)
* Added a new Tic Tac Toe game made using C

* Removed .DS_Store from CGames

* Delete .DS_Store

* Updated Formatting

* Deleted the file

* Updated Code Formatting

* Deleted .DS_Store again

* Updated Comments in the Code

* Updated code information

* Updated Documentation

* Updated Information

* fix filename

* enable cmake for games

* add docs and make better global name

* fix clang errors

* Fixed Segmentation Error

* Update games/tic-tac-toe.c

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

* Updated Function Description

* Update games/tic-tac-toe.c

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>

Co-authored-by: Krishna Vedala <7001608+kvedala@users.noreply.github.com>
2020-07-31 07:00:30 -04:00