kunjgit / GameZone

This open source repository contains collection of games build on basic tech stacks in web development . Use your creativity and build your own game and contribute to the repository by making PR 🎮
https://kunjgit.github.io/GameZone/
Apache License 2.0
565 stars 823 forks source link

[New game]: Cannibal and Missionaries #4566

Closed Rishi-Singhal21 closed 2 months ago

Rishi-Singhal21 commented 3 months ago

🎮 Game Request

Game logic and basic description: Cannibal and Missionaries is an AI based problem and this game is based on that Ai problem. In the missionaries and cannibals game three missionaries and three cannibals must cross a river using a boat which can carry at most two people, under the constraint that, for both banks, if there are missionaries present on the bank, they cannot be outnumbered by cannibals (if they were, the cannibals would eat the missionaries). The boat cannot cross the river by itself with no people on board.

Point down the features

Game points:

  1. The game starts with all missionaries and cannibals on the right side.
  2. Players move missionaries and cannibals to the boat by clicking on them, and then move the boat by clicking on it.
  3. The game checks for invalid states (more cannibals than missionaries on either side) and winning states (all on the left side).

Select program in which you are contributing

GSSoC24

Code of Conduct

kunjgit commented 3 months ago

Hey @Rishi-Singhal21 ! Thank you for raising an issue 💗 You can self assign the issue by commenting /assign in comment 😀 Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀 Don’t Forget to ⭐ our GameZone🎮 Make sure you join our Discord🕹️

Rishi-Singhal21 commented 3 months ago

/assign

kunjgit commented 2 months ago

Hey @Rishi-Singhal21 ! Thank you so much for your raising the issue💗 It’s all yours, you can come anytime again and make some contributions! 🚀 Alone, we can do little, but together we can do so much! 😇